<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    On 05/27/2011 05:29 AM, John Doe wrote:
    <blockquote cite="mid:805825.80473.qm@web114707.mail.gq1.yahoo.com"
      type="cite">
      <pre wrap="">From: <a class="moz-txt-link-rfc2396E" href="mailto:aurfalien@gmail.com">"aurfalien@gmail.com"</a> <a class="moz-txt-link-rfc2396E" href="mailto:aurfalien@gmail.com"><aurfalien@gmail.com></a>

</pre>
      <blockquote type="cite">
        <pre wrap="">In Windows and OSX its easy to get TRIM working, does any know of TRIM  
for linux?
</pre>
      </blockquote>
      <pre wrap="">
You apparently need a 2.6.33+ kernel (I read somewhere RH backported what was needed to their 2.6.32) and an fs like ext4 or brtfs.
Read some people giving advice to setup the ctrl to AHCI instead of IDE, but apparently worked for us in IDE...
Test = <a class="moz-txt-link-freetext" href="https://sites.google.com/site/lightrush/random-1/checkiftrimonext4isenabledandworking">https://sites.google.com/site/lightrush/random-1/checkiftrimonext4isenabledandworking</a>
Tested on Fedora (15) and it worked.
Tested on CentOS 5.6 with custom 2.6.35 kernel and, while it mounted with 
discard without complaining, it did not actualy trim in the tests...
Will retest with 6.0...

</pre>
    </blockquote>
    Hmmm.... How do you determine whether TRIM worked or not? <br>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      Stephen Clark<br>
      <b>NetWolves</b><br>
      Sr. Software Engineer III<br>
      Phone: 813-579-3200<br>
      Fax: 813-882-0209<br>
      Email: <a class="moz-txt-link-abbreviated" href="mailto:steve.clark@netwolves.com">steve.clark@netwolves.com</a><br>
      <a class="moz-txt-link-freetext" href="http://www.netwolves.com">http://www.netwolves.com</a><br>
    </div>
  </body>
</html>