2

I am setting up a Debian-based host with a bunch of KVM-based virtual machines. Images of these VMs reside on a ZFS volume (I use ZFS-FUSE 0.6.9). Performance results seem to be very different from my another system, based on CentOS 6. I am concerned that Debian implementation of ZFS-FUSE ignores settings from /etc/zfs/zfsrc. How can I monitor actual state of ZFS-FUSE, say, ARC cache usage, vdev caches usage, etc?

Alex
  • 7,789
  • 4
  • 36
  • 51
  • Does [this](http://wiki.freebsd.org/ZFSTuningGuide) help? – quanta Oct 06 '11 at 06:51
  • @quanta No, because ZFS is implemented in kernel on FreeBSD, I do not have such parameters in Linux – Alex Oct 06 '11 at 11:10
  • Interesting question, I'm not sure how to check that on zfs-fuse. An alternate way to configure it on Debian is to set DAEMON_OPTS in /etc/default/zfs-fuse. – sciurus Oct 07 '11 at 18:22
  • I suspect this doesn't help much, but Debian now has kFreeBSD kernel as an alternative to Linux kernel. – chronos Oct 08 '11 at 18:16
  • Are both systems similar (memory/disk)? Are you using different features (compression/deduplication)? You can also try compiling it from source, see http://zfs-fuse.net/ and the alternative repositories it mentions. – w00t Oct 11 '11 at 04:48

1 Answers1

2

ZFS-Fuse normally mounts the kstat filesystem on /zfs-kstat, see this announcement. With it, you should be able to access all kstat values (mounting it can fail though).

You can monitor ARC usage and some interesting stats through the arcstat.pl script.

w00t
  • 615
  • 8
  • 14