[ltp] SSD optimisation

Dan M. linux-thinkpad@linux-thinkpad.org
Thu, 13 Jan 2011 07:55:45 -0500


Trim capabilities can be checked with hdparm -I and if it's built into
the kernel it will be listed. I know that trim support is backported
into the latest 32.x version of the RHEL+ clones fyi - sorry for the
short answer but I'm on my mobile.

On 13/01/2011, Marius Gedminas <marius@gedmin.as> wrote:
> On Tue, Jan 11, 2011 at 10:03:28PM +0100, Leon Brokken wrote:
>> am awaiting the arrival of a T410s with 160GB Intel SSD. Is it
>> worthwhile to take measures that prevent excessive writes (e.g.
>> mount with noatime), or is this not relevant any longer in the later
>> SSD devices?
>
> Reducing the number of writes can't hurt, I suppose.  Nowadays all the
> partitions are mounted with relatime, and maybe that's enough?
>
> Another thing I haven't seen mentioned in this thread yet is a
> recommendation to align your partitions at 128K boundaries:
> http://thunk.org/tytso/blog/2009/02/20/aligning-filesystems-to-an-ssds-erase-block-size/
>
> I believe modern fdisks (and installers) do that already.
>
> I've also seen an email by Linux Torvalds recommending that people never
> put swap partitions on an SSD
> http://www.realworldtech.com/forums/index.cfm?action=detail&id=98325&threadid=98319&roomid=2
> Although that seems to be more of a "that's a stupid waste of money, buy
> more RAM -- it's cheaper" than "it'll damage your SSD with excessive
> writes".
>
> Marius Gedminas
> --
> I spent a lot of time in the Java world. I'm so glad I'm on Planet Python
> now :-)
>         -- Steve Alexander
>

-- 
Sent from my mobile device