Intermediate UBC configurations

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
User Beancounters
General information
Units of measurement
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
User pages accounting
RSS fractions accounting
On-demand accounting
UBC consistency
Consistency formulae
System-wide configuration
Configuration examples
Intermediate configurations
List of parameters
Parameter properties
Config examples

System administrators can produce more starting conïfigurations by multiplying the values taken from some existing configuration by the same number, or by combining 2 configurations into a new one. UBC derived configuration examples shows 2 examples of such configurations, derived from existing examples.

Scaling configurations[edit]

Multiplying all the confguration numbers by a number greater than 1 produces a configuration for more “heavy” load or applications (see example 2A). Multiplying by positive numbers less than 1 produces “lighter” configuration. Configurations produced by multiplying an existing configuration by a number greater than 1 will be consistent if the original configuration was consistent.

Caution: lighter configurations produced by multiplying some configuration by a number less than 1 may happen to be inconsistent (see UBC consistency check for more details about configuration consistency).

Intermediate configurations[edit]

It is also possible to produce intermediate configurations between the given two, combining the numbers with coefficients:

where . Example labelled “0.5A+0.5B” (see UBC derived configuration examples) is such an intermediate configuration with ½.

Intermediate configurations produced by this rule will be consistent if the original configurations were consistent.

Caution: configurations produced by summing configurations with arbitrary coefficients (not giving 1 in sum or not all positive) may produce inconsistent configurations.