Re: RAID + LUKS + LVM performance

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Matthias Schniedermeyer
Date: Thursday, March 11, 2010 - 12:07 pm

On 11.03.2010 09:51, david@lang.hm wrote:

Nope. What i meant is:

Let say you had a block-device which has 16 blocks:
0-15
With the OPs description the blocks would be distributed like this:
Part 0: 00 01 02 03
Part 1: 04 05 06 07
Part 2: 08 09 10 11
Part 3: 12 13 14 15

What you need is a distribution like this:
Device 0: 01 05 09 13 
Device 1: 02 06 10 14
Device 2: 03 07 11 15
Device 3: 04 08 12 16

IOW:
Blocks % 4 == 0 on device 0
Blocks % 4 == 1 on device 1
Blocks % 4 == 2 on device 2
Blocks % 4 == 3 on device 3

I still other words:
You don't want a cake in exactly 4 same size parts. You want a cake in a 
million parts and then every 4th starting from the first piece in one 
set, every 4th starting from the second in the next and so on.


I think i just didn't make clear enough what i meant.




Bis denn

-- 
Real Programmers consider "what you see is what you get" to be just as 
bad a concept in Text Editors as it is in women. No, the Real Programmer
wants a "you asked for it, you got it" text editor -- complicated, 
cryptic, powerful, unforgiving, dangerous.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
RAID + LUKS + LVM performance, Mathias Buren, (Thu Mar 11, 6:08 am)
Re: RAID + LUKS + LVM performance, Matthias Schniedermeyer, (Thu Mar 11, 10:36 am)
Re: RAID + LUKS + LVM performance, david, (Thu Mar 11, 10:51 am)
Re: RAID + LUKS + LVM performance, Matthias Schniedermeyer, (Thu Mar 11, 12:07 pm)
Re: RAID + LUKS + LVM performance, Mathias Buren, (Fri Mar 12, 1:47 am)
Re: RAID + LUKS + LVM performance, Matthias Schniedermeyer, (Fri Mar 12, 5:06 am)
Re: RAID + LUKS + LVM performance, Milan Broz, (Fri Mar 12, 6:12 am)
Re: RAID + LUKS + LVM performance, Matthias Schniedermeyer, (Fri Mar 12, 8:46 am)