You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
debian@debian-11:~$ likwid-topology -g
--------------------------------------------------------------------------------
CPU name: AMD EPYC 7713P 64-Core Processor
CPU type: AMD K19 (Zen3) architecture
CPU stepping: 1
********************************************************************************
Hardware Thread Topology
********************************************************************************
Sockets: 8
Cores per socket: 1
Threads per core: 1
I (and I think everyone else) thought we're emulating a single-socket machine until we intend otherwise, with vCPU-many cores and one or two threads per core. Looking into #921 I noticed we discard leaf Ext1E and then never repopulate it for the VM's CPU count, but we never clear the TopologyExtensions bit, so the all-zero leftovers is declared to be faithful. That gets us vCPU-many sockets, oops.
RFD 314 and oxidecomputer/omicron#8728 in particular set leaf 8000_001E to have two threads per core, but I'm actually not sure that gets us to one socket with vCPU-many-(or vCPU/2) cores. Either way, out of the box Propolis should reconstruct the CPUID leaf StdB/Ext1E that it very eagerly discards.
This will change the CPUID profile of guests as-is, but I think that's good - I'm a little surprised that OSes are as nice about this as they are!
#939 is one way that guests figure this out, and #941 will fix this as a result of fixing #939. (I'd initially thought it didn't through a comedy of using propolis-standalone but changing propolis-server.. otherwise it'd just be the one issue)
well, this is fixed on Intel systems. I deferred including leaf B in with_cpu_topo so we don't go changing VMs that relied on default behavior on Gimlets. Once we've got Nexus sending explicit CPUID profiles I'll move propolis-server to specialize all supported leaves and this becomes a "Milan V1 specifies vCPU-many sockets" non-issue.
Trey saw that a Helios VM on colo has a mildly concerning-looking output related to this:
Oxide Helios Version helios-2.0.23866 64-bit
WARNING: There will be no MCA support on chip 32 core 0 strand 0
WARNING: There will be no MCA support on chip 33 core 0 strand 0
... incrementing through other chips ...
WARNING: There will be no MCA support on chip 63 core 0 strand 0
at its heart this is a bit of illumos code expecting at most 32 chips in a system and refusing to init this module if the chip to init is beyond that. hence the logs above starting at 32, and continuing to <however many vCPUs>, but really this is all a confusion from the CPUID leaves alleging that there are vCPU-many single-core sockets.
it's not immediately clear to me if things would be better or worse in this case with one "normal" socket, there's no support for presenting MCA/MCE through to guests so none of this would actually see use. but once this is sorted it'd be good to check that illumos no longer shouts warnings for >32 vCPU VMs.
Activity
iximeow commentedon Sep 12, 2025
#939 is one way that guests figure this out, and #941 will fix this as a result of fixing #939. (I'd initially thought it didn't through a comedy of using propolis-standalone but changing propolis-server.. otherwise it'd just be the one issue)
iximeow commentedon Sep 17, 2025
well, this is fixed on Intel systems. I deferred including leaf B in
with_cpu_toposo we don't go changing VMs that relied on default behavior on Gimlets. Once we've got Nexus sending explicit CPUID profiles I'll movepropolis-serverto specialize all supported leaves and this becomes a "Milan V1 specifies vCPU-many sockets" non-issue.Allow up to 254 vCPUs to a VM (#9385)
iximeow commentedon Apr 13, 2026
Trey saw that a Helios VM on colo has a mildly concerning-looking output related to this:
at its heart this is a bit of illumos code expecting at most 32 chips in a system and refusing to init this module if the chip to init is beyond that. hence the logs above starting at 32, and continuing to
<however many vCPUs>, but really this is all a confusion from the CPUID leaves alleging that there are vCPU-many single-core sockets.it's not immediately clear to me if things would be better or worse in this case with one "normal" socket, there's no support for presenting MCA/MCE through to guests so none of this would actually see use. but once this is sorted it'd be good to check that illumos no longer shouts warnings for >32 vCPU VMs.
hair-ant commentedon Nov 2, 2026
lets put this in P1