Re: Slow disks.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rogier Wolff
Date: Saturday, December 25, 2010 - 5:14 am

On Fri, Dec 24, 2010 at 06:24:38PM +0300, Michael Tokarev wrote:

No it is not. 

We're seeing a performance issue, about 10 fold beyond what is to be
expected of unaligned accesses.
 

Out of four partitions on the drive, two are aligned, two are not. 

The two that are not are the boot partition (/boot) which never gets
written to. The other one is the swap partition. (the machine has
enough ram to function perfectly without swap. We only noticed a
missing "mkswap" on the swap partition after it had been running
without swap for weeks, while we were diagnosing the performance
problems. So, apart from the fact that this was "lucky" to come out
this way, it /is/ correctly configured.


The important (used ones) ARE correctly aligned. (I surely hope that
RAID5 doesn't grab the first 1k and alings everything else to (4n +
1)k ...)


That's WDs story. Under Linux the driver will timeout after some
thirty seconds, reset the drive and retry a few times (again
triggering the long retries sequence, but not letting it finish), and
finally report an error. When an error is reported Linux-raid will
kick the drive out of the array and work in degraded mode from then
on.

If you'd use a RAID drive that DOES report error quickly, you'll be on
your way maybe 113 seconds quicker, but still with a degraded array.

	Roger. 

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
**    Delftechpark 26 2628 XH  Delft, The Netherlands. KVK: 27239233    **
*-- BitWizard writes Linux device drivers for any device you may have! --*
Q: It doesn't work. A: Look buddy, doesn't work is an ambiguous statement. 
Does it sit on the couch all day? Is it unemployed? Please be specific! 
Define 'it' and what it isn't doing. --------- Adapted from lxrbot FAQ
--
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)