Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How many CPU for vcpu ?



On Sun, Nov 23, 2008 at 09:40:04PM +0100, Joel CARNAT wrote:
> Hello,
> 
> I have Xen3 netbsd-4/i386 dom0 running on a Intel(R) Core(TM)2 CPU:
> [...]
> I just tried to add 'vcpus = 2' to a domU I compile things on.
> It's running netbsd-5 but it does not seem to be given 2 vcpus.
> Using "xm list", I can see that it was only given 1 vcpu.
> 
> My question is: can I get more than 1 vcpu on a single 2 cores cpu ?

No, you can use 2 vcpu (or even more !) on a dual-core CPU.
The issue here is that the NetBSD domU (or dom0, FWIW) PV kernel doesn't
support SMP yet. But if you start a linux domU, or a HVM NetBSD domU, you'll
see the 2 CPUs.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index