![]() |
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
I was configuring my new 3.1 kernel just a while ago.
This piqued my interest, and it looks better than what we have now. Can it be backported? EDIT: Looks like cleancache needs to be backported, too. On a side note, IIRC the onboard UBIFS filesystem uses lzo1x compression, so we'll take another, small performance hit as a tradeoff for more memory squeezed in on the 256MB chip. |
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
Thanks for sharing, but what the hell UBIFS have to do with RAM? UBIFS is used on 256 MB NAND flash, and zram/etc use RAM for swap. It seems, that Your finding do the same.
Obviously, NAND != RAM /Estel |
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
Quote:
|
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
Hmm, I'm interested. When we say compcache, is there a difference to what is now known as zram? Apparently the later builds of compcache started using the name zram, and ramzwap.ko was renamed zram.ko ... is there anything that would stop using zram instead of older versions on the n900?
|
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
Quote:
Used swappolube proposed settings, swappiness (30 and 100) ideal profile with VDD1 and 2 enabled and with or without freemangordon settings Code:
#echo 0 > /proc/sys/vm/page-cluster It is true, that using it up to its swap limit may be useful. But after boot up my swap level exceeds ramzswaps size and it lags heavily. Anybody out there having tested other settings with more success? Or does freemangordon have an idea how to optimize this? Thanks anyway for creating this unbelievable sytem update/upgrade possibilities. |
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
I'm using KP50 and downloaded already compiled "ramzswap.ko" file and placed it in "/lib/modules/2.6.28.10-power50".
as soon as i run this command - the device crashes: insmod /lib/modules/current/ramzswap.ko disksize_kb=120512 i also tried with different size and still it crashes: insmod /lib/modules/current/ramzswap.ko disksize_kb=98304 i am using swap on mmc only (internal memory swap is disabled). Am i missing something? i tried to walk through the first post but compiling the sources is very complicated for me and i assume someone already have this working with KP50. |
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
WTH
You have kp50 installed which ships ramzswap module, and you download the module once more? But thats not the problem. You have to use 65536kb. And maybe your memory situation does not allow ramzswap to fetch memory. And thereby crashes (same happened to me, but only after fresh reboot, lot of mem occupied). Let it settle, and try above value. |
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
You need to specify the disksize as a multiple of 2. For example, for 32MB use:
Code:
insmod /lib/modules/current/ramzswap.ko disksize_kb=32768 |
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
|
Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
Quote:
however: insmod /lib/modules/current/ramzswap.ko disksize_kb=65536 still causes the crash with the original module. |
All times are GMT. The time now is 21:21. |
vBulletin® Version 3.8.8