VCPU is the parameter that controls how many cores appear internally in the 
virtual machine.  I. e. if you have VCPU=4
Your VM will have 4 cores, but there will still only be one kvm process as seen 
in the hypervisor that corresponds to it.
In a typical KVM setup it is possible to allocate more VCPU per VM host than 
the VM host has real cores.
I am not exactly sure what CPU does, but it does affect the FCPU and ACPU as 
seen in the onehost list output.

Steve Timm

From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of cmcc.dylan
Sent: Wednesday, January 23, 2013 9:26 PM
To: users@lists.opennebula.org
Subject: [one-users] the problem of the CPU in the virtual machine's template

Hi, everyone!

    I have a doubt what's the accurately means of CPU in the vm's template.
    For a example, if we define a vm which has CPU=1 and VCPU = 4. In this 
condition , what's result in the host os?
    Does the host os fork 4 process on behalf of this vm and does  the 4 
process get 4 cores if the host's scheduler allows that.

    I want to know the differences between "CPU=4,VCPU=4" and "CPU=1,VCPU=4".


_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to