![]() |
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Ok now I have better solution for you to try.
There is no out of memory condition. But low memory killer is way too aggressive. Phone doesn't even swap when it starts to kill apps. I have 17 apps running. Including 4 different browsers with page open. After these tweaks no OOMs or lowmemory kills yet. This is what I did: echo "80" > /proc/sys/vm/swappiness echo "32 24" > /proc/sys/vm/lowmem_reserve_ratio echo "100" > /proc/sys/vm/percpu_pagelist_fraction echo "98304" > /proc/sys/vm/extra_free_kbytes |
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
btw, for people that dont care about Android that much, or want to limit the trouble maker, under /opt/alien/system is a build.prop file where you can mess with the heap size to your hearts content,
Quote:
|
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
This morning I started up 9 apps (Browser, meecast, 2 Android IM apps, Gmaps etc.) and have been using and switching between them all day. Not one of them has closed by itself and the phone is mostly as smooth as with fewer apps. The only tweak I've made is to increase vm.swappiness to 60 in /etc/sysctl.d/vm.conf file.
So as of now I'm very happy with the performance and behaviour! There must be something that is different between users since I've never had Jolla to run so great and others are declaring the death of multitasking :confused: |
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
For me tweetian, gpodder, tt-rss alone would sometimes close stuff, if I open a browser for articles from tt-rss it would sometimes close all apps. overcommit helped some trying swappiness and some others now. Why can't we match the N900?
|
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Quote:
So where is the difference between tweaking /etc/sysctl.d/vm.conf and /proc/sys/vm/ and what is better? :) |
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
changing vm.conf is persistent across reboots. /proc/sys/vm is set by that script.
setting /proc/sys/vm directly affects this boot but if you reboot it will revert. You have to put your changes in a startup script if you want them to persist. |
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Quote:
|
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Quote:
|
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Dammit, it even killed the music player while playing !
Sailors, enjoy your holidays, because you have some serious work to do on this when back in January ! ;) |
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Yes it kills music players while playing or gpodder. I don't feel that they have that much work to do, it's probably just settings that need to be discussed. I had a lot of improvement raising overcommit and swappiness. For those who don't feel comfortable messing with startup scripts to make settings persistent not sure what should be done, Jolla release something seems the best otherwise something in openrepos. A lot of discussion can be done on what the "correct" settings should be. korppi has some interesting ideas above.
|
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
they can put this stuff in the utilities section in the settings
|
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Yea I think that's a good place for it.
messing with settings described in this thread seems to have totally fixed it for me. Have gpodder, tweetian, tt-rss, android weechat, meecast, and I can launch the browser from tt-rss to read a full article and I have no issues at all, nothing is killed. |
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Quote:
BTW if someone doesn't follow the TJC thread - a Jolla employee just posted an comment: Quote:
|
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
If you want something added to the Utilities to change OOM stuff: https://github.com/sailfishos/sailfish-utilities
|
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
^nothing _new_ ...
|
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Had one app close today and gave up and did
"echo "0,0,0,0,0" > /sys/module/lowmemorykiller/parameters/minfree" from https://together.jolla.com/question/...#comment-73891 |
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Quote:
|
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Quote:
One favorite bug as an example for this that I helped fix a few months ago was a SQL query in Messages taking well over a second for someone (freezing the UI the whole time), whereas for me it didn't even take more than 20ms. Something on his device was clearly off. I never really looked into that part, rather hard to do remotely, but I did fix the query: https://github.com/nemomobile/libcom...a02b61a74a3192 |
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Quote:
Ok, from my testing this seems to kill oom-killer for good: Code:
echo '9999' > /sys/module/lowmemorykiller/parameters/adjthanks to nieldk |
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Quote:
What are the commands to revert this please? |
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
I think the premiss of this thread is dead wrong. In order to multi-task you just need to own multiple devices...
|
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Quote:
10 chars |
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Quote:
|
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Yeah, OK. To check your Facebook whilst driving you need a smartphone AND a car.
|
Re: [SFOS][1.1.0.27][OOM] The death of multitasking?
Quote:
Actually, I've noticed that multitasking has improved somewhat on Android. My apps do not randomly die when put in background. Of course my phone has 6GB ram! |
| All times are GMT. The time now is 12:49. |
vBulletin® Version 3.8.8