On Sat, Jan 17, 2009 at 9:04 PM, Thomas Garner <thomas...@gmail.com> wrote:
> Are you looking for something like:
>
> kstat -c disk sd:::
>
> Someone can correct me if I'm wrong, but I think the documentation for
> the above should be at:
>
> http://src.opensolaris.org/source/xref/zfs-crypto/gate/usr/src/uts/common/avs/ns/sdbc/cache_kstats_readme.txt
>
> I'm not sure about the file i/o vs disk i/o, but would love to hear
> how to measure it.

See fsstat, which is based upon kstats. One of the thing I want to do with
JKstat is correlate filesystem operations with underlying disk operations. The
hard part is actually connecting a filesystem to the underlying drives. That's
harder with zfs as the disk I/O is mapped to a pool which has multiple
filesystems.

(The same is true with soft partitions under SVM, but with zfs sharing is the
rule rather than the exception.)

I would like to see the pool statistics exposed as kstats, though, which would
make it easier to analyse them with existing tools.

-- 
-Peter Tribble
http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to