Re: compcache as a pre-swap area

From: Nitin Gupta
Date: Fri Aug 14 2009 - 00:54:19 EST


On 08/14/2009 09:32 AM, Al Boldi wrote:
Nitin Gupta wrote:
compcache is really not really a swap replacement. Its just another
swap device that
compresses data and stores it in memory itself. You can have disk
based swaps along
with ramzswap (name of block device).

So once compcache fills up, it will start to age its contents into normal
swap?


This is desirable but not yet implemented. For now, if 'backing swap' is used, compcache will forward incompressible pages to the backing swap device. If compcache fills up, kernel will simply send further swap-outs to swap device which comes next in priority.

Nitin
--
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/