iostat -k units are wrong when using large blocks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysstat (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: sysstat
iostat guesses that block are 512 bytes, but with large ext3 filesystems we use 4kB (or more)
=> iostat -k is completely false
$ tune2fs -l /dev/sdb1| grep "Block size"
Block size: 4096
$ iostat #(report in blocks/s)
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sdb 23,14 518,67 411,56 2463660668 1954925512
$ iostat -k #(report _should_ be in kBytes/s)
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
sdb 23,14 259,33 205,79 1231830758 977507292
=======
$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04
$ apt-cache policy sysstat
sysstat:
Installé : 8.0.3-1ubuntu1
Candidat : 8.0.3-1ubuntu1
Table de version :
*** 8.0.3-1ubuntu1 0
500 http://
100 /var/lib/
=======
Confirmed in Intrepid