![]() Preload is a Linux software developed by Behdad Esfahbod. Add the line to the end of fstab file tmpfs /var/log tmpfs defaults,noatime,mode=0755 0 0 Preload If logs aren’t important for you (laptop or desktop), you can also mount /var/log to tmpfs. To reduce writes on SSD, you can mount /tmp to tmpfs.Īdd the line to the end of fstab file tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0 Normally linux system cache stores in /tmp directory. Once your system is restarted, everything in tmpfs will be gone. no Tmpfsįiles and directories store in tmpfs is temporary, tmpfs keeps everything in virtual memory (kernel internal caches), nothing will be saved on your hard drive or SSD. If you have to disable them both, make sure to replace them both from yes to no. # nano /usr/share/polkit-1/actions/Ĭhange from “yes” to “no”, there are two, one for hibernation, and another one for suspend. Plus hibernation will put a lot of writes to your SSD which will shorten your SSD life. Sometimes they make your system crash and unstable. ![]() Hibernate and suspend sometimes don’t work depends on the hardware you have for your system. ![]() By adding noatime and nodiratime will greatly reduce ssd load means performance gains.Īdd noatime,nodiratime to your ssd drives or partitions, after ext4 UUID=bef10b86-494d-41c6-aa46-af72cfba90fd / ext4 discard,noatime,nodiratime,errors=remount-ro 0 1 Disable hibernation noatime disables atime updates on file system, and nodiratime will disables atime updates on directory system. Noatime and nodiratime are mount options in linux for linux file system. # cp /etc/fstab ~/fstab.bkĪdd discard to your ssd drives or partitions, after ext4 UUID=bef10b86-494d-41c6-aa46-af72cfba90fd / ext4 discard,errors=remount-ro 0 1 Adding noatime and nodiratime TRIM (Trim command let an OS know which SSD blocks are not being used and can be cleared)īack up fstab first in case something wrong happen. If you have older linux distributions, you may have an option to choose EXT4 as file system, but newer linux distributions will install with EXT4 as default so you don’t need to worry about. EXT4 is matured for SSD usage since linux kernel 2.6.28. EXT4 gives you good speed and reliable for your SSD, EXT4 also supports TRIM. Most modern new linux distributions default file system is EXT4. *** Always backup before you do anything *** Use EXT4 file system Check your SSD’s manufacture often to make sure you have the latest firmware for your SSD. Improve performance, reliability, and system compatibility, fix technical issues, bugs). ![]() SSD manufactures (Intel, Samsung, SanDisk, Plextor, Corsair, Crucial…) often public new firmwares for their SSD to improve Faster than traditional HDD, about 2-3 times faster than SATA2 7200 RPM HDD.If you want to improve and tweak your Ubuntu, Linux Mint, Fedora, Centos or any linux distribution, this article will help you. ![]() Note: this article will help both SSD and mechanical hard drive performance. However, if you want to tweak and optimize your SSD for Ubuntu, Linux Mint, Debian or any linux distribution to make your SSD run even faster and live longer, here how I do my ubuntu ssd tweak. I have been using Intel 520 SSD 180GB on my Dell Inspiron 11z-1121 laptop for a while and get great speed. ![]()
0 Comments
Leave a Reply. |