From: Herbert Poetzl <herbert@13thfloor.at>
To: linux-ide@vger.kernel.org
Subject: WDC WD20EARS and 4k sector size
Date: Tue, 25 Jan 2011 04:04:10 +0100 [thread overview]
Message-ID: <20110125030410.GA24024@MAIL.13thfloor.at> (raw)
I recently bought the WDC WD20EARS-00MVWB0 because it
was really cheap for a drive with 64 MB cache, and I
wanted to try out a 4k sector size disk ...
Now the drive performs quite well, is rather silent
and doesn't use much power or produce much heat, but
at first I didn't find anything in Linux indicating
that this drive would actually use 4k sectors.
To shorten things, I asked around on IRC, had a chat
with some other folks, found a jumper description on
the WD site talking about an 'Advanced Format' jumper
and finally contacted WD in a lengthy email thread.
The results of all this are:
- the drive doesn't report 4k sectors at all, not
even as physical sector size.
- the 'Advanced Format' jumper shifts access to the
the drive by one sector.
I did some tests to verify that, and I can confirm
the behaviour of the jumper in question with certain
benchmark tests (using dm and bonnie++) with and
without the jumper in place.
My question now is, how can I tell the kernel that
this drive actually has 4k physical sectors and that
it would be a smart thing to send requests in some
kind of 4k I/O chunks?
Many thanks in advance,
Herbert
PS: if somebody is interested in the tests done to
verify the jumper, please let me know ...
next reply other threads:[~2011-01-25 3:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-25 3:04 Herbert Poetzl [this message]
2011-01-25 3:15 ` WDC WD20EARS and 4k sector size Martin K. Petersen
2011-01-25 3:32 ` Herbert Poetzl
2011-01-25 3:40 ` Greg Freemyer
2011-01-25 3:52 ` Martin K. Petersen
2011-01-25 4:23 ` Mark Lord
2011-01-25 8:26 ` Michael Tokarev
2011-01-25 10:01 ` Tejun Heo
2011-01-25 4:09 ` Jeff Garzik
2011-01-25 4:21 ` Mark Lord
2011-01-25 4:34 ` Herbert Poetzl
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=20110125030410.GA24024@MAIL.13thfloor.at \
--to=herbert@13thfloor.at \
--cc=linux-ide@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;
as well as URLs for NNTP newsgroup(s).