OpenVZ Forum


Home » General » Support » *SOLVED* Using cpuunits to enforce CPU proportional shares
*SOLVED* Using cpuunits to enforce CPU proportional shares [message #10021] Mon, 05 February 2007 15:47 Go to previous message
Pradeep Padala is currently offline  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

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* failcount, but how?
Next Topic: kernel: Fatal exception: panic in 5 seconds
Goto Forum:
  


Current Time: Fri Sep 06 06:18:21 GMT 2024

Total time taken to generate the page: 0.06270 seconds