Difference between revisions of "Solid State Drive- Linux"
(Created page with "Applicable excerpts from the article: SSD: how to optimize your Solid State Drive for Linux Mint 18.x by ??? on Easy Linux tips project. This is an excellent guide. Avoid qu...") |
m |
||
Line 1: | Line 1: | ||
− | Applicable excerpts from the article: SSD: how to optimize your Solid State Drive for Linux Mint 18.x by ??? on Easy Linux tips project. This is an excellent guide. | + | Applicable excerpts from the article: [https://sites.google.com/site/easylinuxtipsproject/ssd SSD: how to optimize your Solid State Drive for Linux Mint 18.x] by ??? on Easy Linux tips project. This is an excellent guide. |
Avoid quick wear: reduce write actions | Avoid quick wear: reduce write actions | ||
Line 27: | Line 27: | ||
vm.swappiness=1 | vm.swappiness=1 | ||
+ | |||
+ | == References == | ||
+ | * https://sites.google.com/site/easylinuxtipsproject/ssd | ||
[[Category:Computer_Technology]] | [[Category:Computer_Technology]] | ||
[[Category:Linux]] | [[Category:Linux]] |
Revision as of 13:25, 15 February 2018
Applicable excerpts from the article: SSD: how to optimize your Solid State Drive for Linux Mint 18.x by ??? on Easy Linux tips project. This is an excellent guide.
Avoid quick wear: reduce write actions
Seven percent with a maximum of 10 GB of the drive should be left unpartitioned or unallocated as this seems to have a proven relation to SSD drive longevity. I used the quick install, then went back in with parted and resized.
The best file system (formatting) for an SSD, is the usual default EXT4.
With "noatime" in /etc/fstab, you disable the write action "access time stamp", that the operating system puts on a file whenever it's being read by the operating system. For an SSD "noatime" is much better.
sudo vi /etc/fstab
Now add the word noatime to the line for your root partition and your other Linux partitions, just before errors=remount-ro. Note: don't add it to the line for the swap partition!
UUID=xxxxxxx / ext4 noatime,errors=remount-ro 0 1
Limit swap wear
Check your current swappiness setting. Type in the terminal (use copy/paste):
cat /proc/sys/vm/swappiness
The result will probably be 60. - way to high for SSD and too high for a typical desktop workstation.
b. Now type in the terminal (use copy/paste):
sudo vi /etc/sysctl.conf
Add the following line at the end
vm.swappiness=1