Port-xen archive

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

How many CPU for vcpu ?



Hello,

########################################################################
I have Xen3 netbsd-4/i386 dom0 running on a Intel(R) Core(TM)2 CPU:
(XEN) Processor #0 6:15 APIC version 20
(XEN) Processor #1 6:15 APIC version 20
(XEN) IOAPIC[0]: apic_id 1, version 32, address 0xfec00000, GSI 0-23
(XEN) Enabling APIC mode:  Flat.  Using 1 I/O APICs
(XEN) Using scheduler: SMP Credit Scheduler (credit)
(XEN) Detected 2161.331 MHz processor.
(XEN) HVM: VMX enabled
(XEN) VMX: MSR intercept bitmap enabled
(XEN) CPU0: Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz stepping 06
(XEN) Mapping cpu 0 to node 255
(XEN) Booting processor 1/1 eip 90000
(XEN) Mapping cpu 1 to node 255
(XEN) CPU1: Intel(R) Core(TM)2 CPU         T7400  @ 2.16GHz stepping 06
(XEN) Total of 2 processors activated.
(XEN) ENABLING IO-APIC IRQs
(XEN)  -> Using new ACK method
(XEN) Platform timer overflows in 14998 jiffies.
(XEN) Platform timer is 14.318MHz HPET
(XEN) Brought up 2 CPUs

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 ?
Or do I need 2 such CPU (or Quad core CPU) ?
Or is my domU configuration file just wrong ?
        name = "pak"
        kernel = "/home/xen/pak/netbsd-HEAD"
        vcpus = 2
        memory = 512
        disk = [ 'file:/home/xen/pak/disk-HEAD,0x03,w' ]
        vif = [ 'mac=00:16:3e:00:00:fa, bridge=bridge0' ]


TIA,
        Jo

Attachment: pgpKgA7l86_p_.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index