Thread (4 messages) 4 messages, 3 authors, 2007-12-26

Re: raid10 performance question

From: Bill Davidsen <hidden>
Date: 2007-12-26 20:59:37

Peter Grandi wrote:
quoted
quoted
quoted
On Tue, 25 Dec 2007 19:08:15 +0000,
pg_lxra@lxra.for.sabi.co.UK (Peter Grandi) said:
        
[ ... ]

  
quoted
quoted
It's the raid10,f2 *read* performance in degraded mode that is
strange - I get almost exactly 50% of the non-degraded mode
read performance. Why is that?
      
  
quoted
[ ... ] the mirror blocks have to be read from the inner
cylinders of the next disk, which are usually a lot slower
than the outer ones. [ ... ]
    
Just to be complete there is of course the other issue that
affect sustained writes too, which is extra seeks. If disk B
fails the situation becomes:

    DISK
   A X C D

   1 X 3 4
   . . . .
   . . . .
   . . . .
   -------
   4 X 2 3       
   . . . .
   . . . .
   . . . .

Not only must block 2 be read from an inner cylinder, but to
read block 3 there must be a seek to an outer cylinder on the
same disk. Which is the same well known issue when doing
sustained writes with RAID10 'f2'.
I have often wondered why the elevator code doesn't do better on this 
sustained load, grouping the writes at the drive extremities so there 
would be lots of writes to nearby cylinders then a big seek and lots of 
writes near the next position. I tried bumping the stripe_cache, 
changing to alternate elevators, and just increasing the physical 
memory, and never saw any serious improvement beyond the speed with 
default settings.

-- 
Bill Davidsen [off-list ref]
  "Woe unto the statesman who makes war without a reason that will still
  be valid when the war is over..." Otto von Bismark 

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help