Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

VSwap

176 bytes added, 23:24, 1 October 2013
Implicit UBC parameters: enlarge a bit
Since vzctl 4.6, if some optional beancounters are not set, vzctl sets them implicitly,
using based on '''ram ''' and swap and, in case of privvmpages, a new parameter called '''VM overcommitswap'''settings.
The following formulae are used:
<math>vmguarpages_{bar} = vmguarpages_{lim} = ram + swap</math>
Also==== VM overcommit and privvmpages ==== vzctl 4.6 adds a new parameter, if <code>--vm_overcommit</code>.Its only purpose is to be used in privvmpages calculation,in case VSwap is used and there is no explicit settingfor privvmpages. If <math>vm\_overcommit</math> is set to non-zero:
: <math>privvmpages_{bar} = privvmpages_{lim} = (ram + swap) \times vm\_overcommit</math>
otherwiseIf it is not set:
: <math>privvmpages_{bar} = privvmpages_{lim} = \infty</math>