Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(hybris) seine: init: fix low memory killer thresholds and score values #10

Merged
merged 1 commit into from Jun 30, 2021

Conversation

sledges
Copy link
Contributor

@sledges sledges commented Jun 30, 2021

Set minfree to 6 times higher values, only then lmkd starts killing native
Sailfish OS apps (otherwise it only kills within the App Support container,
and when there are many native apps, Android apps eventually get killed upon
launch).

6-fold values have been obtained empirically. Anything lower than that will
cause to run out of swap space eventually.

'adj' defaults to '0,1,6,12' on this system, thus set its values to match
Jolla C, where lmkd was fine tuned for OOM situations.

Set minfree to 6 times higher values, only then lmkd starts killing native
Sailfish OS apps (otherwise it only kills within the App Support container,
and when there are many native apps, Android apps eventually get killed upon
launch).

6-fold values have been obtained empirically. Anything lower than that will
cause to run out of swap space eventually.

'adj' defaults to '0,1,6,12' on this system, thus set its values to match
Jolla C, where lmkd was fine tuned for OOM situations.

[hybris] seine: init: fix low memory killer thresholds and score values. Fixes JB#54056

Signed-off-by: Simonas Leleiva <simonas.leleiva@jolla.com>
@sledges sledges merged commit 113ac5f into hybris-sony-aosp-10 Jun 30, 2021
@sledges sledges deleted the fix-lmkd-oom branch June 30, 2021 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants