when only a negation is specified for cpu_*_sets we should assume all cpus are vaild and subtract the negated cpus
Bug #1871096 reported by
sean mooney
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
when using the cpu_share_set cpu_dedicated_set or vcpu_pin_
currently we support negated ranges
so on a 4 core host you can set
^0-1,0-3 and the result will be {2,3}
it would be nice to be able to just set "^0-1" and have the same effect
note that if we made this change we would have to preserve backwards compatiabliyt
and it may be of limited use due to the fact we now have two ranages cpu_share_set and cpu_dedicated_set
it would still allow you to do this however
cpu_share_set=1-10 cpu_dedicated_
to reserve core 0 for the os and core 1-10 for shared cpus and the rest for dedicated cpus.
To post a comment you must log in.
+1 for this feature