[one-users] the problem of the CPU in the virtual machine's template
Steven C Timm
timm at fnal.gov
Wed Jan 23 19:31:34 PST 2013
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-bounces at lists.opennebula.org [mailto:users-bounces at lists.opennebula.org] On Behalf Of cmcc.dylan
Sent: Wednesday, January 23, 2013 9:26 PM
To: users at 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".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130124/c2fac993/attachment-0002.htm>
More information about the Users
mailing list