Need help in understanding example resource config [message #11551] |
Mon, 26 March 2007 21:25 |
mallah_rajesh
Messages: 8 Registered: March 2007
|
Junior Member |
|
|
Hi,
Below is an example config given in
Virtuozzo Mgmt of System Resources Guide.
can any one explain how the Total Mem has
been calculated/estimated in the helper values
section using the Primary,Secondary and Aux
parameters.
The Guide is available at:
http://www.thomas-krenn.com/upload/documentbox/VzLinuxResour cesMgmt.pdf
------------------------
Power: 2GB/8 (HN Mem/ Recommended num of VPS)
-------------------------
Helper Values:
Total mem: 248MB
Kernel mem: 42304 KB
User mem: 200 MB
-------------------------
Primary Parameters:
-------------------
numproc : 400
numtcpsoc: 500
numothersock: 500
vmguarpages: 102,400
Secondary Parameters: (Barrier:Limit)
---------------------
kmemsize: 16,384,000:18,022,400
tcpsndbuf: 5,5365,760 : 10,485,760
tcprcvbuf: 5,365,760 : 10,485,760
othersockbuf: 1,503,232: 4,063,232
dgramrcvbuf: 262,144
oomguarpages: 102,400
Auxiliary Parametrs:(Barrier:Limit)
--------------------
lockedpages: 4,096
shmpages: 131,072
privvmpages: 262,144: 292,912
numfile: 8192
numflock: 200/20
numpty: 64
numsiginfo: 512
dcachesize: 4,194,304:4,317,184
Regds
Mallah.
|
|
|