maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   [ANNOUNCE] COMPCACHE on kernel-power (now with notifications) (https://talk.maemo.org/showthread.php?t=76112)

mesho123 2011-08-27 19:44

Re: [ANNOUNCE] COMPCACHE on kernel-power
 
what is compcache do ?

it's useful to install ?

TMavica 2011-08-27 19:49

Re: [ANNOUNCE] COMPCACHE on kernel-power
 
After a reboot, the ramzswap0 gone...

karam 2011-08-27 19:55

Re: [ANNOUNCE] COMPCACHE on kernel-power
 
i have been using it for about an hour
personally haven't noticed an improvement with the performance
but the negative side i have noticed
is after using metasploit3
N900 starts to lag so deadly
with out using ramzswap0 it runs normal after using metasploit3

will do more tests anyway

Estel 2011-08-27 20:00

Re: [ANNOUNCE] COMPCACHE on kernel-power
 
Quote:

Originally Posted by TMavica (Post 1077665)
After a reboot, the ramzswap0 gone...

Orly? ;)

Just crete a script, to load it after every boot + manipulate swaps as needed, then place it in event.d folder.

There are *many* threads about it + article(s) in wiki.

evan 2011-08-27 20:03

Re: [ANNOUNCE] COMPCACHE on kernel-power
 
Quote:

Originally Posted by TMavica (Post 1077665)
After a reboot, the ramzswap0 gone...

ofcourse it is. only the default swap partition starts at boot time.
so far with heavy usage it behaves very nicely. looks like a winner to me.

edit: after some time it did become unresponsive. I had to close two microb windows and to wait for a whole minute to respond and close them. all the time I could not even check with terminal or any other way what was using the cpu. when it woke up, i did not reboot and everything was ok again.

freemangordon 2011-08-27 22:08

Re: [ANNOUNCE] COMPCACHE on kernel-power
 
TBH negative feedbacks are somehow expected, as without notifications enabled memory consumption is suboptimal, I will do my best to make them run, but I realy need some help from the guy who has made notifications patch (some guy from BFS kernel developers)

EDIT: btw I would not expect miracles as we are adding only about 60 MB for 128MB swap

freemangordon 2011-08-27 22:20

Re: [ANNOUNCE] COMPCACHE on kernel-power
 
Quote:

Originally Posted by evan (Post 1077641)
I am installing right now..
should we be more careful with compcache enabled about swappiness value? a value of 100 would make the cpu compressing data all the time?
edit: installed with priorities correct!. testing begins..

I am using swapiness 30 and tbh definitely there is improvement when using compcache, have been running it on my primary device for about 8 hours with no single lag.

karam 2011-08-28 00:10

Re: [ANNOUNCE] COMPCACHE on kernel-power
 
ok now this is my final feedback

my first one was negative
reason: lags after metasploit3
how to fix: set up more space for ramzswap0
increasing the internal swap to 1.5gb #not sure if it is important
setting a event.d script to use ramzswap0 directly after the boot
and set up a script using dbus to refresh the ramzswap0 when the device is inactive

------

and after all that i kindda felt a bit faster performance
maybe others will feel more performance
(cause i use speedpatch) which might makes me feel a bit of increased performance


anyway thanks for your effort freemangordon (btw i love half-life *)



//EDIT
even whith the above
when after a period of time
Well N900 gets laggy to death
cat /proc/swap
i can see that the ramzswap0 almost finished

hmm
how much is the max disksize for ramzswap can N900 take?
i tried 200mb ended with an instant reboot

freemangordon 2011-08-28 02:27

Re: [ANNOUNCE] COMPCACHE on kernel-power
 
Quote:

Originally Posted by karam (Post 1077771)
ok now this is my final feedback

my first one was negative
reason: lags after metasploit3
how to fix: set up more space for ramzswap0
increasing the internal swap to 1.5gb #not sure if it is important
setting a event.d script to use ramzswap0 directly after the boot
and set up a script using dbus to refresh the ramzswap0 when the device is inactive

------

and after all that i kindda felt a bit faster performance
maybe others will feel more performance
(cause i use speedpatch) which might makes me feel a bit of increased performance


anyway thanks for your effort freemangordon (btw i love half-life *)



//EDIT
even whith the above
when after a period of time
Well N900 gets laggy to death
cat /proc/swap
i can see that the ramzswap0 almost finished

hmm
how much is the max disksize for ramzswap can N900 take?
i tried 200mb ended with an instant reboot

using more than about 130-140MB of ramzswap is a recipe for a trouble, you will have oom kills for sure

karam 2011-08-28 02:33

Re: [ANNOUNCE] COMPCACHE on kernel-power
 
even if i used 100mb
N900 gets laggy (very much) when the ramzswap is nearly full

i see 20mb does no problems but not sure if any better performance


All times are GMT. The time now is 02:08.

vBulletin® Version 3.8.8