[linux-lvm] stripesize

Heinz Mauelshagen mauelsha at ez-darmstadt.telekom.de
Tue Oct 12 22:35:07 UTC 1999


> 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.

> 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.




Systemmanagement CS-TS                           T-Nova
                                                 Entwicklungszentrum Darmstadt
Heinz Mauelshagen                                Otto-Roehm-Strasse 71c
Senior Systems Engineer                          Postfach 10 05 41
                                                 64205 Darmstadt
mge at ez-darmstadt.telekom.de                      Germany
                                                 +49 6151 886-425

More information about the linux-lvm mailing list