I stumbled upon a freshly written ioping utility, it was written by the Russian programmer
koct9i , the user
k001 designed the
rpm for fedora 14 .
ioping on google code .
A
Grohman user compiled an
ebuild , and
LupineDreamer made a
debug package i386 and
x64 from
magzimko .
This case looks like this:
$ ioping -i 0.2 -c 6 -s 1M -S 10M / tmp
1048576 bytes from / tmp (ext3 / dev / mapper / VolGroup00-LogVol00): request = 1 time = 0.7 ms
1048576 bytes from / tmp (ext3 / dev / mapper / VolGroup00-LogVol00): request = 2 time = 191.3 ms
1048576 bytes from / tmp (ext3 / dev / mapper / VolGroup00-LogVol00): request = 3 time = 18.4 ms
1048576 bytes from / tmp (ext3 / dev / mapper / VolGroup00-LogVol00): request = 4 time = 12.4 ms
1048576 bytes from / tmp (ext3 / dev / mapper / VolGroup00-LogVol00): request = 5 time = 8.4 ms
1048576 bytes from / tmp (ext3 / dev / mapper / VolGroup00-LogVol00): request = 6 time = 8.2 ms
Usage: ioping [-LCDhq] [-c count] [-w deadline] [-p period] [-i interval]
[-s size] [-S wsize] [-o offset] device | file | directory
')
-c stop after requests
-w stop after -p print raw statistics for every requests
-i interval between requests (1s)
-s request size (4k)
-S working set size (1m for dirs, full range for others)
-o in file offset
-L use sequential operations rather than random
-C use cached-io
-D use direct-io
-h display this message and exit
-q suppress human-readable output
Thanks to everyone who contributed to open source.