Difference between revisions of "UBC parameters table"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(Link each parameter to the details page of each parameter)
(Link primary, secondary and auxiliary to their own pages)
Line 4: Line 4:
 
! Name !! Description
 
! Name !! Description
 
|-
 
|-
| colspan="2" align="center" | Primary parameters
+
| colspan="2" align="center" | [[UBC primary parameters|Primary parameters]]
 
|-
 
|-
 
| [[numproc]]        || Number of processes and threads.
 
| [[numproc]]        || Number of processes and threads.
Line 14: Line 14:
 
| [[vmguarpages]]    || Memory allocation guarantee, in pages.
 
| [[vmguarpages]]    || Memory allocation guarantee, in pages.
 
|-
 
|-
| colspan="2" align="center" | Secondary parameters
+
| colspan="2" align="center" | [[UBC secondary parameters|Secondary parameters]]
 
|-
 
|-
 
| [[kmemsize]]      || Size of unswappable kernel memory, allocated for processes in this [[container]].
 
| [[kmemsize]]      || Size of unswappable kernel memory, allocated for processes in this [[container]].
Line 30: Line 30:
 
| [[privvmpages]]    || Memory allocation limit, in pages.
 
| [[privvmpages]]    || Memory allocation limit, in pages.
 
|-
 
|-
| colspan="2" align="center" | Auxiliary parameters
+
| colspan="2" align="center" | [[UBC auxiliary parameters|Auxiliary parameters]]
 
|-
 
|-
 
| [[lockedpages]]    || Process pages not allowed to be swapped out (pages locked by <code>mlock(2)</code>).
 
| [[lockedpages]]    || Process pages not allowed to be swapped out (pages locked by <code>mlock(2)</code>).

Revision as of 23:04, 1 August 2011

User Beancounters
Definition
/proc/user_beancounters
/proc/bc/
General information
Units of measurement
VSwap
Parameters description
Primary parameters
numproc, numtcpsock, numothersock, vmguarpages
Secondary parameters
kmemsize, tcpsndbuf, tcprcvbuf, othersockbuf, dgramrcvbuf, oomguarpages, privvmpages
Auxiliary parameters
lockedpages, shmpages, physpages, numfile, numflock, numpty, numsiginfo, dcachesize, numiptent, swappages
Internals
User pages accounting
RSS fractions accounting
On-demand accounting
UBC consistency
Consistency formulae
System-wide configuration
vzubc(8)
Configuration examples
Basic
Derived
Intermediate configurations
Tables
List of parameters
Parameter properties
Consistency
Config examples
Name Description
Primary parameters
numproc Number of processes and threads.
numtcpsock Number of TCP sockets.
numothersock Number of sockets other than TCP.
vmguarpages Memory allocation guarantee, in pages.
Secondary parameters
kmemsize Size of unswappable kernel memory, allocated for processes in this container.
tcpsndbuf Total size of TCP send buffers.
tcprcvbuf Total size of TCP receive buffers.
othersockbuf Total size of UNIX-domain socket buffers, UDP and other datagram protocol send buffers.
dgramrcvbuf Receive buffers of UDP and other datagram protocols.
oomguarpages The guaranteed amount of memory for the case the memory is “over-booked” (out-of-memory kill guarantee), in pages.
privvmpages Memory allocation limit, in pages.
Auxiliary parameters
lockedpages Process pages not allowed to be swapped out (pages locked by mlock(2)).
shmpages Total size of shared memory (IPC, shared anonymous mappings and tmpfs objects), in pages.
physpages Total number of RAM pages used by processes.
numfile Number of open files.
numflock Number of file locks.
numpty Number of pseudo-terminals.
numsiginfo Number of siginfo structures.
dcachesize Total size of dentry and inode structures locked in memory.
numiptent Number of NETFILTER (IP packet filtering) entries.
swappages Amount of swap space to show in container.