View Single Post
willi6868's Avatar
Posts: 548 | Thanked: 562 times | Joined on Aug 2011 @ Germany
#53
Originally Posted by synt View Post
The only tweak I've made is to increase vm.swappiness to 60 in /etc/sysctl.d/vm.conf file.
I also tweaked this value now and it seems to work quite well till now.

BTW if someone doesn't follow the TJC thread - a Jolla employee just posted an comment:

Originally Posted by tigeli
Ok, in short... you can play with these:
  • /sys/module/lowmemorykiller/parameters/adj (0,58,117,529,1000)
  • /sys/module/lowmemorykiller/parameters/minfree (4096,6144,8192,12288,20000)
  • /proc/sys/vm/extra_free_kbytes (16384)

First sets oom_score-values for group of apps running inside of those values, second sets the values how much memory should be always available before killing apps in that group starts. Third sets the value of how much memory should always kept free.

Example.. apps having oom_score between 0 and 57 will not be killed before the memory has gone below 40964 = 16384kB. Apps having oom_score 1000 will be killed if there is less than 200004 = 80000kB available memory.
Maybe someone could provide some nice values for fine tuning.
__________________
Nokia N80 -> Nokia N900 -> Nokia N9 -> Jolla Phone & Jolla Tablet -> Sony Xperia XA2 (SFOS)
 

The Following 8 Users Say Thank You to willi6868 For This Useful Post: