I read in some blog that tmpfs can help to improve a lot the performance of your Ubuntu linux. I tried this trick on a netbook and on a desktop with moderate resources (especially RAM). So, first is to modify your etc/fstab file by adding these lines:
# reduce the number of writes
tmpfs /tmp tmpfs defaults,mode=1777 0 0
tmpfs /var/lock tmpfs defaults,noexec,nosuid,nodev,size=10m,mode=1777 0 0
tmpfs /var/run tmpfs defaults,nosuid,size=10m,mode=0755 0 0
tmpfs /lib/init/rw tmpfs defaults,nosuid,mode=0755 0 0
tmpfs /dev/shm tmpfs defaults,nosuid,nodev 0 0
where we use tmpfs to replace Ubuntu's temporal directories. Tmpfs allocates, from now, the information among the RAM (very fast) and the swap (rather slow). Usually these special folders are just located in the hard disk.
Maybe, your Ubuntu does not like any of these changes. It is better to add them one by one, each time you would like to reboot the system.
At any time, you can check the status using the command df -h
See you.
More info/credits:
0 comments:
Post a Comment