Re: Slow disks.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Tokarev
Date: Friday, December 24, 2010 - 8:24 am

24.12.2010 16:01, Krzysztof Halasa wrote:

Oh..  The famous EARS drives.  I missed this info in the
start of the thread.

Now, after this info, the whole thread is quite moot.

The thing is, for these WD*EARS drivers, it is _vital_ to get
proper alignment of all partitions and operations.  They've
4Kb sectors physically but report 512bytes sectors to the OS.
It is _essential_ to ensure all partitions are aligned to the
4Kb sectors.  Be it LVM, raid-something, etc - each filesystem
must start at a 4kb boundary at least, or else you'll see
_dramatic_ write speed problems.

So.. check the whole storage stack and ensure proper alignment
everywhere.  In particular, check that your partitions are not
aligned to 63 sectors (512b), or starts at N+1 sector - the
most problematic mode for these drives.

And before anyone asks, no, these drives are actually very
good.  With proper alignment it works very fast for both
reads and writes, despite it being 5400RPM.  I have a 2Tb
drive from these series (WD20EARS) - despite numerous claims
that it does not work or works very slow with small files,
it's quite fast, faster than many prev-gen 7200 drives.


Yes, Sil 3114 does not support NCQ.  But these drives does not
have good NCQ implementation either - apparently the Read-Modify-Write
logic has eaten NCQ which were traditionally good in recent WD
drives.


There's a utility (ms-dos based) to disable this feature for wd
ears drives, on their website.


No, this is about TLER.  The "desktop" drives like this will try
re-read data in case of error, and if that does not work the
raid code will most likely declare the drive's dead and kick
it off the array.  Drives which are supposed to work in RAID
config has configurable timeouts/retries, so that the RAID
code will be able to take care of read errors.

/mjt
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Slow disks. , Rogier Wolff, (Mon Dec 20, 7:15 am)
Re: Slow disks., Bruno Prémont, (Mon Dec 20, 11:06 am)
Re: Slow disks., Greg Freemyer, (Mon Dec 20, 11:32 am)
Re: Slow disks., Jeff Moyer, (Mon Dec 20, 12:09 pm)
Re: Slow disks., Rogier Wolff, (Wed Dec 22, 3:43 am)
Re: Slow disks., Greg Freemyer, (Wed Dec 22, 8:59 am)
Re: Slow disks., Jeff Moyer, (Wed Dec 22, 9:27 am)
Re: Slow disks., David Rees, (Wed Dec 22, 1:52 pm)
Re: Slow disks., Rogier Wolff, (Wed Dec 22, 3:44 pm)
Re: Slow disks., Rogier Wolff, (Wed Dec 22, 3:46 pm)
Re: Slow disks., David Rees, (Wed Dec 22, 4:13 pm)
Re: Slow disks., Jeff Moyer, (Thu Dec 23, 7:40 am)
Re: Slow disks., Rogier Wolff, (Thu Dec 23, 10:01 am)
Re: Slow disks., Jaap Crezee, (Thu Dec 23, 10:05 am)
Re: Slow disks., Jeff Moyer, (Thu Dec 23, 10:47 am)
Re: Slow disks., Greg Freemyer, (Thu Dec 23, 11:51 am)
Re: Slow disks., Jaap Crezee, (Thu Dec 23, 12:10 pm)
Re: Slow disks., Greg Freemyer, (Thu Dec 23, 3:09 pm)
Re: Slow disks., Rogier Wolff, (Fri Dec 24, 3:45 am)
Re: Slow disks., Rogier Wolff, (Fri Dec 24, 4:40 am)
Re: Slow disks., Krzysztof Halasa, (Fri Dec 24, 6:01 am)
Re: Slow disks., Michael Tokarev, (Fri Dec 24, 8:24 am)
Re: Slow disks., Krzysztof Halasa, (Fri Dec 24, 1:58 pm)
Re: Slow disks., Rogier Wolff, (Sat Dec 25, 5:14 am)
Re: Slow disks., Mikael Abrahamsson, (Sat Dec 25, 5:19 am)
Re: Slow disks., Jaap Crezee, (Sat Dec 25, 11:12 am)
Re: Slow disks., Michael Tokarev, (Sat Dec 25, 2:28 pm)
Re: Slow disks., Rogier Wolff, (Sun Dec 26, 2:40 pm)
Re: Slow disks., Niels, (Sun Dec 26, 3:07 pm)
Re: Slow disks., Greg Freemyer, (Sun Dec 26, 4:05 pm)
Re: Slow disks., Greg Freemyer, (Sun Dec 26, 4:17 pm)
Re: Slow disks., Mark Knecht, (Sun Dec 26, 4:38 pm)
Re: Slow disks., Rogier Wolff, (Sun Dec 26, 4:49 pm)
Re: Slow disks., Rogier Wolff, (Sun Dec 26, 5:27 pm)
Re: Slow disks., Rogier Wolff, (Sun Dec 26, 5:34 pm)
Re: Slow disks., Mark Knecht, (Sun Dec 26, 8:12 pm)
Re: Slow disks., Tejun Heo, (Mon Dec 27, 3:56 am)
Re: Slow disks., Krzysztof Halasa, (Mon Dec 27, 11:20 am)