Skip to contentSkip to conversation

max vcpus in dom0

DISCUSSION Jan Beulich 3 participants 3 messages Apr 27, 2010 – Apr 28, 2010

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines
Quoted 1 line
Quoted 1 line

Mukesh Rathor 04/27/10 4:20 AM >>>

Looking at a bug where dom0 is crashing coming up with more than 32 vcpus, the problem happens trying to initialize 32nd vcpu. I see the shared info is limited to 32vcpus, implying we'd have a hard limit of 32 vcpus in dom0, correct?

That's the legacy limit, yes. Any attempt to go beyond 32 CPUs requires the kernel to use the per-vCPU-info-placement hypercall prior to bringing up those vCPU-s.

Jan

#1 lore raw
Quoted 11 lines · On Tue, 27 Apr 2010 09:23:19 +0100 "Jan Beulich" <[email protected]> wrote:
Quoted 5 lines
Quoted 1 line
Quoted 1 line

Mukesh Rathor 04/27/10 4:20 AM >>>

Looking at a bug where dom0 is crashing coming up with more than 32 vcpus, the problem happens trying to initialize 32nd vcpu. I see the shared info is limited to 32vcpus, implying we'd have a hard limit of 32 vcpus in dom0, correct?

That's the legacy limit, yes. Any attempt to go beyond 32 CPUs requires the kernel to use the per-vCPU-info-placement hypercall prior to bringing up those vCPU-s.

Jan

Hi Jan,

Yes, I found your patch searching xen-devel implementing VCPUOP_register_vcpu_info after I posted my msg. However, I don't find any kernel using this other than pv-ops kernel. So I assume this is work in progress. If you already have a patch for 2.6.18-xxx, please let me know, if not, I'll work on it.

thanks,
Mukesh

#2 lore raw
Quoted 6 lines · Mukesh Rathor

Yes, I found your patch searching xen-devel implementing VCPUOP_register_vcpu_info after I posted my msg. However, I don't find any kernel using this other than pv-ops kernel. So I assume this is work in progress. If you already have a patch for 2.6.18-xxx, please let me know, if not, I'll work on it.

What's the use-case for a dom0 with a large number of vcpus?

J