You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "leo79901 (via GitHub)" <gi...@apache.org> on 2025/08/11 03:20:34 UTC

[D] problem with cpu.overprovisioning.factor [cloudstack]

GitHub user leo79901 created a discussion: problem with cpu.overprovisioning.factor

Hello!

I am testing CloudStack 4.20.1.0 in our development environment, and I have encountered a problem.

I configured the cpu.overprovisioning.factor to ​4.0​ in the cluster settings and ​4​ in the global settings. After making these changes, I restarted the cloudstack-management service. However, the host's available cores have not updated to reflect the new overprovisioning values.

Did I miss any steps?

<img width="802" height="270" alt="image" src="https://github.com/user-attachments/assets/0dcccb42-c3ad-4d5c-a10f-9a6a797cc681" />

<img width="1112" height="339" alt="image" src="https://github.com/user-attachments/assets/952a09ec-c2bf-40f2-99f2-4c13433144cd" />

<img width="678" height="260" alt="image" src="https://github.com/user-attachments/assets/f5918881-f5b8-487b-9405-58c1bb31a258" />


GitHub link: https://github.com/apache/cloudstack/discussions/11424

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] problem with cpu.overprovisioning.factor [cloudstack]

Posted by "leo79901 (via GitHub)" <gi...@apache.org>.
GitHub user leo79901 added a comment to the discussion: problem with cpu.overprovisioning.factor

I noticed that if I allocate 16 GHz to a virtual machine, only 4 GHz is shown as allocated in the host interface. This might indicate that the new overcommit parameter causes the host interface to display ​less allocated usage, rather than showing the host's frequency as being ​higher.
<img width="789" height="102" alt="image" src="https://github.com/user-attachments/assets/61e2eceb-331e-431d-975d-d6a9cbf6c572" />
<img width="1407" height="98" alt="image" src="https://github.com/user-attachments/assets/a3e5bca0-3319-45ad-b9d2-9829af0c3043" />


GitHub link: https://github.com/apache/cloudstack/discussions/11424#discussioncomment-14068819

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] problem with cpu.overprovisioning.factor [cloudstack]

Posted by "leo79901 (via GitHub)" <gi...@apache.org>.
GitHub user leo79901 added a comment to the discussion: problem with cpu.overprovisioning.factor

Thank you. I remember in previous versions, after modifying the CPU overcommit ratio, the number of CPUs and their frequency displayed on the host interface would change. Has this behavior changed in the new version?



GitHub link: https://github.com/apache/cloudstack/discussions/11424#discussioncomment-14068114

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] problem with cpu.overprovisioning.factor [cloudstack]

Posted by "rajujith (via GitHub)" <gi...@apache.org>.
GitHub user rajujith edited a comment on the discussion: problem with cpu.overprovisioning.factor

@leo79901 your observations are correct, but I am not sure whether the implementation has changed recently. Irrespectively, the result is the same. On the cluster level, I can see that the total capacity is doubled when I changed the CPU overprovisioning factor to 4.0 from 2.0. 

GitHub link: https://github.com/apache/cloudstack/discussions/11424#discussioncomment-14136801

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] problem with cpu.overprovisioning.factor [cloudstack]

Posted by "rajujith (via GitHub)" <gi...@apache.org>.
GitHub user rajujith added a comment to the discussion: problem with cpu.overprovisioning.factor

@leo79901 your observations are correct, but I am not sure whether the implementation has changed recently. Irrespectively, the result is the same. 

GitHub link: https://github.com/apache/cloudstack/discussions/11424#discussioncomment-14136801

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] problem with cpu.overprovisioning.factor [cloudstack]

Posted by "rajujith (via GitHub)" <gi...@apache.org>.
GitHub user rajujith added a comment to the discussion: problem with cpu.overprovisioning.factor

@leo79901  The most specific configuration takes precedence when set at different levels. Once you set the value at the Cluster level, that takes precedence over the global configuration. Updating the value at the cluster level does not require a restart. For this to take effect, you need to stop and start existing instances since they were created with the previous cp overcommit value. 

GitHub link: https://github.com/apache/cloudstack/discussions/11424#discussioncomment-14068030

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org


Re: [D] problem with cpu.overprovisioning.factor [cloudstack]

Posted by "leo79901 (via GitHub)" <gi...@apache.org>.
GitHub user leo79901 closed a discussion: problem with cpu.overprovisioning.factor

Hello!

I am testing CloudStack 4.20.1.0 in our development environment, and I have encountered a problem.

I configured the cpu.overprovisioning.factor to ​4.0​ in the cluster settings and ​4​ in the global settings. After making these changes, I restarted the cloudstack-management service. However, the host's available cores have not updated to reflect the new overprovisioning values.

Did I miss any steps?

<img width="802" height="270" alt="image" src="https://github.com/user-attachments/assets/0dcccb42-c3ad-4d5c-a10f-9a6a797cc681" />

<img width="1112" height="339" alt="image" src="https://github.com/user-attachments/assets/952a09ec-c2bf-40f2-99f2-4c13433144cd" />

<img width="678" height="260" alt="image" src="https://github.com/user-attachments/assets/f5918881-f5b8-487b-9405-58c1bb31a258" />


GitHub link: https://github.com/apache/cloudstack/discussions/11424

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscribe@cloudstack.apache.org