From: Spelic <spelic@shiftmail.org>
To: fio@vger.kernel.org
Subject: Again on IOPS higher than expected in randwrite 4k
Date: Sun, 02 Jan 2011 05:12:11 +0100 [thread overview]
Message-ID: <4D1FFB1B.1010000@shiftmail.org> (raw)
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
next reply other threads:[~2011-01-02 4:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-02 4:12 Spelic [this message]
2011-01-03 11:05 ` Again on IOPS higher than expected in randwrite 4k Jens Axboe
2011-01-03 11:26 ` Spelic
2011-01-03 14:10 ` Jens Axboe
2011-01-05 11:45 ` Spelic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D1FFB1B.1010000@shiftmail.org \
--to=spelic@shiftmail.org \
--cc=fio@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox