Linux - optymalizacja pod dysk SSD

nano /etc/sysctl.conf vm.swappiness=1 vm.vfs_cache_pressure=50
nano /etc/fstab UUID=f0ae2c59-83d2-42e7-81c4-2e870b6b255d / ext4 noatime,errors=remount-ro 0 1 tmpfs /var/log tmpfs defaults,noatime 0 0 tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
nano /etc/rc.local fstrim -v / for dir in apparmor apt cups dist-upgrade fsck gdm installer samba unattended-upgrades ; do if [ ! -e /var/log/$dir ] ; then mkdir /var/log/$dir fi done