Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2010 16:31:14 +0100 (CET)
From:      Oliver Fromme <>
To:        freebsd-fs@FreeBSD.ORG
Subject:   TRIM support for UFS?
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help

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:

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 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:

"A language that doesn't have everything is actually easier
to program in than some that do."
        -- Dennis M. Ritchie

Want to link to this message? Use this URL: <>