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)

slender 2010-09-16 06:55

Re: How to set swappiness?
 
@jorjino
No need to. This is about how kernel governs memory usage of running apps.

onion 2010-09-16 09:04

Re: How to set swappiness?
 
Quote:

Originally Posted by slender (Post 802678)
btw.
is it possible to unload preloaded modest and browserd?

yes, just kill them and they will restart.

evad 2010-09-22 09:32

Re: How to set swappiness?
 
Quote:

Originally Posted by kaze.daniel (Post 815333)
what about that:

HTML Code:

# my rcS.e fix

start on started rcS-late

script
      echo 30 > /proc/sys/vm/swappiness
      echo 0 > /proc/sys/vm/page-cluster
      echo 1 > /proc/sys/vm/laptop_mode
      echo 1 > /proc/sys/vm/oom_kill_allocating_task
      echo 0 > /proc/sys/vm/dirty_expire_centisecs
      echo 0 > /proc/sys/vm/dirty_writeback_centisecs
      echo 60 > /proc/sys/vm/dirty_background_ratio
      echo 95 > /proc/sys/vm/dirty_ratio
      echo 0 > /proc/sys/net/ipv4/tcp_timestamps
      echo 1 > /proc/sys/net/ipv4/tcp_no_metrics_save
end script


After applying that and having now 6 days of uptime, I must say my N900 is... well, still bearable. So there is definitely some sort of improvement in my case.

j.s 2010-10-10 22:37

Re: How to set swappiness?
 
Quote:

Originally Posted by ossipena (Post 591418)
I'd leave it be, it probably has already been optimized.

Since that post is so early in this thread, would you like to rethink that position and maybe edit the post?

It seems to be the experience of many people that the default swappiness of 100 on the n900 is far from optimum.

After reading the optimize and swapolube threads for weeks, it seemed to me the one change worth making to improve responsiveness. I tried 30 and that seems to be working well for some weeks.

This thread is the first hit for a power search on swappiness.


All times are GMT. The time now is 06:37.

vBulletin® Version 3.8.8