[one-users] CPU and vCPU in template

Javier Fontan jfontan at gmail.com
Tue Oct 6 08:43:56 PDT 2009


Hello,

CPU means the amount of CPU reserved in the physical node for that VM.
Internally this value is multiplied by 100 and decreased from the free
CPU available on the host it is running.

On Tue, Sep 29, 2009 at 4:39 PM, Shi Jin <jinzishuai at gmail.com> wrote:
> Thanks.
> Even for kvm, the CPU value is used by the scheduler, right?
> But anyway, CPU value is per VM instead of per core, right?
> I appreciate your confirmation.
>
> Shi
>
> On Tue, Sep 29, 2009 at 3:34 AM, Javier Fontan <jfontan at gmail.com> wrote:
>> Hello,
>>
>> Right now CPU value is only passed to xen credit scheduler as a value
>> for fair sharing so a VM with double of the credits will be double of
>> the time in the CPU if it needs that capacity.
>>
>> Bye
>>
>> On Mon, Sep 28, 2009 at 7:03 PM, Shi Jin <jinzishuai at gmail.com> wrote:
>>> Hi there,
>>>
>>> For example, if I have in the template
>>> CPU=1
>>> vCPU=2
>>> Does it give me two virtual cores each with the power of a single core
>>> or each with 50% of the power of a single core (so that the total
>>> power is 1)?
>>> I appreciate the clarification.
>>> Thanks a lot.
>>>
>>> --
>>> Shi Jin, Ph.D.
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>
>>
>>
>> --
>> Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
>> DSA Research Group: http://dsa-research.org
>> Globus GridWay Metascheduler: http://www.GridWay.org
>> OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org
>>
>
>
>
> --
> Shi Jin, Ph.D.
>



-- 
Javier Fontan, Grid & Virtualization Technology Engineer/Researcher
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



More information about the Users mailing list