Difference between revisions of "UBC configuration examples table"
(created) |
(added helper) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{UBC toc}} | {{UBC toc}} | ||
− | See [[UBC configuration examples]] for the explanations. | + | See [[UBC configuration examples]] for the explanations. Configuration files using these values are found in /etc/vz/conf/ |
{| class="wikitable" | {| class="wikitable" | ||
Line 22: | Line 22: | ||
| numproc || 40 || 65 || 400 || 32,000 | | numproc || 40 || 65 || 400 || 32,000 | ||
|- | |- | ||
− | | numtcpsock || 40 || 80 || 500 || [[ | + | | numtcpsock || 40 || 80 || 500 || [[LONG_MAX]] |
|- | |- | ||
− | | numothersock || 40 || 80 || 500 || [[ | + | | numothersock || 40 || 80 || 500 || [[LONG_MAX]] |
|- | |- | ||
| vmguarpages || 1,725 || 6,144 || 102,400 || 0 | | vmguarpages || 1,725 || 6,144 || 102,400 || 0 | ||
Line 30: | Line 30: | ||
! colspan="5" | Secondary parameters | ! colspan="5" | Secondary parameters | ||
|- | |- | ||
− | | kmemsize || 870,400 / 923,648 || 2,457,600 / 2,621,400 || 16,384,000 / 18,022,400 || [[ | + | | 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 | | tcpsndbuf || 159,744 / 262,144 || 319,488 / 524,288 || 5,365,760 / 10,485,760 || 402,653,184 / 402,653,184 | ||
Line 36: | Line 36: | ||
| tcprcvbuf || 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 || [[ | + | | 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 || [[ | + | | dgramrcvbuf || 32,768 || 65,536 || 262,144 || [[LONG_MAX]] |
|- | |- | ||
| oomguarpages || 1,725 || 6,144 || 102,400 || 0 | | oomguarpages || 1,725 || 6,144 || 102,400 || 0 | ||
Line 44: | Line 44: | ||
! colspan="5" | Auxiliary parameters | ! colspan="5" | Auxiliary parameters | ||
|- | |- | ||
− | | lockedpages || 4 || 32 || 4,096 || [[ | + | | lockedpages || 4 || 32 || 4,096 || [[LONG_MAX]] |
|- | |- | ||
− | | shmpages || 1,152 || 8,192 || 131,072 || [[ | + | | shmpages || 1,152 || 8,192 || 131,072 || [[LONG_MAX]] |
|- | |- | ||
− | | privvmpages || 9,326 / 10,350 || 22,528 / 24,576 || 262,144 / 292,912 || [[ | + | | privvmpages || 9,326 / 10,350 || 22,528 / 24,576 || 262,144 / 292,912 || [[LONG_MAX]] / [[LONG_MAX]] |
|- | |- | ||
− | | numfile || 512 || 1,280 || 8,192 || [[ | + | | numfile || 512 || 1,280 || 8,192 || [[LONG_MAX]] |
|- | |- | ||
− | | numflock || 50 / 60 || 100 / 110 || 200 / 220 || 1,000 / [[ | + | | numflock || 50 / 60 || 100 / 110 || 200 / 220 || 1,000 / [[LONG_MAX]] |
|- | |- | ||
− | | numpty || 4 || 16 || 64 || [[ | + | | numpty || 4 || 16 || 64 || [[LONG_MAX]] |
|- | |- | ||
| numsiginfo || 256 || 256 || 512 || 1,024 | | numsiginfo || 256 || 256 || 512 || 1,024 | ||
|- | |- | ||
− | | dcachesize || 196,608 / 202,752 || 524,288 / 548,864 || 4,194,304 / 4,317,184 || [[ | + | | dcachesize || 196,608 / 202,752 || 524,288 / 548,864 || 4,194,304 / 4,317,184 || [[LONG_MAX]] / [[LONG_MAX]] |
|} | |} |
Latest revision as of 06:32, 18 October 2012
|
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 |