Thread (130 messages) 130 messages, 15 authors, 2013-04-17

Re: RAID performance

From: Chris Murphy <hidden>
Date: 2013-02-15 01:40:56

On Feb 14, 2013, at 6:10 PM, Adam Goryachev [off-list ref] wrote:
So assuming I don't mind wasting a few MB per disk (I was leaving empty
space at the end of the partition anyway), what would I need to instruct
fdisk and/or md to do to get the alignment right?

Current partition/disk is as follows:
/dev/sdc1              63   931769999   465884968   fd  Lnx RAID auto
Yeah the old fdisk starts at LBA 63 which is not good because it's neither 4K nor 8K aligned. For a long time now fdisk starts new ones at 2048 which is 1MB aligned (and is of course also 8KB and 4KB aligned, among others so it's just easier to do that.) But for 4K and 8K alignment, start LBA 48, 64, 80, etc are also valid.

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