Monday, April 1, 2013

Use TMPFS To Reduce Disk I/O

The /tmp folder receives a lot of hard disk read/write operations. You can simply use your system RAM instead of your hard disk to speed up read/write operations for the /tmp folder. To do this, you can follow these instructions:

- Open the terminal and edit the /etc/fstab file with this command:

sudo gedit /etc/fstab

or

sudo pluma /etc/fstab

- At the end of the file, add these two lines:

# Move /tmp to RAM

tmpfs /tmp tmpfs defaults,noexec,nosuid 0 0

Save your file and exit. Restart now your system to apply the new changes.


http://www.upubuntu.com/2012/06/11-tips-to-speed-up-computers-running.html

No comments:

Post a Comment