From owner-freebsd-fs@FreeBSD.ORG Tue Dec 7 15:31:31 2010 Return-Path: Delivered-To: freebsd-fs@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBF86106564A for ; Tue, 7 Dec 2010 15:31:31 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 71B3A8FC08 for ; Tue, 7 Dec 2010 15:31:31 +0000 (UTC) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id oB7FVEdA047728; Tue, 7 Dec 2010 16:31:29 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id oB7FVEhb047727; Tue, 7 Dec 2010 16:31:14 +0100 (CET) (envelope-from olli) Date: Tue, 7 Dec 2010 16:31:14 +0100 (CET) Message-Id: <201012071531.oB7FVEhb047727@lurza.secnetix.de> From: Oliver Fromme To: freebsd-fs@FreeBSD.ORG X-Newsgroups: list.freebsd-fs User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.3.5 (lurza.secnetix.de [127.0.0.1]); Tue, 07 Dec 2010 16:31:29 +0100 (CET) Cc: Subject: TRIM support for UFS? X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2010 15:31:32 -0000 Hi, I've bought an OCZ Vertex2 E (120 GB SSD) and installed FreeBSD i386 stable/8 on it, using UFS (UFS2, to be exact). I've made sure that the partitions are aligned properly, and used newfs with 4k fragsize and 32k blocksize. It works very well so far. Now, the only thing missing would be TRIM support for UFS. I did some research and found the following patch: http://people.freebsd.org/~pjd/patches/ufsdel.patch Apparently that patch is supposed to make UFS use TRIM, among other things. However, the patch seems to be rather old (time stamp says 2007-02-03), and nothing has been comitted to current or stable so far (I've grepped through the past 12 months of SVN logs, after TRIM support was added to ada(4) by mav@). So, my question is, are there plans to add TRIM support to UFS? Is anyone working on it? Or is it already there and I just overlooked it? Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "A language that doesn't have everything is actually easier to program in than some that do." -- Dennis M. Ritchie