UBC configuration examples table
|
See UBC configuration examples for the explanations. Configuration files using these values are found in /etc/vz/conf/
Name | A | B | C | D |
---|---|---|---|---|
Power | 2GB/400 | 2GB/120 | 2GB/8 | 2GB/1 |
Helper values | ||||
total mem | 5056KB | 16256KB | 248MB | 1984MB |
kernel mem | 1606KB | 3968KB | 42304KB | 300MB |
user mem | 3540KB | 12288KB | 200MB | 1684MB |
avnumproc | 15 | 40 | 200 | |
Primary parameters | ||||
numproc | 40 | 65 | 400 | 32,000 |
numtcpsock | 40 | 80 | 500 | LONG_MAX |
numothersock | 40 | 80 | 500 | LONG_MAX |
vmguarpages | 1,725 | 6,144 | 102,400 | 0 |
Secondary parameters | ||||
kmemsize | 870,400 / 923,648 | 2,457,600 / 2,621,400 | 16,384,000 / 18,022,400 | LONG_MAX / LONG_MAX |
tcpsndbuf | 159,744 / 262,144 | 319,488 / 524,288 | 5,365,760 / 10,485,760 | 402,653,184 / 402,653,184 |
tcprcvbuf | 159,744 / 262,144 | 319,488 / 524,288 | 5,365,760 / 10,485,760 | 402,653,184 / 402,653,184 |
othersockbuf | 61,440 / 163,840 | 122,880 / 327,680 | 1,503,232 / 4,063,232 | LONG_MAX / LONG_MAX |
dgramrcvbuf | 32,768 | 65,536 | 262,144 | LONG_MAX |
oomguarpages | 1,725 | 6,144 | 102,400 | 0 |
Auxiliary parameters | ||||
lockedpages | 4 | 32 | 4,096 | LONG_MAX |
shmpages | 1,152 | 8,192 | 131,072 | LONG_MAX |
privvmpages | 9,326 / 10,350 | 22,528 / 24,576 | 262,144 / 292,912 | LONG_MAX / LONG_MAX |
numfile | 512 | 1,280 | 8,192 | LONG_MAX |
numflock | 50 / 60 | 100 / 110 | 200 / 220 | 1,000 / LONG_MAX |
numpty | 4 | 16 | 64 | LONG_MAX |
numsiginfo | 256 | 256 | 512 | 1,024 |
dcachesize | 196,608 / 202,752 | 524,288 / 548,864 | 4,194,304 / 4,317,184 | LONG_MAX / LONG_MAX |