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

psi-monitor: Raise default memory pressure threshold to 30% #402

Closed
wants to merge 1 commit into from

Conversation

starnight
Copy link
Contributor

Current PSI monitor's default memory pressure threshold is 10%. However, according to the application usage, the memory pressure (full avg10) exceeds the threshold 10% easily, then PSI monitor triggers OOM killer to kill a process for taking memory back. But, there is still some available memory space at the moment. That means it is too sensitive on some users' side.

Thanks to the statistics of application usage and the memory pressure measured by Daniel. This commit raises the memory pressure threshold to 30% for trying more widely. Hope it get to the balance more closely.

Besides, add a comment about the memory pressure interface provided by kernel.

https://phabricator.endlessm.com/T35318

Current PSI monitor's default memory pressure threshold is 10%. However,
according to the application usage, the memory pressure (full avg10)
exceeds the threshold 10% easily, then PSI monitor triggers OOM killer
to kill a process for taking memory back. But, there is still some
available memory space at the moment. That means it is too sensitive on
some users' side.

Thanks to the statistics of application usage and the memory pressure
measured by Daniel. This commit raises the memory pressure threshold to
30% for trying more widely. Hope it get to the balance more closely.

Besides, add a comment about the memory pressure interface provided by
kernel.

https://phabricator.endlessm.com/T35318
@dsd
Copy link
Member

dsd commented Apr 18, 2024

merged my own version at 40%. let's try!

@dsd dsd closed this Apr 18, 2024
@dsd dsd deleted the T35318-raise-mem-threshold branch April 18, 2024 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants