Re: Help with calculating fair allocations [message #7954 is a reply to message #7949] |
Tue, 31 October 2006 15:13 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
|
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
|
|
|