Skip to contentSkip to conversation

stripesize

linux-lvm Fernando Dammous 2 participants 2 messages Oct 5, 1999 – Oct 12, 1999

lore
Share & tools
lore
#0 lore raw

Hi,

Could anybody explain to me which the meaning of the option stripesize (lvcreate -I)?

When to use 4k, 8k or 16K?

Once again,

Thanks in advance.

Fernando

#1 lore raw

Hello.

Quoted 5 lines

Hi,

Could anybody explain to me which the meaning of the option stripesize = (lvcreate -I)?

It is the the size by which i/o request are devided and put to the different disks in a stripe set.

For eg.: you have i/o requests sized 16k, a striped logical volume on
4 disks and a stripesize of 4k --> your requests are devided into 4 chunks, 4k each, which are stored in parallel to all 4 disks.

For sure your hardware has to support parallel i/o (think about IDE constraints) and the i/o requests are indirected thrugh the Linux buffer cache.

Quoted 1 line

When to use 4k, 8k or 16K?

It heavyly depends on the application and the amount of disks in the stipe set.

For eg.: ext2 with 4k blocksize, stripesize 1k and 4 stripes/disks
performs well.
If you have 2 stripes/disks, ext2 with 4k blocksize, try stripesize 2k.

Regards,
Heinz

--

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Systemmanagement CS-TS T-Nova
Entwicklungszentrum Darmstadt
Heinz Mauelshagen Otto-Roehm-Strasse 71c
Senior Systems Engineer Postfach 10 05 41

                                                 64205 Darmstadt
[email protected]                      Germany
                                                 +49 6151 886-425
                                                          FAX-386

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-