Thread (40 messages) 40 messages, 9 authors, 2012-02-19

Re: XFS on top RAID10 with odd drives count and 2 near copies

flat view

From: <hidden>
Date: 2012-02-15 09:24:27

On Tue, Feb 14, 2012 at 05:27:43PM -0600, Stan Hoeppner wrote:
Maybe I simply don't understand this 'magic' of the f2 and far layouts.
 If you only read the "faster half" of a spindle, does this mean writes
go to the slower half?  If that's the case, how can you read data that's
never been written?
Think of raid10,f2 as two raid0's - the first raid0 is on the outer faster
tracks, the second on the slower inner tracks. Reads are always from the outer tracks
so the performance is that of raid0, including striping, and because it is only the
outer tracks, faster and with less head movement than a raid0 on the full set of spindles.

Writes are then written to both the raid0's (so you don't read data never written:-).
Writes are a bit slower it is said, as there should be more head movement, but that is
largely compensated by the spindle elevator algorithm for writes, which collects the output data
and orders the sectors so that they can be written in sequence, minimizing head movement.
With the elevator you can actually have striping writes too.
Also writes are less time critical than reads, as you do not wait on them to get things processed in the CPUs.
You just collect the output buffers and then periodically flush the data.

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