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)

freemangordon 2011-08-28 03:18

Re: [ANNOUNCE] COMPCACHE on kernel-power
 
Strange, i don't have such problems, seems that not using optimisation scripts with unknown effect is preferable option.

Mohammad 2011-08-28 03:23

Re: [ANNOUNCE] COMPCACHE on kernel-power
 
after esting i had the same problem as karam
when the ramzswap0 gets near to full
n900 starts to lag untill reboot

evan 2011-08-28 06:48

Re: [ANNOUNCE] COMPCACHE on kernel-power
 
second test, same results, after a couple of hours, application web closed. and then everything was stuck.
third test, I reduced ramzsawp to half size and so far so good

edit:
insmod /lib/modules/current/ramzswap.ko disksize_kb=131072
wait a minute. does the n900 have 131mb free even after boot?
and then we momentarily swapoff the default partition,so 131mb have to be real ram. very risky operations.

Quote:

Originally Posted by freemangordon (Post 1077711)
EDIT: btw I would not expect miracles as we are adding only about 60 MB for 128MB swap

are you sure with the above disksize we are not adding double that? is'nt the disksize the ram we are asking and not the target?

Hurrian 2011-08-28 08:33

Re: [ANNOUNCE] COMPCACHE on kernel-power
 
Performance is not quite up to par without ramzswap. It seems that swap notifications are a must!

412b 2011-08-28 12:34

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

Originally Posted by evan (Post 1077857)
insmod /lib/modules/current/ramzswap.ko disksize_kb=131072
wait a minute. does the n900 have 131mb free even after boot?
and then we momentarily swapoff the default partition,so 131mb have to be real ram. very risky operations.
are you sure with the above disksize we are not adding double that? is'nt the disksize the ram we are asking and not the target?

"disksize_kb is upper limit on uncompressed worth of data given device can hold. While, memlimit_kb is upper limit on compressed worth of data given device can hold.

I understand that specifying disksize_kb value as upper limit on uncompressed data size seems bit counter-intuitive but this is how it is... We need to present a "fixed-size" disk to kernel." (from the author of compcache).

freemangordon 2011-08-28 12:40

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

Originally Posted by Hurrian (Post 1077873)
Performance is not quite up to par without ramzswap. It seems that swap notifications are a must!

Agree, will do my best to make them functional.

Hurrian 2011-08-28 14:27

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

Originally Posted by freemangordon (Post 1077991)
Agree, will do my best to make them functional.

Damn, freemangordon! First 720p, now compcache!
Maemo 5 is looking really good. And it's looking better now that we will soon not need to swap on the slow flash ever again.

jormartr 2011-08-28 14:32

Re: [ANNOUNCE] COMPCACHE on kernel-power
 
Swapping on flash won't go away never, but it can improve, I hope.

mesho123 2011-08-28 14:53

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

it's useful to install ?

vi_ 2011-08-28 14:57

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

Originally Posted by mesho123 (Post 1078027)
what is compcache do ?

it's useful to install ?

Read the thread idiot.


All times are GMT. The time now is 00:26.

vBulletin® Version 3.8.8