Re: Memory & SWAP [message #9834 is a reply to message #9824] |
Wed, 24 January 2007 14:27 |
rickb
Messages: 368 Registered: October 2006
|
Senior Member |
|
|
This is your same question reworded.
Think of a normal linux kernel with two instances of Apache. Now, can you tell the kernel to allow each to allocate XX MB of physical mem and YY MB of swap?- no you cannot. Now, think of each of those apaches being a VZ VE. Bottom line, in this simple scenario, the same memory manager is used on the HN vs. a conventional kernel. The only differences is that the kernel can reap back memory to enforce guarantees (vmguar+oomguar) or apply an upper alloc limit (privvm).
Quote: | So when I give 1GB burstable RAM that will give them the ability to use that but they won't necessarily be using the SWAP but when the physical RAM does runs out the new memory left over memory will be SWAP, right?
|
I already answered this with:
Quote: |
not possible to give/assign/guarantee a VE XX swap and YY physical memory
|
----------------------
Quote: |
So I can give 512MB to 1GB burst even though I don't have the physical RAM to support it?
|
I already answered this with:
Quote: |
you can guarantee and limit each VE to an arbitrary amount of memory.
|
-------------
Common Terms I post with: http://wiki.openvz.org/Category:Definitions
UBC. Learn it, love it, live it: http://wiki.openvz.org/Proc/user_beancounters
[Updated on: Wed, 24 January 2007 14:30] Report message to a moderator
|
|
|