[Speed Up] Move /tmp directory to RAM

posted in: Linux, Tutorials | 0

dimmsIf you have enough RAM you should use it to write the temporary system files.

This will reduce HDD access/writing, and will increase system speed.In order to do this we have to sudo edit the /etc/fstab file and add the following:

tmpfs /tmp tmpfs defaults,noatime,nosuid,nodev,noexec,mode=1777,size=512M 0 0

NOTE: you can change the “size=512M” value to suit your needs

Then reboot!

Comments are closed.