-
Notifications
You must be signed in to change notification settings - Fork 341
DAOS-18375 control: Set scm_hugepages_disabled default to true #17526
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
base: master
Are you sure you want to change the base?
Conversation
Features: control Signed-off-by: Tom Nabarro <thomas.nabarro@hpe.com>
|
Ticket title is 'Set scm_hugepages_disabled default to true' |
|
Test stage Functional Hardware Medium Verbs Provider MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17526/1/execution/node/1356/log |
|
Test stage Functional Hardware Medium MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17526/1/execution/node/1336/log |
knard38
left a comment
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.
From my understanding there is some minor fixes to be done.
utils/config/daos_server.yml
Outdated
| @@ -420,7 +420,8 @@ | |||
| # # When class is set to ram, tmpfs will be mounted with hugepage | |||
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.
The comments associated to scm_hugepages_disabled should probably be updated as it will be mounted without huge page enabled by default from my understanding.
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.
done
| `, | ||
| expResult: true, | ||
| }, | ||
| // "explicitly set to false": { |
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.
To remove as it is tested in TestStorage_ScmConfig_DisableHugepages_MultipleEngines ?
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.
done
|
Test stage Functional Hardware Medium MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17526/2/execution/node/468/log |
Features: control Signed-off-by: Tom Nabarro <thomas.nabarro@hpe.com>
…mhuge-disabled-default Features: control Signed-off-by: Tom Nabarro <thomas.nabarro@hpe.com>
knard38
left a comment
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
Features: pool Signed-off-by: Tom Nabarro <thomas.nabarro@hpe.com>
daltonbohning
left a comment
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.
ftest LGTM
|
Test stage Functional on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17526/5/execution/node/1088/log |
|
Test stage Functional on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17526/6/execution/node/449/log |
|
|
||
| // Config A written from uncommented file with scm_hugepages_disabled: false | ||
| // set explicitly whereas when config B yaml gets written, | ||
| // scm_hugepages_disabled is omitted (omitempty) and therefore when read is |
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.
If true is the default, isn't omitempty no longer correct? Since empty == false == non-default. Maybe I'm missing something here.
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.
This is a bit tricky. Without "omitempty", each storage tier will output scm_hugepages_disabled: false on unmarshal regardless as to whether it's SCM type or not. This as a result of in-lining both ScmConfig and BdevConfig types into the TierConfig struct. The lessor of two evils IMO is to hack this test into understanding the asymmetry.
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.
Ah. Yeah that's a bit ugly. That makes me a bit concerned about any other strange incongruities, though. Is this a switch people can flip in the autoconfig flow? If so wouldn't omitempty cause a problem for the case users are actually trying to address?
|
Test stage Functional Hardware Large MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17526/7/execution/node/687/log |
|
Test stage Functional Hardware Medium MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17526/7/execution/node/803/log |
|
Test stage Functional Hardware Large MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17526/8/execution/node/468/log |
|
Test stage Functional Hardware Medium MD on SSD completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-17526/8/testReport/ |
Set scm_hugepages_disabled to true in yaml unmarshal function before
unmarshalling so the default is true if unset in the config file.
Features: control
Steps for the author:
After all prior steps are complete: