zcache for 2.6.38
those who want to test out the new zcache today:
zcache + fixes + make btrfs work and tweaks & improvements to zram (included in 2.6.39)
to be applied on top of 18.104.22.168-zen*
zcache_22.214.171.124_zen.txt (154.26 KB)
to enable it you need to append zcache to your kernel in grub.conf, lilo.conf, etc.
is it in fedora 14 kernel too ?
can you be more verbose about files to edit also , i am a newbie ;']
As you seem to be kind of an expert:
I applied your patch to the vanilla 126.96.36.199, enabled everything and added "zcache" to my kernel parameters. But after rebooting, statistics in /sys/kernel/mm/ show that neither cleancache nor frontswap are ever used. /sys/kernel/mm/zcache is not even there. Is there anything missing from the vanilla kernel that frontswap, cleancache or zcache require?
I tried zcache both in-kernel and as a module.
And now that zcache is included in 2.6.39, are there patches for frontswap and cleancache that can be applied to that kernel? I tried the latest ones from lkml but some hunks failed. I then tried to apply them manually but ran into trouble in swapfile.c.
yeah, this has been sort of a "known" problem:
make sure you activate:
- zram (which zcache and/or cleancache is dependent on)
it's still somewhat in the flux ...
... so if you can't get zcache to work with 2.6.39 even after having corrected the rejects
then please contact Dan Magenheimer & Nitin Gupta (the two developers of it)