You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Gary Dixon <Ga...@quadris.co.uk.INVALID> on 2023/05/19 12:59:13 UTC

Service offering CPU speed

Hi All

We have a fixed service offering of 4 vCPU at a CPU speed of 2430 Mhz and have noticed that we are unable to deploy any more VM's using this offering. There are currently 24 VM's using this offering so 24*4*2430 = 233280
I believe Libvirt/Qemu has a hard coded cgroup limit of something like 266000 and so this is the reason we cannot deploy any more instances ?


What are you guys using for your CPU speed as clearly it actually has nothing to do with CPU speed but more to do with CPU weight ?

I have created a new offering as a test with 4 CPU and just 1Mhz cpu speed and deployed a MS Server 2109 instance and in task manager it clearly shows it is using 2.4 Ghz

I am unsure whether we should set ALL of our compute offerings to be 1Mhz or should it be based on the number of CPU's as well - so a 1 cpu offering has 1Mhz - a 2cpu offering has 2Mhz speed  - a 4CPU offering has 4Mhz set as the speed/weight etc etc ?

Would be interesting to see what others are setting in their offerings as the speed - also do you set your System offerings (default 500Mhz) to use the new speed as other offerings ?

BR

Gary



Gary Dixon
Senior Technical Consultant
T:  +44 161 537 4990
E:  vms@quadris-support.com
W: www.quadris.co.uk
The information contained in this e-mail from Quadris may be confidential and privileged for the private use of the named recipient.  The contents of this e-mail may not necessarily represent the official views of Quadris.  If you have received this information in error you must not copy, distribute or take any action or reliance on its contents.  Please destroy any hard copies and delete this message.

RE: Service offering CPU speed

Posted by Gary Dixon <Ga...@quadris.co.uk.INVALID>.
Hi Shiv

As stated we already have 24 VM's running using this offering. At first I thought there was an issue with a new template I had created that wasn't deploying using this offering - but it deployed fine with other offerings. I then used other known good templates to try and deploy using the offering that has the issue - same - cannot seem to deploy any more VM's with this offering. I read somewhere that the Compute offering relates to cgroups on the physical hypervisor and this is where the limit is being reached
We are using Ubuntu 20.04 with KVM and I believe this is using cgroup v1 - I have heard of other issues when upgrading te KVM hypervisor to an OS - like Ubuntu 22.04 that uses cgroup v2 which has an even lower limit then cgroup v1

Bredbury Park Way, Bredbury, Stockport, SK6 2SN

Gary Dixon
Senior Technical Consultant
T:  +44 161 537 4990
E:  vms@quadris-support.com
W: www.quadris.co.uk
The information contained in this e-mail from Quadris may be confidential and privileged for the private use of the named recipient.  The contents of this e-mail may not necessarily represent the official views of Quadris.  If you have received this information in error you must not copy, distribute or take any action or reliance on its contents.  Please destroy any hard copies and delete this message.
-----Original Message-----
From: K B Shiv Kumar <sh...@indiqus.com.INVALID> 
Sent: Friday, May 19, 2023 2:07 PM
To: users@cloudstack.apache.org
Subject: Re: Service offering CPU speed

Another thing, you can't exceed the physical clock speed... So if you have
2430 MHz you can't go above it. Does it work with 2400mhz?

Regards,
Shiv
(Sent from mobile device. Please excuse brevity and typos.)

On Fri, 19 May 2023, 18:34 K B Shiv Kumar, <sh...@indiqus.com> wrote:

> Hi Gary
>
> What are the logs showing as the reason for not being able to deploy?
>
> 1mhz is getting the full clock speed because you may not have selected 
> cap CPU in your offering.
>
> We have never faced such a problem unless you are actually or of 
> space. If you are and your actual CPU utilisation is relatively low 
> you can specify overcommit ratio as 2 or even 4.
>
> Regards,
> Shiv
> (Sent from mobile device. Please excuse brevity and typos.)
>
> On Fri, 19 May 2023, 18:29 Gary Dixon, 
> <Ga...@quadris.co.uk.invalid>
> wrote:
>
>> Hi All
>>
>>
>>
>> We have a fixed service offering of 4 vCPU at a CPU speed of 2430 Mhz 
>> and have noticed that we are unable to deploy any more VM’s using 
>> this offering. There are currently 24 VM’s using this offering so 
>> 24*4*2430 =
>> 233280
>>
>> I believe Libvirt/Qemu has a hard coded cgroup limit of something 
>> like
>> 266000 and so this is the reason we cannot deploy any more instances ?
>>
>>
>>
>>
>>
>> What are you guys using for your CPU speed as clearly it actually has 
>> nothing to do with CPU speed but more to do with CPU weight ?
>>
>>
>>
>> I have created a new offering as a test with 4 CPU and just 1Mhz cpu 
>> speed and deployed a MS Server 2109 instance and in task manager it 
>> clearly shows it is using 2.4 Ghz
>>
>>
>>
>> I am unsure whether we should set ALL of our compute offerings to be 
>> 1Mhz or should it be based on the number of CPU’s as well – so a 1 
>> cpu offering has 1Mhz – a 2cpu offering has 2Mhz speed  - a 4CPU 
>> offering has 4Mhz set as the speed/weight etc etc ?
>>
>>
>>
>> Would be interesting to see what others are setting in their 
>> offerings as the speed – also do you set your System offerings 
>> (default 500Mhz) to use the new speed as other offerings ?
>>
>>
>>
>> BR
>>
>>
>>
>> Gary
>>
>>
>>
>>
>> Gary Dixon​
>> Senior Technical Consultant
>> T:  +44 161 537 4990
>> E:  *v* <+44%207989717661>ms@quadris‑support.com
>> W: 
>> https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.
>> quadris.co.uk%2F&data=05%7C01%7CGary.Dixon%40quadris.co.uk%7Cdab51144
>> 1bbf47b0de1308db586a24f2%7Cf1d6abf3d3b44894ae16db0fb93a96a2%7C0%7C0%7
>> C638200985130644516%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQI
>> joiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=2ms9W
>> WRlsUougYHiOlvEYBJ8%2FejftVI6yjwm0maQki0%3D&reserved=0
>> The information contained in this e-mail from Quadris may be 
>> confidential and privileged for the private use of the named 
>> recipient.  The contents of this e-mail may not necessarily represent the official views of Quadris.
>> If you have received this information in error you must not copy, 
>> distribute or take any action or reliance on its contents.  Please 
>> destroy any hard copies and delete this message.
>>
>

--
This message is intended only for the use of the individual or entity to which it is addressed and may contain confidential and/or privileged information. If you are not the intended recipient, please delete the original message and any copy of it from your computer system. You are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited unless proper authorization has been obtained for such action. If you have received this communication in error, please notify the sender immediately. Although IndiQus attempts to sweep e-mail and attachments for viruses, it does not guarantee that both are virus-free and accepts no liability for any damage sustained as a result of viruses.

Re: Service offering CPU speed

Posted by K B Shiv Kumar <sh...@indiqus.com.INVALID>.
Another thing, you can't exceed the physical clock speed... So if you have
2430 MHz you can't go above it. Does it work with 2400mhz?

Regards,
Shiv
(Sent from mobile device. Please excuse brevity and typos.)

On Fri, 19 May 2023, 18:34 K B Shiv Kumar, <sh...@indiqus.com> wrote:

> Hi Gary
>
> What are the logs showing as the reason for not being able to deploy?
>
> 1mhz is getting the full clock speed because you may not have selected cap
> CPU in your offering.
>
> We have never faced such a problem unless you are actually or of space. If
> you are and your actual CPU utilisation is relatively low you can specify
> overcommit ratio as 2 or even 4.
>
> Regards,
> Shiv
> (Sent from mobile device. Please excuse brevity and typos.)
>
> On Fri, 19 May 2023, 18:29 Gary Dixon, <Ga...@quadris.co.uk.invalid>
> wrote:
>
>> Hi All
>>
>>
>>
>> We have a fixed service offering of 4 vCPU at a CPU speed of 2430 Mhz and
>> have noticed that we are unable to deploy any more VM’s using this
>> offering. There are currently 24 VM’s using this offering so 24*4*2430 =
>> 233280
>>
>> I believe Libvirt/Qemu has a hard coded cgroup limit of something like
>> 266000 and so this is the reason we cannot deploy any more instances ?
>>
>>
>>
>>
>>
>> What are you guys using for your CPU speed as clearly it actually has
>> nothing to do with CPU speed but more to do with CPU weight ?
>>
>>
>>
>> I have created a new offering as a test with 4 CPU and just 1Mhz cpu
>> speed and deployed a MS Server 2109 instance and in task manager it clearly
>> shows it is using 2.4 Ghz
>>
>>
>>
>> I am unsure whether we should set ALL of our compute offerings to be 1Mhz
>> or should it be based on the number of CPU’s as well – so a 1 cpu offering
>> has 1Mhz – a 2cpu offering has 2Mhz speed  - a 4CPU offering has 4Mhz set
>> as the speed/weight etc etc ?
>>
>>
>>
>> Would be interesting to see what others are setting in their offerings as
>> the speed – also do you set your System offerings (default 500Mhz) to use
>> the new speed as other offerings ?
>>
>>
>>
>> BR
>>
>>
>>
>> Gary
>>
>>
>>
>>
>> Gary Dixon​
>> Senior Technical Consultant
>> T:  +44 161 537 4990
>> E:  *v* <+44%207989717661>ms@quadris‑support.com
>> W: www.quadris.co.uk
>> The information contained in this e-mail from Quadris may be confidential
>> and privileged for the private use of the named recipient.  The contents of
>> this e-mail may not necessarily represent the official views of Quadris.
>> If you have received this information in error you must not copy,
>> distribute or take any action or reliance on its contents.  Please destroy
>> any hard copies and delete this message.
>>
>

-- 
This message is intended only for the use of the individual or entity to 
which it is addressed and may contain confidential and/or privileged 
information. If you are not the intended recipient, please delete the 
original message and any copy of it from your computer system. You are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited unless proper authorization has been 
obtained for such action. If you have received this communication in error, 
please notify the sender immediately. Although IndiQus attempts to sweep 
e-mail and attachments for viruses, it does not guarantee that both are 
virus-free and accepts no liability for any damage sustained as a result of 
viruses.

Re: Service offering CPU speed

Posted by K B Shiv Kumar <sh...@indiqus.com.INVALID>.
Hi Gary

What are the logs showing as the reason for not being able to deploy?

1mhz is getting the full clock speed because you may not have selected cap
CPU in your offering.

We have never faced such a problem unless you are actually or of space. If
you are and your actual CPU utilisation is relatively low you can specify
overcommit ratio as 2 or even 4.

Regards,
Shiv
(Sent from mobile device. Please excuse brevity and typos.)

On Fri, 19 May 2023, 18:29 Gary Dixon, <Ga...@quadris.co.uk.invalid>
wrote:

> Hi All
>
>
>
> We have a fixed service offering of 4 vCPU at a CPU speed of 2430 Mhz and
> have noticed that we are unable to deploy any more VM’s using this
> offering. There are currently 24 VM’s using this offering so 24*4*2430 =
> 233280
>
> I believe Libvirt/Qemu has a hard coded cgroup limit of something like
> 266000 and so this is the reason we cannot deploy any more instances ?
>
>
>
>
>
> What are you guys using for your CPU speed as clearly it actually has
> nothing to do with CPU speed but more to do with CPU weight ?
>
>
>
> I have created a new offering as a test with 4 CPU and just 1Mhz cpu speed
> and deployed a MS Server 2109 instance and in task manager it clearly shows
> it is using 2.4 Ghz
>
>
>
> I am unsure whether we should set ALL of our compute offerings to be 1Mhz
> or should it be based on the number of CPU’s as well – so a 1 cpu offering
> has 1Mhz – a 2cpu offering has 2Mhz speed  - a 4CPU offering has 4Mhz set
> as the speed/weight etc etc ?
>
>
>
> Would be interesting to see what others are setting in their offerings as
> the speed – also do you set your System offerings (default 500Mhz) to use
> the new speed as other offerings ?
>
>
>
> BR
>
>
>
> Gary
>
>
>
>
> Gary Dixon​
> Senior Technical Consultant
> T:  +44 161 537 4990
> E:  *v* <+44%207989717661>ms@quadris‑support.com
> W: www.quadris.co.uk
> The information contained in this e-mail from Quadris may be confidential
> and privileged for the private use of the named recipient.  The contents of
> this e-mail may not necessarily represent the official views of Quadris.
> If you have received this information in error you must not copy,
> distribute or take any action or reliance on its contents.  Please destroy
> any hard copies and delete this message.
>

-- 
This message is intended only for the use of the individual or entity to 
which it is addressed and may contain confidential and/or privileged 
information. If you are not the intended recipient, please delete the 
original message and any copy of it from your computer system. You are 
hereby notified that any dissemination, distribution or copying of this 
communication is strictly prohibited unless proper authorization has been 
obtained for such action. If you have received this communication in error, 
please notify the sender immediately. Although IndiQus attempts to sweep 
e-mail and attachments for viruses, it does not guarantee that both are 
virus-free and accepts no liability for any damage sustained as a result of 
viruses.