[Devel] Re: [RFC] CPU hard limits

Avi Kivity avi at redhat.com
Thu Jun 4 22:21:43 PDT 2009


Balbir Singh wrote:
>> But then there is no other way to make a *guarantee*, guarantees come
>> at a cost of idling resources, no? Can you show me any other
>> combination that will provide the guarantee and without idling the
>> system for the specified guarantees?
>>     
>
> OK, I see part of your concern, but I think we could do some
> optimizations during design. For example if all groups have reached
> their hard-limit and the system is idle, should we do start a new hard
> limit interval and restart, so that idleness can be removed. Would
> that be an acceptable design point?

I think so.  Given guarantees G1..Gn (0 <= Gi <= 1; sum(Gi) <= 1), and a 
cpu hog running in each group, how would the algorithm divide resources?

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list