*SOLVED* Using cpuunits to enforce CPU proportional shares [message #10021] |
Mon, 05 February 2007 15:47 |
Pradeep Padala
Messages: 18 Registered: June 2006
|
Junior Member |
|
|
Hi,
I am trying to enforce a CPU usage ratio by using the cpuunits option instead of cpulimit. For ex. I want to make sure that two VEs ve1, ve2 should have a CPU consumption ratio of 3:1 (proportional shares). I know that I can use cpulimit to do this, but is it possible to use cpuunits ? If I run two CPU consuming applications in ve1 and ve2, and specify a 3:1 ratio of cpuunits, would the VEs consume CPU in that ratio ?
I experimented with a simple while(1) loop and it doesn't seem to follow this. If this doesn't work, what's the use of specifying cpuunits ?
Pradeep
[Updated on: Wed, 07 February 2007 07:09] by Moderator Report message to a moderator
|
|
|