I'm about to do a fresh install of Debian onto a new box with a Crucial
M4 128GB SSD. I want to ensure that I get the best performance I can out
of the SSD so I want to make sure I take care of any partition alignment
issues.
I have read tytso's blog post
(http://ldn.linuxfoundation.org/blog-entry/aligning-filesystems-ssd%E2%80%99s-erase-block-size)
but that post is a couple of years old now and may not be relevant.
Also, I cannot find any specific information on the M4's erase block
size but some hints suggest it may be 512kiB, not the 128kiB used in
that blog post (and the c/h/s settings no longer work for 512kiB
alignment).
It is necessary to worry about alignment anymore with modern SSDs? The
Debian installer did not seem to have any special handling that I could
see, so I suspect I would have to pre-partition the drive and tell the
installer to use the existing partitions.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: f97.4de462f3.b418f@getafix.xdna.net">http://lists.debian.org/f97.4de462f3.b418f@getafix.xdna.net
05-31-2011, 08:20 AM
Stan Hoeppner
SSD partition alignment considerations
On 5/30/2011 10:39 PM, Cam Hutchison wrote:
> I'm about to do a fresh install of Debian onto a new box with a Crucial
> M4 128GB SSD. I want to ensure that I get the best performance I can out
> of the SSD so I want to make sure I take care of any partition alignment
> issues.
>
> I have read tytso's blog post
> (http://ldn.linuxfoundation.org/blog-entry/aligning-filesystems-ssd%E2%80%99s-erase-block-size)
> but that post is a couple of years old now and may not be relevant.
> Also, I cannot find any specific information on the M4's erase block
> size but some hints suggest it may be 512kiB, not the 128kiB used in
> that blog post (and the c/h/s settings no longer work for 512kiB
> alignment).
>
> It is necessary to worry about alignment anymore with modern SSDs? The
> Debian installer did not seem to have any special handling that I could
> see, so I suspect I would have to pre-partition the drive and tell the
> installer to use the existing partitions.
General consensus is to start your first partition at 1,048,576 bytes,
as it is evenly divisible by 512, 4096, 131,072, and 524,288 bytes,
covering all sector, filesystem block, and erase block size possibilities.
--
Stan
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 4DE4A4C6.2030303@hardwarefreak.com">http://lists.debian.org/4DE4A4C6.2030303@hardwarefreak.com
05-31-2011, 08:30 AM
Tony van der Hoff
SSD partition alignment considerations
On 31/05/11 10:20, Stan Hoeppner wrote:
General consensus is to start your first partition at 1,048,576 bytes,
as it is evenly divisible by 512, 4096, 131,072, and 524,288 bytes,
covering all sector, filesystem block, and erase block size possibilities.
General consensus by whom, Stan? Have you any references?
--
Tony van der Hoff | mailto:tony@vanderhoff.org
Ariège, France |
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
OCZ has an informative and still active user forum regarding SSD:
http://www.ocztechnologyforum.com/forum/showthread.php?54379-Linux-Tips-tweaks-and-alignment
--
Best regards,
Jörg-Volker.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: is2iui$6k9$1@dough.gmane.org">http://lists.debian.org/is2iui$6k9$1@dough.gmane.org