From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MkQqA-0007EA-G2 for garchives@archives.gentoo.org; Sun, 06 Sep 2009 23:08:10 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67FA2E08D0; Sun, 6 Sep 2009 23:08:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 490BBE08D0 for ; Sun, 6 Sep 2009 23:08:09 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id F05E8671CE for ; Sun, 6 Sep 2009 23:08:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.441 X-Spam-Level: X-Spam-Status: No, score=-3.441 required=5.5 tests=[AWL=-0.842, BAYES_00=-2.599] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GOeOf-aN44G8 for ; Sun, 6 Sep 2009 23:08:01 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 772C8672F0 for ; Sun, 6 Sep 2009 23:08:00 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1MkQpv-00081f-3V for gentoo-user@gentoo.org; Mon, 07 Sep 2009 01:07:55 +0200 Received: from adsl-69-234-186-75.dsl.irvnca.pacbell.net ([69.234.186.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Sep 2009 01:07:55 +0200 Received: from w41ter by adsl-69-234-186-75.dsl.irvnca.pacbell.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 07 Sep 2009 01:07:55 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: walt Subject: [gentoo-user] Re: trim for ssds Date: Sun, 06 Sep 2009 16:07:19 -0700 Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: adsl-69-234-186-75.dsl.irvnca.pacbell.net User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.4pre) Gecko/20090906 Shredder/3.0b4pre In-Reply-To: Sender: news X-Archives-Salt: c2d03026-85b9-4f9b-b0ae-f251286a4831 X-Archives-Hash: 038c51b559cb03188708d511a9c88e80 On 09/06/2009 02:21 PM, Maxim Wexler wrote: > According to > > http://en.wikipedia.org/wiki/TRIM_%28SSD_command%29 > > trim has been implemented in the 28 kernel. Anybody know what the > option is called? It ain't 'trim'. First, thanks for the link, which led me to lwn.net. Those guys have some serious talent and skills that I didn't know about before. I found a post there from a year ago, saying this: Part of the problem is that the ATA TRIM command isn't fully specified yet, so we'll need to allocate a temporary command to test it. This also means that no existing device on the market can take advantage of it. Just by grepping through the linux kernel sources I can see that the kernel automatically does a test to discover if the disk is a SSD, so you don't need to do anything special to make the kernel do that. How effective that is for extending the life of a SSD, I have no clue.