Re: Discard support (was Re: [PATCH] swap: send callback when swap slot is freed)
From: Matthew Wilcox <hidden>
Date: 2009-08-14 23:45:41
Also in:
linux-mm, linux-raid, linux-scsi, lkml
From: Matthew Wilcox <hidden>
Date: 2009-08-14 23:45:41
Also in:
linux-mm, linux-raid, linux-scsi, lkml
On Fri, Aug 14, 2009 at 05:21:32PM -0600, Chris Worley wrote:
Sooner is better than waiting to coalesce. The longer an LBA is inactive, the better for any management scheme. If you wait until it's reused, you might as well forgo the advantages of TRIM/UNMAP. If a the controller wants to coalesce, let it coalesce.
I'm sorry, you're wrong. There is a tradeoff point, and it's different for each drive model. Sending down a steady stream of tiny TRIMs is going to give terrible performance. -- Matthew Wilcox Intel Open Source Technology Centre "Bill, look, we understand that you're interested in selling us this operating system, but compare it to ours. We can't possibly take such a retrograde step." -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>