Hi,
Does anyone know the difference between zpool iostat and iostat?
dd if=/dev/zero of=/test/test1/trash count=1 bs=1024k;sync
pool only shows 236K IO and 13 write ops. whereas iostat shows a correctly meg
of activity.
zpool iostat -v test 5
capacity operations bandwidth
pool used avail read write read write
-------------------------------------- ----- ----- ----- ----- ----- -----
test 1.14M 100G 0 13 0 236K
c8t60060E800475F500000075F500000525d0 182K 25.0G 0 4 0
36.8K
c8t60060E800475F500000075F500000526d0 428K 25.0G 0 4 0
87.7K
c8t60060E800475F500000075F500000540d0 558K 50.0G 0 4 0
111K
-------------------------------------- ----- ----- ----- ----- ----- -----
iostat -xnz [devices] 5
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
2.4 6.0 6.8 88.2 0.0 0.0 0.0 1.0 0 0
c8t60060E800475F500000075F500000540d0
2.4 5.4 6.8 37.0 0.0 0.0 0.0 0.9 0 0
c8t60060E800475F500000075F500000526d0
2.4 5.0 6.8 112.0 0.0 0.0 0.0 0.9 0 0
c8t60060E800475F500000075F500000525d0
dtrace also concurs with iostat
device bytes IOPS
====== ==== === /devices/scsi_vhci/ssd at
g60060e800475f500000075f500000525:a 224416 35
/devices/scsi_vhci/ssd at g60060e800475f500000075f500000526:a 486560
37
/devices/scsi_vhci/ssd at g60060e800475f500000075f500000540:a 608416
33
Thanks
--
This message posted from opensolaris.org
On 06/20/09 11:14, tester wrote:> Hi, > > Does anyone know the difference between zpool iostat and iostat? > > > dd if=/dev/zero of=/test/test1/trash count=1 bs=1024k;sync > > pool only shows 236K IO and 13 write ops. whereas iostat shows a correctly meg of activity.The zfs numbers are per second as well. So 236K * 5 = 1180K "zpool iostat -v test 1" would make this clearer. The iostat output below also shows 237K (88+37+112) being written per second. I''m not sure why any reads occurred though. When I did a quick experiment there were no reads. Enabling compression gives much better numbers when writing zeros! Neil.> > zpool iostat -v test 5 > > capacity operations bandwidth > pool used avail read write read write > -------------------------------------- ----- ----- ----- ----- ----- ----- > test 1.14M 100G 0 13 0 236K > c8t60060E800475F500000075F500000525d0 182K 25.0G 0 4 0 36.8K > c8t60060E800475F500000075F500000526d0 428K 25.0G 0 4 0 87.7K > c8t60060E800475F500000075F500000540d0 558K 50.0G 0 4 0 111K > -------------------------------------- ----- ----- ----- ----- ----- ----- > > iostat -xnz [devices] 5 > > extended device statistics > r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device > 2.4 6.0 6.8 88.2 0.0 0.0 0.0 1.0 0 0 c8t60060E800475F500000075F500000540d0 > 2.4 5.4 6.8 37.0 0.0 0.0 0.0 0.9 0 0 c8t60060E800475F500000075F500000526d0 > 2.4 5.0 6.8 112.0 0.0 0.0 0.0 0.9 0 0 c8t60060E800475F500000075F500000525d0 > > dtrace also concurs with iostat > > device bytes IOPS > ====== ==== ===> /devices/scsi_vhci/ssd at g60060e800475f500000075f500000525:a 224416 35 > /devices/scsi_vhci/ssd at g60060e800475f500000075f500000526:a 486560 37 > /devices/scsi_vhci/ssd at g60060e800475f500000075f500000540:a 608416 33 > > Thanks
Neil, Thanks. That makes sense. May be man page for zpool can say that it is a rate as iostat man page does. I think reads are from the zpool iostat command itself. zpool iostat doesn''t capture that. Thanks -- This message posted from opensolaris.org