[Asterisk-Users] Music on Hold: CPU Intensive Monster

Matthew Boehm mboehm at cytelcom.com
Wed Jul 27 07:29:42 MST 2005


OK. So I did a test last night. All of asterisk's threads where using 
0.0% CPU.

I made 1 call to our call queue.

CPU jumped to average of 9% and stayed around that for the 2 minutes I 
was in the queue just listening to music on hold.

MOH is in MP3 format and I'm using format_mp3. Phone was linksys PAP2-NA 
using G729.

Can I reasonably assume that the 9% was decoding the MP3, then encoding 
G729?

I tried using Anthm's RAW format but that actually made things worse.

I tried going back to mpeg321 and asterisk still used the same amount of 
CPU.

Any ideas for getting processor usage down on MOH?

-Matthew




More information about the asterisk-users mailing list