fix(topology): attach SNC/NPS NUMA nodes to their real socket
Topology mapped one NUMA node per CPU, so on a 2-socket SNC2 host (nodes 0-3) node 1 went to CPU1 and nodes 2-3 got no CPU: the second BlueField-3, four GPUs and several NICs rendered unattached. Use numa-nodes.txt (node=N package=P), now carried by parser v26 as TopologyEvidence.NUMANodes; without it, fall back to contiguous per-socket blocks of zero-based node ids. Pin parser v26.0.0. ADL-082. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
23cda0fc83
commit
c4870cfb36
46 files changed
+155
-53
No files matched your search
@@ -2455,3 +2455,28 @@ boundary for archive parsing and Redfish replay.
|
||||
**Consequences:** Uploads, batch conversion, and live Redfish analysis use the
|
||||
updated library. Existing archives must be reopened to receive the new parsing
|
||||
behavior. Historical decision records retain the module paths used at the time.
|
||||
|
||||
## ADL-082 — Topology maps zero-based NUMA nodes to sockets in contiguous blocks
|
||||
|
||||
**Date:** 2026-10-19
|
||||
|
||||
**Context:** G894-SD3-AAX7-000 (2× Xeon 6760P, SNC2) reports NUMA nodes 0–3
|
||||
(`numa-nodes.txt`: 0,1 → package 0; 2,3 → package 1). `buildNUMAMap` assigned
|
||||
one NUMA node per CPU by rank, so node 1 went to CPU1 and nodes 2–3 got no CPU:
|
||||
the second BlueField-3, a CX7, four GPUs and four CX8 rendered as unattached
|
||||
topology nodes.
|
||||
|
||||
**Decision:** The exact map comes first: parser v26 carries the raw
|
||||
`numa-nodes.txt` as `TopologyEvidence.NUMANodes`, and topology attaches node
|
||||
`N` to the CPU whose socket is package `P` (`node=N package=P`). Without that
|
||||
evidence (other sources, older bundles) the fallback applies: when NUMA ids are
|
||||
zero-based, a socket owns `ceil((maxNode+1)/cpuCount)` consecutive nodes and
|
||||
node `n` attaches to `cpu[n/perSocket]` — the Linux numbering for SNC/NPS.
|
||||
Without SNC this is the same one-node-per-socket mapping as before. Non-zero-based
|
||||
ids keep the socket-number match. The parser dependency moves from v20 to v26
|
||||
(no logpile API changes were needed).
|
||||
|
||||
**Consequences:** easy-bee bundles with `numa-nodes.txt` attach every PCIe
|
||||
device to its real socket. For sources without the map, the fallback can still
|
||||
misplace devices when only the low nodes of a socket carry them (SNC2 with
|
||||
devices on nodes 0 and 1 only: node 1 lands on CPU1).
|
||||
Reference in new issue
Block a user