On Tue, Feb 12, 2013 at 9:56 AM, Will Stephenson <wstephenson@suse.de> wrote:
On 21/01/13 22:41, Greg Freemyer wrote:
As to geometry (partition alignment), it should be default now to align on 1MB boundaries. If you ensure that is where your partitions land, you should be fine.
As far as I know parted now supports an 'optimal' alignment derived from the drive's geometry, which is used by default when partitioning with YaST.
Do you know if this respects alignment with regard to SSDs' Erase Block Size?
Will, SSDs have the equivalent functionality of a MMU (only more sophisticated). Erase Blocks are composed of pages (typically 512 byte or 4K I believe) which the MMU maps in complex ways. There is no advantage I know of to align to EB size. And to the best of my knowledge parted makes no effort to do so. Alignment to page size is of course important, but similar to aligning to the sector size on a rotating disk, so a well understood need. I "believe" for parted optimal means: if (raid array) align_to_stripe_width else align_to_MB_boundary There may be some logic to detect very old drives where cylinder alignment is preferred. (ie. drives from the 90's or older). Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org