CPUUNITS (yeah...yet another question...*SIGH*) [message #14571] |
Mon, 02 July 2007 14:56  |
Michael Portz
Messages: 2 Registered: July 2007
|
Junior Member |
|
|
Hi!
Everywhere it is stressed, that CPUUNITS is only relevant for the
relative amount of time a VE has control of the resources. I am
looking for a quite different answer: Does it have an absolute
meaning as well?
E.g. if VE0's CPUUNITS=1000, VE1's CPUUNITS=1000 and VE2's CPUUNITS=1000
(and these are *all* VEs), then they all get the same share of processing
time. The same holds for CPUUNITS=100 for all VEs. But is there any
difference for the values 100 and 1000 respectively?
Does e.g CPUUNITS=100 mean, a VE is swapped out after 100 * c timeunits
for a constant c? Specifically: Does decreasing the values of CPUUNITS
decrease the reaction time of VEs towards interrupts etc.?
Thanks
Michael
|
|
|
|
Re: CPUUNITS (yeah...yet another question...*SIGH*) [message #14581 is a reply to message #14575] |
Mon, 02 July 2007 18:28  |
Michael Portz
Messages: 2 Registered: July 2007
|
Junior Member |
|
|
Ah, ok!
Thanks for the quick answer :)
Michael
Kirill Korotaev schrieb:
> No, 100 is absolutely the same as 1000 in this regard.
> CPUUNITs control only how VEs fight for the CPU time and
> doesn't affect latency of the reaction which is controled
> by HZ and some of sysctls in /proc/sys/kernel and is *bounded*.
>
> Thanks,
> Kirill
>
>
> Michael Portz wrote:
>> Hi!
>>
>> Everywhere it is stressed, that CPUUNITS is only relevant for the
>> relative amount of time a VE has control of the resources. I am
>> looking for a quite different answer: Does it have an absolute
>> meaning as well?
>>
>> E.g. if VE0's CPUUNITS=1000, VE1's CPUUNITS=1000 and VE2's CPUUNITS=1000
>> (and these are *all* VEs), then they all get the same share of processing
>> time. The same holds for CPUUNITS=100 for all VEs. But is there any
>> difference for the values 100 and 1000 respectively?
>>
>> Does e.g CPUUNITS=100 mean, a VE is swapped out after 100 * c timeunits
>> for a constant c? Specifically: Does decreasing the values of CPUUNITS
>> decrease the reaction time of VEs towards interrupts etc.?
>>
>> Thanks
>> Michael
>>
>>
--
accom GmbH & Co. KG
Gr¸ner Weg 100
52070 Aachen
Tel: +49 241 918 5228
Fax: +49 241 918 5299
|
|
|