OpenVZ Forum


Home » General » Discussions » How fine virtualization could openvz do?
Re: How fine virtualization could openvz do? [message #4233 is a reply to message #4231] Mon, 03 July 2006 12:19 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

For the CPU side, you assign different cpuunits values to different VEs, and they get their CPU shares according to their cpuunits. That means a VE can have up to 100% of the CPU if nobody else is using it; in case more than one VE is using a CPU, CPU time will be distributed in proportions to VE's cpuunits.

In case you want to have an upper limit on the CPU time a VE can have, use cpulimit option. But this is not really needed, since OpenVZ CPU scheduler is "fair" ... so the only time you need this cpulimit is when you want to simulate a slow machine or smth like this.

For the RAM side, it is not that straightforward, since RAM is used for a lot of different tasks. In short, RAM available for a VE is regulated by a set of so called User Beancounters. For more info, search this forum for user beancounters (or UBC), read OpenVZ user's guide, and check http://wiki.openvz.org/Resource_management


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Swap Usage
Next Topic: Control Panels
Goto Forum:
  


Current Time: Fri Aug 15 01:35:18 GMT 2025

Total time taken to generate the page: 0.47349 seconds