Editing UBC auxiliary parameters

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 4: Line 4:
 
important for security and stability of the whole system. Auxiliary
 
important for security and stability of the whole system. Auxiliary
 
parameters differ much from primary and secondary parameters in this respect.
 
parameters differ much from primary and secondary parameters in this respect.
 +
 +
== Introduction ==
  
 
The primary functions of auxiliary parameters are the following.
 
The primary functions of auxiliary parameters are the following.
Line 81: Line 83:
  
 
== physpages ==
 
== physpages ==
Total number of RAM pages used by processes in a container.
+
Total number of RAM pages used by processes in this container.
  
 
For memory pages used by several different containers (mappings of
 
For memory pages used by several different containers (mappings of
Line 90: Line 92:
 
containers.
 
containers.
  
For [[VSwap]]-enabled kernels, the <code>barrier</code> should be set to 0,
+
<code>Physpages</code> is an accounting-only parameter currently.
and the <code>limit</code> limits the total size of RAM used by a container.
+
In future OpenVZ releases, this parameter will allow to provide guaranteed
 
+
amount of application memory, residing in RAM and not swappable.
For older kernels, <code>physpages</code> is an accounting-only parameter.
+
For compatibility with future versions, the <code>barrier</code> of this
The <code>barrier</code> should be set to <code>0</code> and the
+
parameter should be set to <code>0</code> and the <code>limit</code> to
<code>limit</code> to 'unlimited' ([[LONG_MAX]]).
+
the maximal allowed value ([[MAX_ULONG]]).
  
 
== numfile ==
 
== numfile ==
Line 202: Line 204:
 
of total swap space in a container.
 
of total swap space in a container.
  
If the <code>limit</code> is set to [[LONG_MAX]] (which is the
+
If the <code>limit</code> is set to [[MAX_ULONG]] (which is the
 
in-kernel default for this parameter), all the swap space values
 
in-kernel default for this parameter), all the swap space values
 
parameters (total, used, free) are reported as 0.
 
parameters (total, used, free) are reported as 0.
  
 
The value of <code>barrier</code> for this beancounter is ignored.
 
The value of <code>barrier</code> for this beancounter is ignored.
 
The value of <code>held</code> shows how much swap space
 
is currently being used for this container.
 

Please note that all contributions to OpenVZ Virtuozzo Containers Wiki may be edited, altered, or removed by other contributors. If you don't want your writing to be edited mercilessly, then don't submit it here.
If you are going to add external links to an article, read the External links policy first!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: