NUMA stress test fails, requires upstream fix stress-numa: fix calculation of max nodes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stress-ng |
Fix Released
|
Medium
|
Colin Ian King | ||
stress-ng (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Cosmic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
SRU Cosmic, Bionic
[Justification]
The stress-ng numa stress fails because of a miscalculation of the maximum number of NUMA nodes.
Previously we were getting an upper bound to the number of max nodes instead of the actual number.
That made migrate_pages() fail in some devices due to having bits in the masks set beyond the maximum node identifier.
[Fix]
he fix is to the count of bits in "Mems_allowed" to calculate the maximum number of NUMA nodes. Upstream fix already in -proposed for Disco.
This won't be fixed for Xenial as it has a much older mechanism for checking NUMA nodes and backporting all the changes to apply this fix is too risky for a SRU.
[Regression Potential]
This could break the NUMA stress-ng stressor node checking if this fix is incorrect; however it currently is broken so the change won't make the situation any worse than it is now.
Changed in stress-ng: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Colin Ian King (colin-king) |
description: | updated |
Changed in stress-ng: | |
status: | In Progress → Fix Released |
Hello Colin, or anyone else affected,
Accepted stress-ng into cosmic-proposed. The package will build now and be available at https:/ /launchpad. net/ubuntu/ +source/ stress- ng/0.09. 42-1ubuntu2 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification- needed- cosmic to verification- done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed- cosmic. In either case, without details of your testing we will not be able to proceed.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance for helping!
N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.