ssd trim function ext4 >=2.6.33


want to enable ssd trim function?

we need to find out that your ssd supports this function:

hdparm -I /dev/sda | grep -i trim
	   *	Data Set Management TRIM supported
	   *	Deterministic read data after TRIM

just edit your fstab or remount your filesystem with the option discard
here ist my fstab

UUID=a3804d35-2e8f-4acf-8d9d-f33940a61f5d /               ext4    noatime,barrier=0,discard,errors=remount-ro 0       1

here some nice reference (german):

http://www.thomas-kr … rformance_optimieren

have fun!