On 07/11/2011 06:53 AM, Chris Samuel wrote:
On Mon, 11 Jul 2011 07:59:54 AM Fajar A. Nugraha wrote:

Sandforce-based SSDs have their own way of reducing writes
(e.g. by using internal compression), so you don't have to
do anything special
Not just compression, but also block level de-duplication too
(i.e. potentially removing the redundancy of btrfs's duplication
of metadata for safety).

cheers,
Chris

How vendors implement their internal firmware at any given point is not something that we can know (or should know).

As mentioned in this thread, you can and should always measure the performance of your application on your OS with and without discard being enabled. Note that you might have long term effects (i.e., trim enabled via discard might avoid the performance hit you see with some devices after extensive use, especially when full).

Keep in mind that discard support is built on an industry standard command and is used by other vendors (including windows) so manufacturers that do a bad job and suffer performance impacts will be *very* motivated to fix their firmware :)

Ric

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to