Install ENV:
- DMI: 【需补全:boot界面显示的主板DMI字符串】
- CPU: AMD EPYC 7K62 (48-Core / 96-Thread)
- NIC (pid & vid): 【需补全:lspci -nn 输出的 [vid:pid]】
RR version:
- RR: v26.4.0
- addons: acpid, trivial, monitor, mountloader, powersched, reboottoloader, cpuinfo, hdddb, storagepanel(RACK_12_Bay 1X2), smartctl, nvmevolume
- modules: (default)
- lkms: prod
DSM:
- model: SA6400 (epyc7002), kernel: custom
- version: DSM 7.3.2-86009
Issue:
custom SA6400 内核 NR_CPUS 退回 24,导致 48核/96线程的 EPYC 7K62 只能用 24 核。
The custom SA6400 kernel was built with NR_CPUS=24, so an EPYC 7K62 (48C/96T) only gets 24 cores.
注:更新日志中 25.12.0 曾记录 "修复 custom sa6400 默认内核为 24 核心",24.2.2 曾将 NR_CPUS 改为 128。但 v26.4.0 当前 custom 内核 kernel_max=23,似乎再次回归到 NR_CPUS=24。
Note: changelog 24.2.2 set NR_CPUS=128, and 25.12.0 mentioned a 24-core fix, but v26.4.0 custom kernel now reports kernel_max=23 — appears to have regressed to NR_CPUS=24.
关键现象 / Key findings:
- kernel_max=23, possible=0-23 → 内核编译期 NR_CPUS=24,根本不识别 24 以上的 CPU。
kernel_max=23, possible=0-23 → kernel built with NR_CPUS=24, CPUs above 24 not recognized at all.
- nproc=24,DSM 显示 24C/24T。
- cmdline 中无 maxcpus / nr_cpus / possible_cpus 限制参数。
logs:
cat /proc/version
cat /proc/cmdline
cat /sys/devices/system/cpu/kernel_max
23
cat /sys/devices/system/cpu/possible
0-23
cat /sys/devices/system/cpu/online
0-23
dmesg | grep -iE "NR_CPUS|setup_percpu|ignored"
Install ENV:
RR version:
DSM:
Issue:
custom SA6400 内核 NR_CPUS 退回 24,导致 48核/96线程的 EPYC 7K62 只能用 24 核。
The custom SA6400 kernel was built with NR_CPUS=24, so an EPYC 7K62 (48C/96T) only gets 24 cores.
注:更新日志中 25.12.0 曾记录 "修复 custom sa6400 默认内核为 24 核心",24.2.2 曾将 NR_CPUS 改为 128。但 v26.4.0 当前 custom 内核 kernel_max=23,似乎再次回归到 NR_CPUS=24。
Note: changelog 24.2.2 set NR_CPUS=128, and 25.12.0 mentioned a 24-core fix, but v26.4.0 custom kernel now reports kernel_max=23 — appears to have regressed to NR_CPUS=24.
关键现象 / Key findings:
kernel_max=23, possible=0-23 → kernel built with NR_CPUS=24, CPUs above 24 not recognized at all.
logs:
cat /proc/version
cat /proc/cmdline
cat /sys/devices/system/cpu/kernel_max
23
cat /sys/devices/system/cpu/possible
0-23
cat /sys/devices/system/cpu/online
0-23
dmesg | grep -iE "NR_CPUS|setup_percpu|ignored"