<div dir="ltr"><div><div><div>In light of Samsung's SSD being exonerated in the news today(1), and a TRIM bug found in Linux, with the driver blacklisting stuff (probably incorrectly), it seems that using TRIM is not something that is a given(2)<br><br></div><div>So, some questions to those using SSDs:<br><br></div>a. Do you use anything that enables TRIM on your SSD?<br><br></div>b. If so, do you add "discard" to fstab, or run fstrim from cron?<br><br></div>c. What other mount options do you use (noatime comes to mind, relatime is the default since 2.6.something, other options)?<br><div><div><div><br><u><b>Notes:</b></u><br><br>i. You can tell if your SSD supports TRIM by issuing the command: <br><br>hdparm -I /dev/sdX | grep TRIM <br><br>ii. Ubuntu 14.04 has fstrim enabled as a weekly cron, but only for Intel and Samsung SSDs.<br><br>iii. Other good references in (3) and (4).<br><br>(1) <a href="http://linux.slashdot.org/story/15/07/30/1814200/samsung-finds-fixes-bug-in-linux-trim-code">http://linux.slashdot.org/story/15/07/30/1814200/samsung-finds-fixes-bug-in-linux-trim-code</a><br><br>(2) <a href="https://wiki.debian.org/SSDOptimization#WARNING">https://wiki.debian.org/SSDOptimization#WARNING</a><br><br>(3) <a href="https://wiki.archlinux.org/index.php/Solid_State_Drives">https://wiki.archlinux.org/index.php/Solid_State_Drives</a><br><div><div class="gmail_extra"><br>(4) <a href="https://sites.google.com/site/easylinuxtipsproject/ssd">https://sites.google.com/site/easylinuxtipsproject/ssd</a><br>-- <br><div>Khalid M. Baheyeldin<br><a href="http://2bits.com" target="_blank">2bits.com</a>, Inc.<br>Fast Reliable Drupal<br>Drupal optimization, development, customization and consulting.<br>Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra<br>Simplicity is the ultimate sophistication. -- Leonardo da Vinci<br>For every complex problem, there is an answer that is clear, simple, and wrong." -- H.L. Mencken<br></div>
</div></div></div></div></div></div>