Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vmscan: Reduce swapping aggressiveness to 10
Since Android 12, memory management on Androids has been affected significantly, especially on devices with <=4GB RAMs. Multitasking on default settings was a horror and introducing custom Low Memory Killers like SLMK did no much improvements. Introduction of MGLRU seems to have relaxed this situation and now apps don't get killed randomly. Instead, they get swapped to zRAM aggressively. In such situation, reducing swappiness parameter seems to have helped alot in multitasking and it seems fluid now. Test: on normal usage, keep 5-6 apps and use them in repeat. Outcome: none of them gets killed or swapped on in a short epoch, while 60% still stays in memory after 7 hours idling. Signed-off-by: Panchajanya1999 <[email protected]> Signed-off-by: txexcalibur <[email protected]>
- Loading branch information