You are not logged in.

#1 2009-02-20 04:51:40

sb56637
Member
Registered: 2009-02-18
Posts: 63

Compcache - Does it work with Arch?

Hi there,

I want to install Arch on a very old computer with 64 MB of RAM.  Anyone have any experience with http://code.google.com/p/compcache/ ?  Does it make any difference in speed on old low-RAM systems?  Any tips on using it on Arch?

Thanks a lot!

Offline

#2 2009-02-20 06:40:57

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Compcache - Does it work with Arch?

Offline

#3 2009-02-20 07:48:42

sb56637
Member
Registered: 2009-02-18
Posts: 63

Re: Compcache - Does it work with Arch?

Thanks!  Is it available on the stable kernel too though?

Offline

#4 2009-02-20 08:23:42

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Compcache - Does it work with Arch?

sb56637 wrote:

Thanks!  Is it available on the stable kernel too though?

well i guess you just have to patch the stable kernel source.

Offline

#5 2009-02-20 08:32:45

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Compcache - Does it work with Arch?

if you want the fast&easy solutions, download compcache and follow the instructions in the README file.
it took me 30 seconds to make it work, i just tried now. after that, just add the relevant modules (lzo1x_compress.ko, lzo1x_decompress.ko, tlsf.ko, compcache.ko) to your rc.conf modules array and run the use_compcache.sh script at startup by putting it in rc.local. done.

Offline

#6 2009-02-20 08:38:57

sb56637
Member
Registered: 2009-02-18
Posts: 63

Re: Compcache - Does it work with Arch?

Ok, I´ll give it a try.  Thanks!

Offline

#7 2009-02-20 09:02:11

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Compcache - Does it work with Arch?

my bad, use_compcache.sh will load the modules for you so don't even have to put them in /etc/rc.conf. just run the script at startup and it should be enough.

Offline

#8 2009-02-20 09:21:42

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Compcache - Does it work with Arch?

FTR, you have to change line 13 in use_compcache.sh from:

LSMOD_BIN=/sbin/lsmod

to

LSMOD_BIN=/bin/lsmod

same in unuse_compcache.sh

strangely, it won't work if i put it in rc.local but will work perfectly if i run it once i logged in. i didn't try further to understand why. maybe later.

Offline

Board footer

Powered by FluxBB