Editing UBC auxiliary parameters
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 | + | 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. | ||
− | + | <code>Physpages</code> is an accounting-only parameter currently. | |
− | + | In future OpenVZ releases, this parameter will allow to provide guaranteed | |
− | + | amount of application memory, residing in RAM and not swappable. | |
− | For | + | For compatibility with future versions, the <code>barrier</code> of this |
− | + | parameter should be set to <code>0</code> and the <code>limit</code> to | |
− | <code>limit</code> to | + | the maximal allowed value ([[MAX_ULONG]]). |
== numfile == | == numfile == | ||
Line 190: | Line 192: | ||
The amount of swap space to show in container. | The amount of swap space to show in container. | ||
− | {{Note|this parameter is only available in RHEL5-based kernel since version 028stab060.2 | + | {{Note|this parameter is only available in RHEL5-based kernel since version 028stab060.2.}} |
The configuration of this parameter doesn't affect security and | The configuration of this parameter doesn't affect security and | ||
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 [[ | + | 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. | ||
Line 208: | Line 210: | ||
The value of <code>barrier</code> for this beancounter is ignored. | The value of <code>barrier</code> for this beancounter is ignored. | ||
− | The | + | The <code |
− |