Linux SSD optimization policy 1. do not use a file system with logs. If you have the ability, consider a file system that supports ssd, such as ubifs. If not, use ext2 www.2cto.com 2. disable noatime nodiratime of the file system, because the access time will increase ssd write, there is no need to modify/etc/fstab, for example, change/dev/hda9/data ext2 defaults 0 2 to/dev/hda9/data ext2 defaults, noatime, nodiratime 0 2 3. disable swap partition. In today's memory cabbage price, it is strongly recommended to upgrade to 2 GB memory. Of course, the solution is to disable swap when partitioning. If you have already split the swap partition, disable it in fstab. put the tmp directory in ramdisktmpfs/tmp tmpfs size = 8 M 0 0 5. put the log records into ramdisktmpfs/var/log tmpfs size = 1 M 0 06. put some other variable files into ramdisktmpfs/var/run tmpfs 0 0 tmpfs/var/lock tmpfs 0 0