[ltp] SSD optimisation

Leon Brokken linux-thinkpad@linux-thinkpad.org
Thu, 13 Jan 2011 11:45:03 +0100


On 01/13/2011 10:02 AM, Tino Keitel wrote:
> 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.
Thanks for the replies.

I'm running an up to date kernel. Would you recommend to use LVM on the
Intel SSD to benefit from trim? I have no idea about "garbage
collection" on this disk.

Leon.

-- 
Leon J.S. Brokken
Molecular Reproductive Medicine, Dept. of Clinical Sciences, Lund University
UMAS, CRC, Entrance 72, House 91, Floor 10, 20502 Malmö, Sweden
Tel. +46(0)40391104, +46(0)739531450 (gsm), Fax +46(0)40391222
http://www.med.lu.se/english/klinvetmalmo/reproductive_medicine
--
GnuPG: 0x0099F279 | 2C0C 34AF 44B4 B836 251F 24F6 47EA 90A6 0099 F279
--