You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2023/01/13 20:24:52 UTC

[GitHub] [cloudstack] Hudratronium commented on issue #6744: Problem with operating systems that use cgroup v2 related to cpu speed.

Hudratronium commented on issue #6744:
URL: https://github.com/apache/cloudstack/issues/6744#issuecomment-1382351078

   It is even more 'worse' as @correajl pointed out the max. value for OS using cgroupsV2 is 10000. 
   
   IMHO that should work but will need some checks to not exeed the value of 10000 as well as you will have to take care to round the resultant values - which then could lead to some kind of round-off / -up error when looking at the really availeable speeds for a machine (Meaning you could get always a little bit "less" performance as specified in a service offering.)
   
   It would work as kind of a 'workaround' at the moment, but depending on the scaledown factor, the impact for "smallish" cpu-offerings could be quiet big - and it seems we can't avoid this as long as Ubuntu shall be supported as a host-OS.
   
   I can't see a really nice solution as at some point the concepts of 'representig physical capabilities' and using 'proportional weighted shares' will at some point lead to some kind of tradeoff - even if one is going to do the math and logic to do this on a 'per host / number of vm's / cpu capabilities' approach  you will have some trade-offs....  


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org