SSDs (
solid state drives) are great. They’re shock resistant, consume less power, produce less heat, and have very fast seek times. If you have a Ubuntu computer with an SSD, such as an Eee PC, there are some tweaks you can make to increase performance and extend the life of the disk.
- The simplest tweak is to mount volumes using the noatime option. By default Linux will write the last accessed time attribute to files. This can reduce the life of your SSD by causing a lot of writes. The noatime mount option turns this off.
Open your fstab file:
sudo gedit /etc/fstab
Ubuntu uses the relatime option by default. For your SSD partitions (formatted as ext3), replace relatime with noatime in fstab. Reboot for the changes to take effect.
- Using a ramdisk instead of the Ubuntu SSD to store temporary files will speed things up, but will cost you a few megabytes of RAM.
Open your fstab file:
sudo gedit /etc/fstab
Add this line to fstab to mount /tmp (temporary files) as tmpfs (temporary file system):
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
Reboot for the changes to take effect. Running df, you should see a new line with /tmp mounted on tmpfs:
tmpfs 513472 30320 483152 6% /tmp
(
Read more
)