You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Zain Abideen <ab...@gmail.com> on 2016/05/04 08:53:28 UTC

Diff between Service Offering and Actual CPU

Hi All,

I've recently setup CS and created an instance with a service offering
of 1GHz clock speed but when I log into the instance and check the CPU
speed, it is showing speed as 3.4GHz which is the actual clock speed of the
host

Instance Operating System: Win Server 2008 R2 (64bit)
Host: Xen Server
Cloudstack version: 4.6

Regards,
Zain ul Abideen

Re: Diff between Service Offering and Actual CPU

Posted by Nux! <nu...@li.nux.ro>.
Zain,

Capping should work, at least with some HV technology, it will still not help with the GHz shown inside the VM afaik, it just enforces the VM never gets too much CPU time.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Zain Abideen" <ab...@gmail.com>
> To: users@cloudstack.apache.org
> Sent: Thursday, 5 May, 2016 05:26:42
> Subject: Re: Diff between Service Offering and Actual CPU

> Hi all,
> 
> @tim: I tried with CPU cap but it didn't work and shouldn't work as
> explained by Nux. Thanks a lot Nux for explanation.
> 
> Regards,
> Zain ul Abideen
> 
> 
> On Wed, May 4, 2016 at 8:26 PM, Nux! <nu...@li.nux.ro> wrote:
> 
>> Hello Zain,
>>
>> Those G/MHz in the compute offering are a bit misleading as they have
>> nothing to do with the "clock speed" of the VM's CPU; instead that value is
>> used as a "weight" when allocating host CPU time.
>> E.g. a VM with 2GHz will get twice as much host CPU cycles than one with
>> 1GHz.
>>
>> hth
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro
>>
>> ----- Original Message -----
>> > From: "Zain Abideen" <ab...@gmail.com>
>> > To: users@cloudstack.apache.org
>> > Sent: Wednesday, 4 May, 2016 09:53:28
>> > Subject: Diff between Service Offering and Actual CPU
>>
>> > Hi All,
>> >
>> > I've recently setup CS and created an instance with a service offering
>> > of 1GHz clock speed but when I log into the instance and check the CPU
>> > speed, it is showing speed as 3.4GHz which is the actual clock speed of
>> the
>> > host
>> >
>> > Instance Operating System: Win Server 2008 R2 (64bit)
>> > Host: Xen Server
>> > Cloudstack version: 4.6
>> >
>> > Regards,
>> > Zain ul Abideen

Re: Diff between Service Offering and Actual CPU

Posted by Zain Abideen <ab...@gmail.com>.
Hi all,

@tim: I tried with CPU cap but it didn't work and shouldn't work as
explained by Nux. Thanks a lot Nux for explanation.

Regards,
Zain ul Abideen


On Wed, May 4, 2016 at 8:26 PM, Nux! <nu...@li.nux.ro> wrote:

> Hello Zain,
>
> Those G/MHz in the compute offering are a bit misleading as they have
> nothing to do with the "clock speed" of the VM's CPU; instead that value is
> used as a "weight" when allocating host CPU time.
> E.g. a VM with 2GHz will get twice as much host CPU cycles than one with
> 1GHz.
>
> hth
>
> --
> Sent from the Delta quadrant using Borg technology!
>
> Nux!
> www.nux.ro
>
> ----- Original Message -----
> > From: "Zain Abideen" <ab...@gmail.com>
> > To: users@cloudstack.apache.org
> > Sent: Wednesday, 4 May, 2016 09:53:28
> > Subject: Diff between Service Offering and Actual CPU
>
> > Hi All,
> >
> > I've recently setup CS and created an instance with a service offering
> > of 1GHz clock speed but when I log into the instance and check the CPU
> > speed, it is showing speed as 3.4GHz which is the actual clock speed of
> the
> > host
> >
> > Instance Operating System: Win Server 2008 R2 (64bit)
> > Host: Xen Server
> > Cloudstack version: 4.6
> >
> > Regards,
> > Zain ul Abideen
>

Re: Diff between Service Offering and Actual CPU

Posted by Nux! <nu...@li.nux.ro>.
Hello Zain,

Those G/MHz in the compute offering are a bit misleading as they have nothing to do with the "clock speed" of the VM's CPU; instead that value is used as a "weight" when allocating host CPU time.
E.g. a VM with 2GHz will get twice as much host CPU cycles than one with 1GHz.

hth

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Zain Abideen" <ab...@gmail.com>
> To: users@cloudstack.apache.org
> Sent: Wednesday, 4 May, 2016 09:53:28
> Subject: Diff between Service Offering and Actual CPU

> Hi All,
> 
> I've recently setup CS and created an instance with a service offering
> of 1GHz clock speed but when I log into the instance and check the CPU
> speed, it is showing speed as 3.4GHz which is the actual clock speed of the
> host
> 
> Instance Operating System: Win Server 2008 R2 (64bit)
> Host: Xen Server
> Cloudstack version: 4.6
> 
> Regards,
> Zain ul Abideen

RE: Diff between Service Offering and Actual CPU

Posted by Timothy Lothering <tl...@datacentrix.co.za>.
Hi Zain,

When you created a "Compute Offering", did you select the "CPU Cap" Option?

Regards,

Timothy Lothering
Timothy Lothering
Solutions Architect
Managed Services

T: +27877415535
F: +27877415100
C: +27824904099
E: tlothering@datacentrix.co.za


DISCLAIMER NOTICE: 

Everything in this e-mail and any attachments relating to the official business of Datacentrix Holdings Ltd. and its subsidiaries 
('Datacentrix') is proprietary to Datacentrix. It is confidential, legally privileged and protected by law. Datacentrix does not 
own and endorse any other content. Views and opinions are those of the sender unless clearly stated as being that of Datacentrix. 
The person addressed in the e-mail is the sole authorised recipient. Please notify the sender immediately if it has unintentionally 
reached you and do not read, disclose or use the content in any way. Datacentrix cannot assure that the integrity of this communication 
has been maintained nor that it is free of errors, virus, interception or interference.
-----Original Message-----
From: Zain Abideen [mailto:abideen87@gmail.com] 
Sent: Wednesday, 04 May 2016 10:53 AM
To: users@cloudstack.apache.org
Subject: Diff between Service Offering and Actual CPU

Hi All,

I've recently setup CS and created an instance with a service offering of 1GHz clock speed but when I log into the instance and check the CPU speed, it is showing speed as 3.4GHz which is the actual clock speed of the host

Instance Operating System: Win Server 2008 R2 (64bit)
Host: Xen Server
Cloudstack version: 4.6

Regards,
Zain ul Abideen