Re: compcache as a pre-swap area

Al Boldi
2009-08-14T15:48:52Z

Nitin Gupta wrote:
> On 08/14/2009 09:32 AM, Al Boldi wrote:
> > 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.

Ok, this sounds acceptable for now.

The important thing now is to improve performance to a level comparable to a
system with normal ssd-swap. Do you have such a comparisson?

Another interresting benchmark would be to use compcache in a maximized
configuration, ie. on a system w/ 1024KB Ram assign 960KB for compcache and
leave 64KB for the system, and then see how it performs. This may easily
pinpoint any bottlenecks compcache has, if any.

Also, a link to the latest patch against .30 would be helpful.

Thanks!

--
Al