Reply
Thread Tools
Posts: 195 | Thanked: 96 times | Joined on May 2011
#141
bumping -_-

i have a single question

Does COMPCACHE effect our n900 or it doesn't?
 

The Following User Says Thank You to Seker_94 For This Useful Post:
Posts: 41 | Thanked: 13 times | Joined on Feb 2010 @ Australia
#142
Originally Posted by don_falcone View Post
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.
 
Posts: 159 | Thanked: 68 times | Joined on Sep 2011 @ India
#143
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...?
 

The Following User Says Thank You to knobby For This Useful Post:
Posts: 105 | Thanked: 49 times | Joined on Jul 2011
#144
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
 
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#145
Originally Posted by Seker_94 View Post
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.

Originally Posted by knobby View Post
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.

Originally Posted by Mohammad View Post
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.
 

The Following 14 Users Say Thank You to maacruz For This Useful Post:
Posts: 159 | Thanked: 68 times | Joined on Sep 2011 @ India
#146
Originally Posted by maacruz View Post
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...?
 
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#147
Originally Posted by Mohammad View Post
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.
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.
 

The Following 10 Users Say Thank You to vi_ For This Useful Post:
Posts: 1,101 | Thanked: 1,184 times | Joined on Aug 2008 @ Spain
#148
Originally Posted by knobby View Post
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.
 

The Following 3 Users Say Thank You to maacruz For This Useful Post:
Posts: 178 | Thanked: 91 times | Joined on May 2011 @ Mira (Venice) - Italy
#149
Hi after appliy this mod can I use proposed Swappolube values or I need something new?

Sorry for my bad english, I'm italian...
 
Posts: 41 | Thanked: 13 times | Joined on Feb 2010 @ Australia
#150
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.
 
Reply


 
Forum Jump


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