LWN.net Logo

Zero = trim

Zero = trim

Posted Aug 19, 2009 5:05 UTC (Wed) by TimMann (subscriber, #37584)
In reply to: Zero = trim by ncm
Parent article: The trouble with discard

That idea came to mind for me too, but of course this article is all about how what real hardware really does fails to match up with what we need. So if the real hardware doesn't happen to optimize the case of a block with all 0's written to it, we still lose.


(Log in to post comments)

Zero = trim

Posted Aug 19, 2009 5:06 UTC (Wed) by TimMann (subscriber, #37584) [Link]

Hmm, I was missing your point, though. That's a good way around the limitation of the ATA spec if the hardware vendors can be persuaded to use it.

Zero = trim

Posted Aug 19, 2009 12:35 UTC (Wed) by avik (guest, #704) [Link]

You have to dma tons of zeros to the device, so this can be expensive.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds