Flexible I/O Tester development
 help / color / mirror / Atom feed
* Again on IOPS higher than expected in randwrite 4k
@ 2011-01-02  4:12 Spelic
  2011-01-03 11:05 ` Jens Axboe
  0 siblings, 1 reply; 5+ messages in thread
From: Spelic @ 2011-01-02  4:12 UTC (permalink / raw)
  To: fio

Hello, I just subscribed, I noticed that some 20 days ago there was a 
thread on "IOPS higher than expected on randwrite, direct=1 tests" on 
this ML.
It's curious because I subscribed to report basically the same thing.

With Hitachi 7k1000 HDS721010KLA330 (maybe the same drives as Sebastian) 
I am seeing the same problem of IOPS too high with FIO, up to 300 IOPS 
per disk (up to 500 per disk with storsave=performance on my 3ware but 
that's probably cheating). I am doing 4k random writes.

I followed the discussion, I don't really agree with the point at the 
end of the discussion, so I'd like to bump this thread again.

My impression is that these drives do not honor the flush or FUA. 
(Directio uses flush or FUA right? you can be sure that data is on the 
platters after directio right? Anyway I also set fsync=1 and nothing 
changed)

I think that on 4k random writes with 1 thread, iodepth=1, NCQ disabled 
via echo 1 > queue_depth, there really should be no reason for IOPS to 
be higher when write cache enabled compared to write cache disabled (in 
fact 300 IOPS vs 70 IOPS in my tests).  What do you think?

I think the drive returns immediately saying "yes, I did that, data is 
on the platters" and instead data is on the write cache, so that the 
drives it can write it on the platters in an optimized way doing both 
elevator-like and ncq-like optimizations, which clearly raises IOPS a 
lot but is not safe.

Me too I can obtain 300 IOPS only with short seeks, but please consider:
- due to rotational latency, with a 7200 RPM, sequential, ncq disabled, 
fsync=1, drive IOPS can never be higher than 240, not by a tiny bit, 
even on short seeks, and it will actually be much lower as that's ideal 
and doesn't take into consideration the seek time, data transfer time 
via SAS cables, or any overhead of the drive itself
- I don't see it strange that there is difference in IOPS between short 
seeks tests and long seeks tests even with my assumption of fake 
flush/FUA. The drive still reorders writes with elevator-like and 
ncq-like optimizations, but every write takes more due to the seeks.

I'd like to know how it goes with other brands of drives, possibly 
"raid-class enterprise-class drives"?

Thanks for your opinions

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-01-05 11:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-02  4:12 Again on IOPS higher than expected in randwrite 4k Spelic
2011-01-03 11:05 ` Jens Axboe
2011-01-03 11:26   ` Spelic
2011-01-03 14:10     ` Jens Axboe
2011-01-05 11:45       ` Spelic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox