Sample Header Ad - 728x90

What reasonable value of swappiness should I config to get better performance?

3 votes
1 answer
3946 views
In the process of optimizing the Android system, the configuration of the 'swappiness' value is crucial. The value path is /proc/sys/vm/swappiness. Some sources suggest setting it to 60, while others recommend setting it to 120. Some sources state that its maximum value is 100, while others claim it is 200, which confuses me. How can I confirm the maximum value supported in my system? Links I can find on Stack Overflow: - Why swappiness in AWS EC2 is 60 although there is no swap space by default - What are the exact conditions based on which Linux swaps process(s) memory from RAM to a swap file? - What is VM.swappiness a percentage of?
Asked by morty morty (33 rep)
Feb 6, 2024, 05:57 AM
Last activity: Mar 21, 2025, 12:36 AM