-
Notifications
You must be signed in to change notification settings - Fork 65
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
Conversation
f5ed233
to
fab6025
Compare
There was a problem hiding this 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.
@vadmeste have changed it to |
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
Co-authored-by: Shubhendu <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Add a new node
thp-config
undersys -> 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