OpenVZ Forum


Home » General » Support » Running procs in VPS context :: possible to limit/throttle?
Re: Running procs in VPS context :: possible to limit/throttle? [message #5197 is a reply to message #5194] Wed, 16 August 2006 15:35 Go to previous messageGo to previous message
dim is currently offline  dim
Messages: 344
Registered: August 2005
Senior Member
HaroldB wrote on Wed, 16 August 2006 11:28

say a vps tries to run 100 concurrent processes... can openvz handle/limit/throttle this?

like I said earlier, setting the cpulimit lower will only increase the number of running procs because they take longer to complete.

Do you agree on this point?



Agree.

There is cpuunits parameter also in OpenVZ. This parameter allow to set 'weight' of VE in respect of other VEs. If all VEs have equal weights, then one VE will have 1/number_of_ves CPU time no matter how much concurrent processes it runs. At the same time, if all VE's processes are in idle state, it's CPU time will be used by processes of other VEs.

Our scheduler operates in term of VEs, not processes.


http://static.openvz.org/openvz_userbar_en.gif
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon11.gif
Previous Topic: vzctl 3.0.11 and CPUS parameter
Next Topic: Reference for the UBC values?
Goto Forum:
  


Current Time: Fri Jul 26 08:16:23 GMT 2024

Total time taken to generate the page: 0.03417 seconds