Re: Frontswap [PATCH 0/4] (was Transcendent Memory): overview

From: Avi Kivity
Date: Fri Apr 30 2010 - 14:23:55 EST


On 04/29/2010 09:59 PM, Avi Kivity wrote:

I'm convinced it's useful. The API is so close to a block device (read/write with key/value vs read/write with sector/value) that we should make the effort not to introduce a new API.


Plus of course the asynchronity and batching of the block layer. Even if you don't use a dma engine, you improve performance by exiting one per several dozen pages instead of for every page, perhaps enough to allow the hypervisor to justify copying the memory with non-temporal moves.

--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/