Skip to contentSkip to conversation

RAID halting

DISCUSSION Leslie Rhorer 1 participant 1 message Apr 25, 2009 1 message not in the archive MD RAID

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

I grew a 3 disk RAID5 to 4 disks and the write performance was definitely inferior until this was done.

Well, write performance is not generally a big issue with this array, as

it

Quoted 2 lines

does vastly more reading than writing. In any case, as long as the parameters can be updated with a mount option, it's not a really big

Quoted 8 lines

deal.

Quoted 2 lines

What about the read performance? Is it badly impacted for pre-existing files? The files on this system are very static. Once they are edited

and

Quoted 1 line

saved, they're pretty much permanent.

My understanding of growing the array by adding more disks, is that all files are rewritten across all disks, so there is

So there is...? I think you accidentally deleted part of what you were saying. Let me see if I can guess what it was. You were perhaps going to say the stripe is re-organized at the array layer, so at the file system layer the machine thinks the file was originally written that way? While it would seem to make sense, I'm going to have to think about it a bit to convince myself it is true.

Quoted 4 lines

The issue with writes is that if the filesystem knows the exact geometry of the array (no. of devices and stripe size), it can coalesce writes into n x stripe size chunks, which means that there is minimal read-modify-write penalty with parity having to be recalculated.

Yes, I follow that.

Quoted 3 lines

If you grow the array and do not tell XFS that this chunk size has changed, then every single write will be based on the previous size and will require read-modify-write.

Yeah, I understood that, too. That it can be re-configured in the mount makes it a reasonable proposition.