[Asterisk-Users] iLBC/PCM16 Huge Cost

Trevor Peirce tpeirce at digitalcon.ca
Sat Oct 23 11:36:26 MST 2004


Eric Wieling wrote:

> Kevin Walsh wrote:
>
>> Benjamin on Asterisk Mailing Lists [benjk.on.asterisk.ml at gmail.com] 
>> wrote:
>>
>>> Can you set up a test call where Asterisk will transcode from ulaw to
>>> ILBC and see what it does to your CPU load?
>>
How should I go about creating such a test call?

>> Also, try recalculating the translation matrix display values by typing
>> "show translation recalc 5".
>
Okay, that causes asterisk to crash...

callcentre*CLI> show translation
        Translation times between formats (in milliseconds)
         Source Format (Rows) Destination Format(Columns)



        G723   GSM  ULAW  ALAW  G726 ADPCM SLINR LPC10 G729A SPEEX  ILBC
  G723     -     -     -     -     -     -     -     -     -     -     -
   GSM     -     -     2     2     4     2     1   237     -     - 13561
  ULAW     -     5     -     1     4     2     1   237     -     - 13561
  ALAW     -     5     1     -     4     2     1   237     -     - 13561
  G726     -     6     3     3     -     3     2   238     -     - 13562
 ADPCM     -     5     2     2     4     -     1   237     -     - 13561
 SLINR     -     4     1     1     3     1     -   236     -     - 13560
 LPC10     -   133   130   130   132   130   129     -     -     - 13689
 G729A     -     -     -     -     -     -     -     -     -     -     -
 SPEEX     -     -     -     -     -     -     -     -     -     -     -
  ILBC     -   200   197   197   199   197   196   432     -     -     -
callcentre*CLI> show translation recalc 10
        Recalculating Codec Translation (number of sample seconds: 10)



callcentre*CLI> show translation
callcentre*CLI>

> If that doesn't work disable the RAID card and try again.

I can't do that right now for various reasons, but upon looking closer 
into our configuration, it seems we are just using an IDE Controller 
Card and software raid that's built in to linux.

I have noticed that when * is first loading, CPU usage goes to 100% for 
exactly the same duration that it takes that ilbc codec to load.



More information about the asterisk-users mailing list