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

Enable PSI #1161

Merged
merged 1 commit into from
Feb 7, 2023
Merged

Enable PSI #1161

merged 1 commit into from
Feb 7, 2023

Conversation

cartermckinnon
Copy link
Member

Issue #, if available:

Closes #660

Description of changes:

Adds the psi=1 flag to the kernel command line.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done

Built a 1.24 AMI, and launched an instance. The pressure fs is mounted:

> cat /proc/pressure/cpu
some avg10=0.01 avg60=0.54 avg300=0.26 total=1072827

> cat /proc/pressure/memory
some avg10=0.00 avg60=0.00 avg300=0.00 total=0
full avg10=0.00 avg60=0.00 avg300=0.00 total=0

> cat /proc/pressure/io
some avg10=1.25 avg60=9.73 avg300=4.58 total=16250491
full avg10=1.24 avg60=9.20 avg300=4.26 total=15030917

Copy link
Member

@dims dims left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dims dims merged commit 671ce3f into master Feb 7, 2023
@dims dims deleted the enable-psi branch February 7, 2023 04:00
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.

Enable Linux PSI metrics
2 participants