Difference between revisions of "MOR Server Speedup"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 23: Line 23:
Change them to G711 (alaw/ulaw). Server will be able to handle up to 3 times more calls compared G711 vs G729.
Change them to G711 (alaw/ulaw). Server will be able to handle up to 3 times more calls compared G711 vs G729.


Also possible to offload G729 transcoding to special card.
Also possible to offload [[G723/G729 Codec installation | G729]] transcoding to special card.


<br><br>
<br><br>

Revision as of 09:52, 1 August 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.

Also possible to offload G729 transcoding to special card.



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'