Home Linux Hardware
Set low swapiness

echo "vm.swappiness = 1" > /etc/sysctl.d/90-swappines.conf
sysctl -p /etc/sysctl.conf.d/90-swappines.conf
sysctl -a 


Mount /tmp into ram in fstab

tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0


Add noatime and discard to mounted partitions  in fstab

/dev/mapper/ubuntu--mate--vg-root /               ext4    discard,noatime,errors=remount-ro    0       1