confused on this compcache thing. i thought it was supposed to carve out some of your memory and then use that as compressed swap partition. android has a total of 256 ram so when i have compcache enabled i see:
# free
free
total used free shared buffers
Mem: 231520 228548 2972 0 100
Swap: 20472 19512 960
Total: 251992 248060 3932
with compcache disabled:
# free
free
total used free shared buffers
Mem: 231520 218052 13468 0 684
Swap: 0 0 0
Total: 231520 218052 13468
question is, where is my 20 meg which compcache disabled?
confused on this compcache thing. i thought it was supposed to carve out some of your memory and then use that as compressed swap partition. android has a total of 256 ram so when i have compcache enabled i see:
# free
free
total used free shared buffers
Mem: 231520 228548 2972 0 100
Swap: 20472 19512 960
Total: 251992 248060 3932
with compcache disabled:
# free
free
total used free shared buffers
Mem: 231520 218052 13468 0 684
Swap: 0 0 0
Total: 231520 218052 13468
question is, where is my 20 meg which compcache disabled?
Check out the swap row.
Edit, I sort of see what you're saying...the actual numbers are sort of odd. Not sure why, but at least the difference in reported swap provides confirmation that compcache is doing its thing.
i have been trying with little success for the last few hours to hook up a working compcache kernal the only i found that will show up stats in terminal emulator is the 1250 by slayher and my phone gets kinda hot...i saw this post had a list of some made for sapphire by sapphire, now i have tried four of these kernals from the "latest" directory and when i go to terminal type in
"compcache on" it will say it is on....
"compcache stats" it says not permitted it does not appear compcache is enabled...
maybe im missing something?? should i do a clean install of sapphire and then try again ? i was also thinking maybe i didnt leave the kernal in long enough for the cache swap to begin so when i ask for stats since nothing has been swapped it appears to be disabled??
"compcache on
loading ramzswap module....modprobe: 'ramswap.ko': operation not permitted
done
enabling swap... swap on cant stat' dev/block/ramzswap0':no such file or directory
done
compcache has been enabled
i dont know if that helps but i get that message in terminal
"compcache on
loading ramzswap module....modprobe: 'ramswap.ko': operation not permitted
done
enabling swap... swap on cant stat' dev/block/ramzswap0':no such file or directory
done
compcache has been enabled
i dont know if that helps but i get that message in terminal
Are you typing su before trying this?
What kernel are you running?