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)

Seker_94 2011-09-24 13:46

Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
 
bumping -_-

i have a single question

Does COMPCACHE effect our n900 or it doesn't?

werks 2011-09-24 15:37

Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
 
Quote:

Originally Posted by don_falcone (Post 1086681)
Thanks for that bit. Is there a way that busybox' swapon would include swap priorities in a future update? That way we could omit the swapoff/swapon workaround.

EDIT: There's the mount package, supportingly with priority support for swap.

EDIT2: Said mount package has unmet python dependencies on my device. Bummer.

there is a package called busybox-power which supports priority for swap.

knobby 2011-09-24 15:49

Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
 
pls tell me that why compcache is better than swap memory as in compressing process cpu requires some time and doesn't that make phone operation slow...?

Mohammad 2011-09-24 16:00

Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
 
i didn't have any better performance with compcache
but reboots many reboots

@knobby
@seker_94
don't give sh|t about COMPCACHE
if you want extra performance just use speedpatch

maacruz 2011-09-24 17:00

Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
 
Quote:

Originally Posted by Seker_94 (Post 1095059)
bumping -_-

i have a single question

Does COMPCACHE effect our n900 or it doesn't?

Question has no meaning. Use compcache if you want, if you don't want to use it, it doesn't affect you.

Quote:

Originally Posted by knobby (Post 1095178)
pls tell me that why compcache is better than swap memory as in compressing process cpu requires some time and doesn't that make phone operation slow...?

It is much more complex than that. Compressing a page takes noticeable cpu, but decompressing is very fast. On the other hand, mmc also takes a fair amount of cpu, and it can be very slow or fast depending on the hardware controller, and the pattern of usage (unaligned writes for example). In the N8x0 , the mmc is rather slow, and even having a much slower cpu than the N900, compcache is a very noticeable gain.
Compcache is kernel development, so it is not a trivial thing, and there are still issues to be resolved in the N900. Until they are, the real gain can't be assessed.

Quote:

Originally Posted by Mohammad (Post 1095192)
i didn't have any better performance with compcache
but reboots many reboots

@knobby
@seker_94
don't give sh|t about COMPCACHE
if you want extra performance just use speedpatch

This is a thread for the development of compcache for the N900.
Please don't pollute this thread with senseless chatter. That script you refer to isn't a patch and doesn't affect performance in any way.

knobby 2011-09-24 17:34

Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
 
Quote:

Originally Posted by maacruz (Post 1095252)
Question has no meaning. Use compcache if you want, if you don't want to use it, it doesn't affect you.


It is much more complex than that. Compressing a page takes noticeable cpu, but decompressing is very fast. On the other hand, mmc also takes a fair amount of cpu, and it can be very slow or fast depending on the hardware controller, and the pattern of usage (unaligned writes for example). In the N8x0 , the mmc is rather slow, and even having a much slower cpu than the N900, compcache is a very noticeable gain.
Compcache is kernel development, so it is not a trivial thing, and there are still issues to be resolved in the N900. Until they are, the real gain can't be assessed.


This is a thread for the development of compcache for the N900.
Please don't pollute this thread with senseless chatter. That script you refer to isn't a patch and doesn't affect performance in any way.

i agree with u ... but since mmc of n900 is quite large and moreover swapping to mmc is quite fast as compared to other nseries tablets and cpu is also better than them, and whats the idea of introducing compcache...?

vi_ 2011-09-24 17:47

Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
 
Quote:

Originally Posted by Mohammad (Post 1095192)
i didn't have any better performance with compcache
but reboots many reboots

@knobby
@seker_94
don't give sh|t about COMPCACHE
if you want extra performance just use speedpatch

It is better to be thought a noob than to post and prove it.

maacruz 2011-09-24 19:00

Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
 
Quote:

Originally Posted by knobby (Post 1095278)
i agree with u ... but since mmc of n900 is quite large and moreover swapping to mmc is quite fast as compared to other nseries tablets and cpu is also better than them, and whats the idea of introducing compcache...?

Yes, it surprised me how well the internal mmc and the swap partition in the N900 behaves. I guess they have added a much better controller in the N900, with several buffers, to get that performance.
Anyway, I think it is worth trying compcache, and if we don't try, we'll never know. From the ramzswap stats in my N810, after hte initial phase, most swap usage is reading and not writing, so it is possible that we can get significant gains in the N900 too.

Vento 2011-09-24 20:14

Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
 
Hi after appliy this mod can I use proposed Swappolube values or I need something new?

Sorry for my bad english, I'm italian...

werks 2011-09-25 08:43

Re: [ANNOUNCE] COMPCACHE on kernel-power (now with notifications)
 
i am using a disksize of 65536
and have my swap of about 750mb on my micro sd card,
both with the same swap priority.

for me anything above 64mb causes the massive lag experienced by a few people.

thanks freemangordon for all youve done so far.


All times are GMT. The time now is 17:20.

vBulletin® Version 3.8.8