OpenVZ Forum


Home » General » Support » Making a VE use a particular cpu
Re: Making a VE use a particular cpu [message #34357 is a reply to message #34354] Wed, 24 December 2008 17:36 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello,

we have to provide an ability to divide processes into several groups (e.g. if VE1 has only one process and VE2 has hundred of them the last hundred processes in VE2 should get the same CPU time (in sum) as a single one in VE1).
O(1) scheduler make OpenVZ developers to create an additional layer to provide such functionality.

Using CFS scheduler allowed to get rid of some things because it was possible to use hierarchy without building a massive additional layer.

Quote:


And if i'm on 2.6.18 ovz and use mpstat to monitor cpu load
which cpus do i see vcpus or pcpus?



Information from proc concerning cpus should be represent as vcpu.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: vzctle exec 'command' extend path
Next Topic: cannot remove openvz from Hypervm
Goto Forum:
  


Current Time: Sun Jul 13 19:50:28 GMT 2025

Total time taken to generate the page: 0.02419 seconds