Re: partitioned raid 5 and proper partition alignment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi.

On Saturday 08 August 2009 09:56:59 you wrote:

> But each stripe only holds 128k of data. You have to align to that.

I beg to differ. There are two data chunks and one parity chunk, thus a whole 
stripe is 192k long if you've a 64k chunk size. If you align to 128k and you 
put e.g. ext4 on it with the correct fs stride and stripe-width settings, 
you'll probably end up with worse performance since you start in the middle of 
a stripe even though properly aligned to a chunk boundary. Or am I totally on 
the wrong track here...?!

> No, nothing special about sector 0. 

So sector 0 gets striped like all the others meaning that it counts to the 
first 192k stripe? So in order to get everything properly stripe aligned it 
was correct to leave a 196.096 byte span free after sector 0.

Best regards,
matthias.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux