Trond Norbye
2006-07-20 07:58:31 UTC
I have been using iosoop script (see http://www.opensolaris.org/os/community/dtrace/scripts/) written by Brendan Gregg to look at the IO operations of my application. When I was running my test-program on a UFS filesystem I could see both read and write operations like:
UID PID D BLOCK SIZE COMM PATHNAME
203803 4436 R 6016592 16384 diskio <none>
203803 4436 W 3448432 16384 diskio <none>
203803 4436 R 5510832 16384 diskio <none>
203803 4436 W 4652608 16384 diskio <none>
But when I'm running my program on a ZFS file-system, I can only see the read io transfers:
UID PID D BLOCK SIZE COMM PATHNAME
203803 4445 R 2647296 131072 diskio <none>
203803 4445 R 1351168 131072 diskio <none>
So how can I get the same information from a ZFS file-system?
The reason I'm asking is because I'm trying to see how IO operations behave on the different filesystems.
Any help / pointers would be appreciated.
Trond
This message posted from opensolaris.org
UID PID D BLOCK SIZE COMM PATHNAME
203803 4436 R 6016592 16384 diskio <none>
203803 4436 W 3448432 16384 diskio <none>
203803 4436 R 5510832 16384 diskio <none>
203803 4436 W 4652608 16384 diskio <none>
But when I'm running my program on a ZFS file-system, I can only see the read io transfers:
UID PID D BLOCK SIZE COMM PATHNAME
203803 4445 R 2647296 131072 diskio <none>
203803 4445 R 1351168 131072 diskio <none>
So how can I get the same information from a ZFS file-system?
The reason I'm asking is because I'm trying to see how IO operations behave on the different filesystems.
Any help / pointers would be appreciated.
Trond
This message posted from opensolaris.org