Using SSD basic tutorial under Linux

  
 

Trim support under Linux is called discard. Now both ext4 and xfs support (btrfs should also support), the kernel needs >=2.6.37, and xfs support is more perfect in 3.0. Specifically, you need to set these aspects: 1. Upgrade the kernel to 2.6.37 or higher, preferably with the latest 3.0. Disable the disk IO scheduler to change the scheduling policy to be scheduled by the device itself. Echo noop > /sys/block/sda/queue/scheduler2. The file system table modifies the fstab file and adds discard to the mount parameters. It is also best to add noatime. /dev/sda1 /ext4 discard, defaults3. If you adjust the file system parameter ext4, it is best to disable the log function to prevent additional data from being written and reduce the ssd life. /dev/sda1 /ext4 noatime,discard,defaults

Copyright © Windows knowledge All Rights Reserved