Fine Tuning system resources and power of VE / asterisk optimizations [message #34031] |
Wed, 26 November 2008 13:35 |
martink1703
Messages: 1 Registered: November 2008 Location: Duesseldorf / Germany
|
Junior Member |
|
|
We are using a Dual Opteron with 8 cores and 32 GB RAM running Ubuntu with this Kernel :
2.6.24-openvz #2 SMP Fri Oct 31 23:39:58 CET 2008 x86_64 GNU/Linux
We need to increase the power of our VE 106 !
vzcpucheck
Current CPU utilization: 255000
Power of the node: 880229
vzcpucheck give us the Power of the node: 880229
VE0CPUUNITS=5000 /etc/vz.conf
with vzsplit we have divided the unit into 3 VE and with
vzctl set 106 --cpuunits 220037 --save
we have reached the maximum value of cpuunits
increasing cpuunits gives us an error :
vzctl set 106 --cpuunits 293383 --save
Setting CPU units: 293383
Saved parameters for VE 106
root@vic:/etc/vz/conf# vzcpucheck
ERROR: VE0 CPU units not set, or set too high!
Probably you have not started /etc/init.d/vz
This is our configuration for VE 106
# Configuration file generated by vzsplit for 3 VEs
# on HN with total amount of physical mem 32249 Mb
# low memory 32249 Mb, swap size 0 Mb, Max treads 8000
# Resourse commit level 0:
# Free resource distribution. Any parameters may be increased
# Primary parameters
NUMPROC="55038:55038"
AVNUMPROC="27519:27519"
NUMTCPSOCK="55038:55038"
NUMOTHERSOCK="55038:55038"
VMGUARPAGES="1646882:9223372036854775807"
# Secondary parameters
KMEMSIZE="2254368494:2479805343"
TCPSNDBUF="526020517:751456165"
TCPRCVBUF="526020517:751456165"
OTHERSOCKBUF="263010258:488445906"
DGRAMRCVBUF="263010258:263010258"
OOMGUARPAGES="1646882:9223372036854775807"
PRIVVMPAGES="4953446:5448790"
# Auxiliary parameters
LOCKEDPAGES="110076:110076"
SHMPAGES="495344:495344"
PHYSPAGES="0:9223372036854775807"
NUMFILE="880608:880608"
NUMFLOCK="1000:1100"
NUMPTY="512:512"
NUMSIGINFO="1024:1024"
DCACHESIZE="492456512:507230208"
NUMIPTENT="200:200"
DISKSPACE="3439495:3783445"
DISKINODES="15339078:16872986"
CPUUNITS="220037"
What can we do to give this VE more Power ?
Which asterisk optimizations can be done ?
Greets
Martin
|
|
|