[ltp] SSD optimisation

Tino Keitel linux-thinkpad@linux-thinkpad.org
Thu, 13 Jan 2011 10:02:55 +0100


On Tue, Jan 11, 2011 at 21:12:12 -0500, Dan M. wrote:
> If your distro supports trim and your ssd has poor garbage collection
> I would suggest the discard option in your /etc/fstab in order to use
> the kernel trim feature.

AFAIK this requires a 2.6.36 kernel if used together with LVM. 
Otherwise the filesystem won't be able to send a discard command to the
device. If the distribution uses an older kernel, trim won't work on
LVM.

Regards,
Tino