{"id":113,"date":"2014-04-24T22:35:20","date_gmt":"2014-04-24T22:35:20","guid":{"rendered":"http:\/\/info.ffteixeira.net\/2014\/04\/24\/solid-state-drive-ssd-optimize-it-for-ubuntu-linux-mint-and-debian\/"},"modified":"2014-04-24T22:35:20","modified_gmt":"2014-04-24T22:35:20","slug":"solid-state-drive-ssd-optimize-it-for-ubuntu-linux-mint-and-debian","status":"publish","type":"post","link":"https:\/\/blog.ffteixeira.net\/?p=113","title":{"rendered":"Solid State Drive (SSD): optimize it for Ubuntu, Linux Mint and Debian"},"content":{"rendered":"<p>&nbsp;<\/p>\n<h2 style=\"font-family: Arial, Verdana, sans-serif;line-height: normal\"><font size=\"3\">BIOS and UEFI: set it to AHCI<\/font><\/h2>\n<p>&nbsp;<\/p>\n<h2 style=\"font-family: Arial, Verdana, sans-serif;line-height: normal\"><b><font size=\"3\">Reserve 10 percent for overprovisioning<\/font><\/b><\/h2>\n<p><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">General opinion used to be, that it&#039;s wise to reserve as much as 20 to 25 percent of the storage capacity of an SSD for such unallocated space.&nbsp;<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2 style=\"font-family: Arial, Verdana, sans-serif;line-height: normal\"><font size=\"3\">After the installation: noatime<\/font><\/h2>\n<p><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">7. With &quot;noatime&quot; in \/etc\/fstab, you disable the write action &quot;access time stamp&quot;, that the operating system puts on a file whenever it&#039;s being read by the operating system. For an SSD &quot;noatime&quot; is much better.<\/span><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">You can do that as follows:<\/span><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">a. First make sure that you have installed the applications&nbsp;<\/span><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">gksu<\/span><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">&nbsp;and&nbsp;<\/span><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">leafpad<\/span><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">:<\/span><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">Click on the grey Ubuntu logo (Dash home). Query:&nbsp;<\/span><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">terminal<\/span><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">.&nbsp;<\/span><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">Click on Terminal.<\/span><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">Type (or copy\/paste):&nbsp;<\/span><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">sudo apt-get install gksu leafpad<\/span><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">Press Enter and submit your password. Please note that the password will remain invisible, not even asterisks will show, which is normal.<\/span><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">b. Then type in the terminal (use copy\/paste):<\/span><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">gksudo leafpad \/etc\/fstab<\/span><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">Press Enter.<\/span><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">c. Now add &quot;<\/span><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">noatime<\/span><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">&quot; to the line for your root partition and your other Linux partitions. Not to the line for the swap partition!<\/span><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">An adapted line may look like this:<\/span><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">UUID=f0ae2c59-83d2-42e7-81c4-2e870b6b255d&nbsp;&nbsp; \/&nbsp;&nbsp; ext4 noatime,errors=remount-ro&nbsp;&nbsp; 0&nbsp;&nbsp; 1<\/span><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><br style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\" \/><i style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\"><b>Note:<\/b><\/i><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">&nbsp;this is&nbsp;<\/span><b style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">one<\/b><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">&nbsp;line, not two! It might appear to be two lines (dependent on your screen size), because of the length of the line.<\/span><\/p>\n<p><span style=\"color:#ff0000\">Incompleto<\/span><\/p>\n<p><span style=\"font-family: Arial, Verdana, sans-serif;font-size: 16px;line-height: normal\">Fonte:&nbsp;<\/span><span style=\"line-height: 1.538em\">https:\/\/sites.google.com\/site\/easylinuxtipsproject\/ssd<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; BIOS and UEFI: set it to AHCI &nbsp; Reserve 10 percent for overprovisioning General opinion used to be, that it&#039;s wise to reserve as much as 20 to 25 percent of the storage capacity of an SSD for such &hellip; <a href=\"https:\/\/blog.ffteixeira.net\/?p=113\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-113","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/113","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=113"}],"version-history":[{"count":0,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=\/wp\/v2\/posts\/113\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.ffteixeira.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}