Difference between revisions of "MOR Server Speedup"

From Kolmisoft Wiki
Jump to navigationJump to search
Line 12: Line 12:
= Faster Hardware =
= Faster Hardware =


* Faster CPU will help.
* Faster CPU [[Recommended hardware for MOR server |will help]].
* SSD HDD will help a lot. Especially for Database server.
* SSD HDD will help a lot. Especially for Database server.


<br><br>
<br><br>
=Codecs=
=Codecs=



Revision as of 19:01, 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'