OpenVZ Forum


Home » General » Support » Help with calculating fair allocations
Re: Help with calculating fair allocations [message #7954 is a reply to message #7949] Tue, 31 October 2006 15:13 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Bryan,

I suggest you to read all the wiki pages about UBCs, dedicating at least a couple of hours for this task. Those pages do have something to say. Especially, please read the description of individual parameters, also wiki: UBC systemwide configuration, and generally all the other UBC-related articles.

vmguarpages is NOT RAM limit. It is a _guarantee_ for allocations.

privvmpages is NOT RAM limit. It is a limit of how many pages a VE can _allocate_ (using, say, malloc()), but not yet use -- as it often happens. The thing is, pages are allocated by applications, but not all of them are used, and in Linux (and any other modern OS), allocation does not yet leads to a page allocated in RAM. In fact, page in RAM is allocated later, when it's used for the first time, and _only_ if it's used. Also, some pages are swapped out.

Again, please read all those articles first, and ask your questions only after you read and undestood that stuff.

Regards,
Kir.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* ACPI problems. 2.6.18?
Next Topic: *SOLVED* iptables support inside vps
Goto Forum:
  


Current Time: Tue Jul 09 17:18:39 GMT 2024

Total time taken to generate the page: 0.02475 seconds