from
http://askubuntu.com/questions/1400/how-do-i-optimize-the-os-for-ssds
in fstab
add
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/log tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/log/apt tmpfs defaults,noatime,mode=1777 0 0
none /var/cache unionfs dirs=/tmp:/var/cache=ro 0 0
add to the partitions the flags
noatime,nodiratime,discard
from https://wiki.archlinux.org/index.php/Solid_State_Drives
in
http://askubuntu.com/questions/1400/how-do-i-optimize-the-os-for-ssds
in fstab
add
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/tmp tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/log tmpfs defaults,noatime,mode=1777 0 0
tmpfs /var/log/apt tmpfs defaults,noatime,mode=1777 0 0
none /var/cache unionfs dirs=/tmp:/var/cache=ro 0 0
add to the partitions the flags
noatime,nodiratime,discard
from https://wiki.archlinux.org/index.php/Solid_State_Drives
in
/etc/sysctl.conf add
vm.swappiness=1 vm.vfs_cache_pressure=50
in /etc/grub.d/10_linux add
elevator=noop to GRUB_CMDLINE_LINUX
add the --disk-cache-dir=/tmp/chrome flag to chrome,i.e. make the last line of
/usr/bin/google-chrome
as
exec -a "$0" "$HERE/chrome" --disk-cache-dir=/tmp/chrome "$@"
No comments:
Post a Comment