Difference between revisions of "MOR Server Speedup"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 18: Line 18:
=Codecs=
=Codecs=


If it is possible - do not use G729, G723 codecs. They require a lot of CPU power.
If it is possible - do not use G729, G723 [[codecs]]. They require a lot of CPU power for transcoding.


Change them to G711 (alaw/ulaw)
Change them to G711 (alaw/ulaw). Server will be able to handle up to 3 times more calls compared G711 vs G729.


<br><br>
<br><br>
= Asterisk Log files =
= Asterisk Log files =



Revision as of 18:59, 31 July 2012

Speed.jpg


GUI/DB servers

Move GUI/DB to different server.

Check Implementations




Faster Hardware

  • Faster CPU will help.
  • SSD HDD will help a lot. Especially for Database server.



Codecs

If it is possible - do not use G729, G723 codecs. They require a lot of CPU power for transcoding.

Change them to G711 (alaw/ulaw). Server will be able to handle up to 3 times more calls compared G711 vs G729.



Asterisk Log files

First of all it is crucial to turn off all log files.

In /etc/asterisk/logger.conf do:

[logfiles]
;debug => debug
console => warning,error
;messages => notice, warning, error
;full => notice, warning, error, debug, dtmf

Reload config for changes to take effect:

asterisk -vvvvrx 'logger reload'



CDR to CSV logging

Turn off CDR to CSV logging.

In /etc/asterisk/cdr.conf comment out all [csv] section:

;[csv]
;usegmtime=yes    ; log date/time in GMT.  Default is "no"
;loguniqueid=yes  ; log uniqueid.  Default is "no
;loguserfield=yes ; log user field.  Default is "no

And reload Asterisk for changes to take effect:

asterisk -vvvvrx 'reload'