lvm: PE size, number of stripes and stripe size considerations
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
lvm: PE size, number of stripes and stripe size considerations
Hello!
I intend to set up my future Slackware-13.0 installation with LVM. I have already read the available How-To, but there are are still three parameters that I feel uncertain how to set. These are the size of the physical extents (PE), the number of stripes and the stripe size. The documents I have come upon so far only seem to tell how to set these parameters to certain values, but not WHY these particular values are selected. Are there any rules/reasons to follow with regard to the choice of the these parameters?
The reason you might want to select something other than defaults is usually for Database products like Oracle. To optimize reads/writes sometimes it would be recommended you use a certain block size. You could help insure the disks are optimized by limiting PE size. Often your main concern in a database is IOPS (I/O per second). This can be maximized by insuring the stripe size is close to the normal block write of the DB and you insure that stripe is spread across as many disk spindles as possible (number of stripes). Usually when this is important you'll end up with unused space because to get the performance you want you usually buy your disks based on IOPS rather than capacity.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.