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

More psi-monitor info #400

Merged
merged 4 commits into from
Apr 16, 2024
Merged

More psi-monitor info #400

merged 4 commits into from
Apr 16, 2024

Conversation

dbnicholson
Copy link
Member

Get some more information out of psi-monitor so we can see what's happening.

https://phabricator.endlessm.com/T35318

The more proper way to do this would be to determine them in configure,
but for such a basic C program I think we can just blindly turn them all
on and error on warnings.

https://phabricator.endlessm.com/T35318
Very basic `getopt_long` usage to allow adding options.

https://phabricator.endlessm.com/T35318
Show the current pressure, the threshold and the recovery time when
triggering an OOM to give more of a clue about what's happening.

https://phabricator.endlessm.com/T35318
@dbnicholson dbnicholson requested review from dsd and wjt April 16, 2024 15:31
@dsd
Copy link
Member

dsd commented Apr 16, 2024

Could we also have a cmdline arg to adjust the 10% default threshold? Would be handy for experimenting with other values.

@dsd dsd merged commit f1c9332 into master Apr 16, 2024
2 checks passed
@dsd dsd deleted the T35318-psi-monitor-data branch April 16, 2024 16:01
@dbnicholson
Copy link
Member Author

Could we also have a cmdline arg to adjust the 10% default threshold? Would be handy for experimenting with other values.

Indeed, that's half the reason I added the option parsing, but then I forgot to do it!

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