Re: compcache as a pre-swap area (was: [PATCH] swap: send callback when swap slot is freed)

From: Nitin Gupta
Date: Thu Aug 13 2009 - 13:31:57 EST


On Thu, Aug 13, 2009 at 10:35 AM, Al Boldi<a1426z@xxxxxxxxx> wrote:
> Nitin Gupta wrote:
>> BTW, last time compcache was not accepted due to lack of performance
>> numbers. Now the project has lot more data for various cases:
>> http://code.google.com/p/compcache/wiki/Performance
>> Still need to collect data for worst-case behaviors and such...
>
> I checked the link, and it looks like you are positioning compcache as a swap
> replacement.  If so, then repositioning it as a compressed pre-swap area
> working together with normal swap-space, if available, may yield a much more
> powerful system.
>
>

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).

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/