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

Re: RAID performance - new kernel results - 5x SSD RAID5

From: Stan Hoeppner <hidden>
Date: 2013-03-04 12:42:21

On 3/4/2013 3:39 AM, Adam Goryachev wrote:
On 04/03/13 16:25, Stan Hoeppner wrote:
quoted
If you have no gaps between this one and your other LVs, and each of 
them is evenly divisible by 512 sectors, then they should all be
aligned.
Given the 4MB size of the LVM blocks, does that automatically make this
true? I thought it did, but given your above comment, I'm unsure.
512 sectors is the size of your md/RAID stripe.

512 bytes/sector * 512 sectors = 262,144 bytes = 256 KB

4 MB = 4 * 1,048,576 = 4,194,304 bytes

4,194,304 bytes / 262,144 bytes = 16

So there are exactly 16 md/RAID stripes sitting 'under' each 4MB LVM block.


WRT to your question of changing the stripe width, due to drive
expansion, to a value not evenly divisible into 4MB, I'd say you'd need
to change your chunk size during the expansion reshape so that your new
stripe width is evenly divisible into 4MB.  You'll need to plan this, as
with some drive counts it may not be possible.  Is it possible to change
the LVM block size to fit the new stripe width?

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