[SERVER-18763] Use get_mempolicy() or /proc/zoneinfo instead of /sys/devices/system/node/node1 to determine if NUMA is present Created: 01/Jun/15 Updated: 10/May/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Admin |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kevin Pulo | Assignee: | DO NOT USE - Backlog - Platform Team |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | move-sa, platforms-re-triaged | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
When the NUMA startup warning tries to determine if the host has more than 1 NUMA node, it looks for the existence of /sys/devices/system/node/node1. However, this is needlessly fragile because /sys might
Better approaches to determine the number of NUMA nodes are to either use the get_mempolicy() Linux syscall, or as a fallback, look for a line starting with "Node 1" in /proc/zoneinfo. |
| Comments |
| Comment by Steven Vannelli [ 10/May/22 ] |
|
Moving this ticket to the Backlog and removing the "Backlog" fixVersion as per our latest policy for using fixVersions. |