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:
Mikhail ChusavitinandClaude Opus 5.5 committed 2026-10-19 13:41:22 +03:00
1 parent 23cda0fc83
commit c4870cfb36
46 files changed
+155 -53

No files matched your search

+2 -2
View File
@@ -16,8 +16,8 @@ import (
"time"
"git.mchus.pro/mchus/logpile/internal/exporter"
parser "git.mchus.pro/reanimator/parser/v20"
"git.mchus.pro/reanimator/parser/v20/models"
parser "git.mchus.pro/reanimator/parser/v26"
"git.mchus.pro/reanimator/parser/v26/models"
)
const auditSchema = "logpile.cpu-identity-audit.v1"
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"testing"
"git.mchus.pro/mchus/logpile/internal/exporter"
"git.mchus.pro/reanimator/parser/v20/models"
"git.mchus.pro/reanimator/parser/v26/models"
)
func TestIsAuditCandidate(t *testing.T) {
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"git.mchus.pro/mchus/logpile/internal/server"
"git.mchus.pro/mchus/logpile/web"
parser "git.mchus.pro/reanimator/parser/v20"
parser "git.mchus.pro/reanimator/parser/v26"
)
var (