[linux-lvm] LE discussion

Andreas Dilger adilger at turbolabs.com
Thu Jan 3 11:26:02 UTC 2002


On Jan 02, 2002  19:48 -0800, Adrian Noland wrote:
> I'm starting to use LVM, and I would like to know the pros & cons of
> using a different LE size other than the 4mb default. What kind of
> performance issues are there with different size LE's? I saw a *very*
> brief discussion in one of the docs (not the HOWTO), but cant find the
> reference now.

LE size will not likely affect performance, because they are so large.
The only reason for using larger LE size is if you want to have very
large LVs.  With the default 4MB LE size, you have a maximum LV size
of 256GB.  With a 16MB LE size, you have a max LV size of 1TB (which
is the largest that Linux will reliably support at present).  If you
expect to increase the size of a particular LV more than that in the
future (when Linux supports it), scale your LE size accordingly.

Note that you waste about 1.5 LEs of space per PV with the current
LVM tools, so you don't want to over do the LE size.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/





More information about the linux-lvm mailing list