maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   How to set swappiness? (https://talk.maemo.org/showthread.php?t=48966)

debernardis 2010-09-14 05:24

Re: How to set swappiness?
 
The tuning lines described by kaze.daniel and allnameswereout seem to work wonders on my n900. Music doesn't stutter at all like when I edited only swappiness and page-cluster. The GUI is superfluid like liquid helium. Life's good :) Thanks guys!

elbttrd 2010-09-14 21:54

Re: How to set swappiness?
 
Quote:

Originally Posted by slender (Post 802678)
I have also tested swappiness 30 and page-cluster 0. I'm pretty sure that responsivness has been better. I would be highly interested on possible side-effects on these changes.

are you still using these settings? any bad side-effects? thanks!

slender 2010-09-14 22:41

Re: How to set swappiness?
 
nope, but unfortunately i have had couple of shutdowns. These were done by purpose. So no long uptime (3 days or more) tests.

I have also applied other tweaks (made tuning file to /etc/event.d/ dir) and still no ill side effects. IMO the biggest difference came with just swappiness 30. I should try to make heavy banging with multimedia/browser + sleep + test how it wakes up when call comes.

still i would like to get more information about purpose of swapon and swapoff commands. Why, when, how?

debernardis 2010-09-15 09:19

Re: How to set swappiness?
 
I liked kaze.daniel and allnameswereout's hack so much that made a debian package for everybody to test it without the need for messing with root terminal.

See here.

allnameswereout 2010-09-15 11:33

Re: How to set swappiness?
 
Neat but please note nobody has tested any of the settings. Speaking for myself, I am able to experience an improvement (more snappier) with swappiness = 30. The settings have to be carefully tested and benchmarked in order to declare them both usable and safe. One could argue "if it doesn't hurt, it doesn't matter" but I don't recommend to the general public changing too many settings you don't know effect about. That said, if anyone can explain how to benchmark the effects I'd love to share the benchmarks from my machines.

zlatko 2010-09-15 11:51

Re: How to set swappiness?
 
I am running swappiness at 30 for about a week. Haven't noticed any improvements neither in speed or battery life. Haven't noticed any deterioration either though.
So the effects can not be felt in everyday use(for my phone and usage pattern).

PS. @allnameswereout - I am using stock kernel without any modifications.

jnack95 2010-09-15 12:12

Re: How to set swappiness?
 
Quote:

Originally Posted by zlatko (Post 816770)
I am running swappiness at 30 for about a week. Haven't noticed any improvements neither in speed or battery life. Haven't noticed any deterioration either though.
So the effects can not be felt in everyday use(for my phone and usage pattern).

Same here....

allnameswereout 2010-09-15 12:37

Re: How to set swappiness?
 
Here is a compilation of observations made by N900 users shared in this thread when using swappiness = 30.

Battery-life improved & responsiveness improved & no regressions
pycage
hackfanatic

Responsiveness improved
slender note: and page-cluster 0
JaseP
iareraccoon note: using knownokia.ca's settings compared to merely swapiness = 15

No improvements & no regressions
memoryguy
zlatko
jnack95

Note that nobody has specified which kernel they're using. I'm not sure whether this is relevant.

You're encouraged to verify my compilation, improve details on your (future) reports, and use above compilation as basis in next analysis of this tweak whether in this thread or on wiki.

debernardis 2010-09-15 12:53

Re: How to set swappiness?
 
I found no particular effect from swappiness changing alone, but the complete set of new values you quoted from kaze.daniel worked wonders on my nit. I haven't had a jerkiness in the user interface since I changed them.

allnameswereout 2010-09-15 13:29

Re: How to set swappiness?
 
Quote:

Originally Posted by debernardis (Post 816825)
I found no particular effect from swappiness changing alone, but the complete set of new values you quoted from kaze.daniel worked wonders on my nit. I haven't had a jerkiness in the user interface since I changed them.

Have you noticed a decrease of screen tearing?


All times are GMT. The time now is 09:41.

vBulletin® Version 3.8.8