Uh oh!
There was an error while loading. Please reload this page.
constrained offerings should not have cpu speed of 0 - #12330
constrained offerings should not have cpu speed of 0#12330DaanHoogland wants to merge 2 commits into
Conversation
DaanHoogland
commented
Dec 23, 2025
@daviftorres , I was given to understand this would interest you ;) (also have a good 2026) |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## 4.20 #12330 +/- ##
============================================
- Coverage 16.23% 16.23% -0.01% + Complexity 13377 13376 -1
============================================
Files 5657 5657 Lines 498865 498878 +13 Branches 60545 60544 -1 ============================================
- Hits 80991 80988 -3 - Misses 408843 408856 +13 - Partials 9031 9034 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
DaanHoogland
commented
Dec 29, 2025
@blueorangutan package |
blueorangutan
commented
Dec 29, 2025
@DaanHoogland a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
DaanHoogland
commented
Dec 29, 2025
@shwstppr , can you see if this makes sense, please? |
blueorangutan
commented
Dec 29, 2025
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 16196 |
shwstppr
left a comment
There was a problem hiding this comment.
@DaanHoogland problem is probably not just with creating offerings, but after it is used for a VM.
For an unconstrained offering, I was unable to change VM setting cpuSpeed to 0.

For a constrained offering, I could add VM setting cpuSpeed to 0.

DaanHoogland
commented
Dec 30, 2025
Ok, I will add a guard there as well 🙇 . |
daviftorres
commented
Dec 30, 2025
Currently, all constrained offerings have the CPU value set to 0. With this setting, KVM and VMware do not complain and do not throttle CPU performance. However, all custom offerings require a positive CPU value; otherwise, they do not work. I am not sure what the best approach is to address this issue, as my goal is to achieve the best possible performance per core, regardless of the underlying processor. |
daviftorres
commented
Feb 18, 2026
Hey everyone, I’m not sure where we currently stand on this. As I mentioned before, CPUs have both base and burst clock speeds. Using The limitation is that we can only configure based on CPU’s base clock, not the burst clock. This could unintentionally:
For (1): I’m not completely sure this is happening, but when I run For (2): I’ve previously observed that when an offering specifies a clock speed that falls within the CPU’s burstable range but exceeds its baseline frequency, the instance fails to start. When using When using positive values, it returns: Or Am I miss understanding the issue? |
This PR is stale because it has been open for 120 days with no activity. It may be removed by administrators of this project at any time. Remove the stale label or comment to request for removal of it to prevent this. |
Description
This PR adds a check for 0 cpuspeed on constraint offerings. A doc PR should follow to state that limitcpuuse should be set to zero to allow for unlimited cpu hogging.
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?