[one-users] [ExternalEmail] Trying to understand VCPU and CPU parameters in VM template

Carsten.Friedrich at csiro.au Carsten.Friedrich at csiro.au
Thu Sep 16 23:01:54 PDT 2010


I just noticed that in the deployment file (I'm deploying to kvm) only the VCPU value is used. The CPU value from the template does not appear in the deployment.0 file. Does this mean the CPU  parameter is not supported in kvm?

Carsten

From: users-bounces at lists.opennebula.org [mailto:users-bounces at lists.opennebula.org] On Behalf Of Carsten.Friedrich at csiro.au
Sent: Friday, 17 September 2010 10:33
To: users at lists.opennebula.org
Subject: [ExternalEmail] [one-users] Trying to understand VCPU and CPU parameters in VM template

>From the documentation:

CPU Percentage of CPU divided by 100 required for the Virtual Machine. Half a processor is written 0.5.
VCPU Number of virtual cpus. This value is optional, the default hypervisor behavior is used, usually one virtual CPU

I'm not quite clear how these vlaues are interpreted: E.g. if I specify CPU 0.5 and VCPU 2, does this mean I get 2 virtual CPUs each getting 50% of a real host CPU, or does this mean I get 2 VCPUs which together can use up to 50% of a host CPU, i.e. each VCPU basically gets 25% of a real CPU?

Cheers,
Carsten

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100917/fbe89919/attachment-0003.htm>


More information about the Users mailing list