Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2012 20:50:33 -0500 (CDT)
From:      Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
To:        Julian Elischer <julian@freebsd.org>
Cc:        FreeBSD Current <current@freebsd.org>, fs@freebsd.org
Subject:   Re: "trim/discard" success story
Message-ID:  <alpine.GSO.2.01.1204032046130.1678@freddy.simplesystems.org>
In-Reply-To: <4F7BA173.6050903@freebsd.org>
References:  <4F7BA173.6050903@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 3 Apr 2012, Julian Elischer wrote:
>
> for flash drives this is great news..
> Now if ZFS would get trim support, that too would be great.

The major unknown issue with trim is how well the drives 
schedules/defers the trim operation so that it does not interfer with 
other I/Os.  Also, it would be really bad if the drive applied trim 
after the block had been re-allocated for a write.  It would also be 
really bad if the drive loses unrelated data if there is a power fail 
during trim.

If writes get blocked by a pending trim, then trim would not help 
very much.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.GSO.2.01.1204032046130.1678>