Difference between revisions of "MOR Server Speedup"
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
[[File:speed.jpg|300px]] | [[File:speed.jpg|300px|right]] | ||
= Newest version = | |||
Always use newest version. Whole our team is constantly working to improving MOR quality and speed! | |||
<br><br> | |||
= GUI/DB servers = | |||
Move GUI/DB to different server. | |||
Check [[Implementations]] | |||
<br><br> | |||
= Faster Hardware = | |||
* Faster CPU [[Recommended hardware for MOR server |will help]]. | |||
* SSD HDD will help a lot. Especially for Database server. | |||
<br><br> | |||
=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 [[G723/G729 Codec installation | G729]] transcoding to special card. | |||
<br><br> | |||
= Asterisk Log files = | = Asterisk Log files = | ||
Line 15: | Line 47: | ||
asterisk -vvvvrx 'logger reload' | asterisk -vvvvrx 'logger reload' | ||
Another alternative is to log data to separate HDD/server. | |||
<br><br> | <br><br> | ||
= CDR to CSV logging = | = CDR to CSV logging = | ||
Line 31: | Line 66: | ||
asterisk -vvvvrx 'reload' | asterisk -vvvvrx 'reload' | ||
Latest revision as of 19:35, 1 August 2012
Newest version
Always use newest version. Whole our team is constantly working to improving MOR quality and speed!
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'
Another alternative is to log data to separate HDD/server.
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'