linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* WDC WD20EARS and 4k sector size
@ 2011-01-25  3:04 Herbert Poetzl
  2011-01-25  3:15 ` Martin K. Petersen
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Herbert Poetzl @ 2011-01-25  3:04 UTC (permalink / raw)
  To: linux-ide


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 ...

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

end of thread, other threads:[~2011-01-25 10:01 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-25  3:04 WDC WD20EARS and 4k sector size Herbert Poetzl
2011-01-25  3:15 ` 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

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).