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

Capture transparent hugepages config in health report #258

Merged
merged 5 commits into from
Jan 19, 2024

Conversation

anjalshireesh
Copy link
Contributor

Add a new node thp-config under sys -> config and inside it add values from following config files:

/sys/kernel/mm/transparent_hugepage/enabled
/sys/kernel/mm/transparent_hugepage/defrag
/sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none

ref: https://tip.golang.org/doc/gc-guide#Linux_transparent_huge_pages

@anjalshireesh anjalshireesh changed the title Capture trasparent hugepages config in health report Capture transparent hugepages config in health report Jan 2, 2024
@anjalshireesh anjalshireesh force-pushed the health branch 2 times, most recently from f5ed233 to fab6025 Compare January 2, 2024 12:55
@anjalshireesh anjalshireesh marked this pull request as ready for review January 2, 2024 12:57
Copy link
Member

@vadmeste vadmeste left a comment

Choose a reason for hiding this comment

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

@anjalshireesh maybe we can make this structure more generic; there are a lot of entries under '/sys/kernel/mm/transparent_hugepage/' and I think we may need all of them in the future. It shouldn't hurt to have a generic structure to contain many entries.

@anjalshireesh
Copy link
Contributor Author

@anjalshireesh maybe we can make this structure more generic; there are a lot of entries under '/sys/kernel/mm/transparent_hugepage/' and I think we may need all of them in the future. It shouldn't hurt to have a generic structure to contain many entries.

@vadmeste have changed it to map, PTAL.

health.go Outdated Show resolved Hide resolved
health.go Outdated Show resolved Hide resolved
Add a new node `thp-config` under `sys -> config` and inside it add
values from following config files:

/sys/kernel/mm/transparent_hugepage/enabled
/sys/kernel/mm/transparent_hugepage/defrag
/sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_none

ref: https://tip.golang.org/doc/gc-guide#Linux_transparent_huge_pages
health.go Outdated Show resolved Hide resolved
Co-authored-by: Shubhendu <[email protected]>
Copy link
Contributor

@shtripat shtripat left a comment

Choose a reason for hiding this comment

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

lgtm

@harshavardhana harshavardhana merged commit a99e528 into minio:main Jan 19, 2024
5 checks passed
@anjalshireesh anjalshireesh deleted the health branch January 19, 2024 12: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.

5 participants