
On Fri, 4 May 2012, Peter Ross wrote:
On Thu, 3 May 2012, Tim Connors wrote:
I don't suppose anyone has ported arc_summary and zilstat to read the linux spl structures?
http://constantin.glez.de/blog/2011/02/frequently-asked-questions-about-flas...
I suspect I'd benefit greatly from l2arc in my usage (not so much zil). But I don't wanna go out and buy this yet, until I *know* it will help improve upon the 40iops I currently suffer from :)
Under FreeBSD I have a lot of sysctls, see "sysctl -a | grep zfs"
Below the parts from a running machine that may interest you.
Can't you find similar sysctls or /proc/sys/whatever entries under zfsonlinux?
I have to admit I don't look at them too much at the moment because the systems work without any problems, AFAIK (and more generic nagios baed monitoring tells me).
There is /proc/spl/kstat/zfs and /proc/spl/kmem/slab but they are missing a lot of the entries that various scripts require (eg, various flavours of nagios check_zfs scripts, the scripts above, etc). A lot of entries in common with just some simple translation, but enough missing that they don't work. Specifically, to work out whether I will benefit from a large L2ARC cache, I'm probably going to want to interpret: # cat arcstats | grep ghost mru_ghost_hits 4 6473894 mfu_ghost_hits 4 27021711 mru_ghost_size 4 130259968 mru_ghost_evict_data 4 0 mru_ghost_evict_metadata 4 130259968 mfu_ghost_size 4 130259968 mfu_ghost_evict_data 4 0 mfu_ghost_evict_metadata 4 130259968 4G of ram (not expandable - a mini 4 port thecus NAS running debian (because the hacked up scripts that thecus ship in their embedded OS are seriously dodgy)). -- Tim Connors