lvm: PE size, number of stripes and stripe size considerations
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?
Thank you very much for your attention.
For most uses the defaults are all you need.
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.
|All times are GMT -5. The time now is 04:27 PM.|