Need support about value IOPS Which FIO measured
Dear
I'm a IT. I use FIO test performance my Hard disk on system of my company. I searched about IOPS of hard disk on internet. And see that:
Spin Speed Interface Average IOPS
5,900 rpm SATA 47
7,200 rpm SATA 75
10,000 rpm SATA / SAS 150
15,000 rpm SAS 175
So, when i use FIO measure my hardisk (western 500GB
I showed my result: IOPS read=34271, IOPS write=1198. This my result so big. I can't understand value IOPS of Fio.
I hope receiver your reply. Thanks you so much.
testrw: (g=0): rw=rw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=8 fio 1.59
Starting 1 process
testrw: Laying out IO file(s) (1 file(s) / 100MB)
testrw: (groupid=0, jobs=1): err= 0: pid=8565
read : io=77180KB, bw=137087KB/s, iops=34271 , runt= 563msec
slat (usec): min=1 , max=386 , avg= 3.57, stdev=15.60
clat (usec): min=4 , max=1453 , avg=155.63, stdev=126.97
lat (usec): min=5 , max=1456 , avg=159.35, stdev=130.95
bw (KB/s) : min=135464, max=135464, per=98.82%, avg=135464.00, stdev= 0.00
write: io=25220KB, bw=44796KB/s, iops=11198 , runt= 563msec
slat (usec): min=35 , max=612 , avg=69.98, stdev=54.35
clat (usec): min=15 , max=1006 , avg=148.85, stdev=117.44
lat (usec): min=51 , max=1462 , avg=220.05, stdev=135.48
bw (KB/s) : min=44208, max=44208, per=98.69%, avg=44208.00, stdev= 0.00Quoted 23 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nguyen Viet Dung
Sent: Friday, April 03, 2015 6:43 AM
To: [email protected]
Subject: Need support about value IOPS Which FIO measuredDear
I'm a IT. I use FIO test performance my Hard disk on system of my company. I searched about IOPS of hard disk on internet. And see that:
Spin Speed Interface Average IOPS
5,900 rpm SATA 47
7,200 rpm SATA 75
10,000 rpm SATA / SAS 150
15,000 rpm SAS 175So, when i use FIO measure my hardisk (western 500GB
I showed my result: IOPS read=34271, IOPS write=1198. This my result so big.
I can't understand value IOPS of Fio.
Quoted 7 lines
I hope receiver your reply. Thanks you so much.
testrw: (g=0): rw=rw, bs=4K-4K/4K-4K, ioengine=libaio, iodepth=8 fio 1.59
Starting 1 process
testrw: Laying out IO file(s) (1 file(s) / 100MB)
Using a file means you're going through a filesystem and the page cache. Using such a tiny file ensures that all writes are just going to system memory, and reads are getting cache hits and coming from system memory.
Quoted 5 lines
testrw: (groupid=0, jobs=1): err= 0: pid=8565
read : io=77180KB, bw=137087KB/s, iops=34271 , runt= 563msecslat (usec): min=1 , max=386 , avg= 3.57, stdev=15.60 clat (usec): min=4 , max=1453 , avg=155.63, stdev=126.97 lat (usec): min=5 , max=1456 , avg=159.35, stdev=130.95
The latency numbers also show this isn't accessing the HDD; HDD seek times are in ms, not us.
Use the block device (e.g., /dev/sda) and access the full capacity of the drive to see the real HDD results.
Also, if the HDD has its own write cache enabled, you'll get distorted results on writes.
Quoted 15 lines
-----Original Message-----
From: Nguyen Viet Dung [mailto:[email protected]]
Sent: Friday, April 03, 2015 9:20 AM
To: Elliott, Robert (Server Storage)
Cc: [email protected]
Subject: Re: Need support about value IOPS Which FIO measuredDear Elliot, Robert
Thanks so much yours reply. I'm not control with FIO.
So, can you suggest for my, how can i test hard disk by fio with not buffer cache.
I sent you my command: can you show for me that fail in my command?
Quoted 4 lines
sudo fio --output=/media/data/rw4k.result --ioengine=libaio -- direct=0 --invalidate=1 --gtod_reduce=0 --name=testrw --filename=testrw --directory=/media/data --bs=4k --iodepth=8 --size=100M --readwrite=rw - -rwmixread=75
direct=1 will bypass the page cache, ensuring I/Os really go to the drive.
size=100M is too small. If you're testing a HDD, it won't be seeking very far, and most or all the reads could easily be coming out of the drive's write cache (which could be 64 to 128 MiB). Use programs like hdparm, sdparm, and tools in the sg3_utils package to disable the drive write cache.
A larger iodepth might perform better. SATA protocol supports 32, for example. SAS drives support even larger numbers.
---
Robert Elliott, HP Server Storage
Quoted 9 lines
-----Original Message-----
From: Nguyen Viet Dung [mailto:[email protected]]
Sent: Friday, April 10, 2015 2:23 AM
To: Elliott, Robert (Server Storage)
Cc: [email protected]
Subject: Re: Need support about value IOPS Which FIO measured
Quoted 12 lines
Dear Elliot, Robert
Thanks you so much for your suggest. That result which i did with fio follow your suggest is good.
So, i have some parametter on result of fio which i don't understand. e.g:
Seek time on result of fio
Latency time
Which i can measure performance of my harddisk
I sent for a result which i measure on " 500GB RE4 WD Sata/64MB WD5003ABYX-01WERA1" (RPM 7200k, support 3.5Gbp/s)
IOPS write 24, read=35. (i think it very low). So do you think about it. I hope your reply. Thanks
A few suggestions:
Quoted 9 lines
Run status group 0 (all jobs):
READ: io=500KB, aggrb=254KB/s, minb=120KB/s, maxb=140KB/s,mint=1885msec, maxt=1962msec
WRITE: io=1128KB, aggrb=593KB/s, minb=97KB/s, maxb=496KB/s,
mint=1885msec, maxt=1901msecDisk stats (read/write):
sda: ios=108/280, merge=0/0, ticks=55876/58507, in_queue=144753,
util=94.47%
You should run the test a lot longer... this test run only transferred 500+1128 KiB (~ 1 MiB).
Quoted 3 lines
lat (usec) : 500=4.46%, 750=1.79%, 1000=2.68%
lat (msec) : 2=4.46%, 10=1.79%, 20=0.89%, 50=8.04%, 100=9.82% lat (msec) : 250=9.82%, 500=9.82%, 750=16.96%, 1000=0.89%, 2000=28.57%
What those mean is:
* 4+1+2 = 7% of the time, the latency was 1 ms or less.
These are probably read cache hits
* ...
* 8+9+9+9+16 = 51% of the time, the latencies ranged from 50 ms to 750 ms. These are normal accesses.
* 28% of the time, the latencies were 1 to 2 s
These are either from the drive doing some background activity, or your queue depth is too high, the I/Os are just stacking up somewhere, or even that the drive was spundown and took a while to resume.
All of those suggest iodepth=32 is too high for this drive; you should be seeing single or double digit ms latencies dominate.
Results may change with a longer run time.