Administrator TOOTAI
2011-Sep-30  08:56 UTC
[asterisk-users] Core show translation > 4000ms
Hi list,
we have 2 asterisk boxes in VM (kvm) on 2 different Dell servers, one is 
Lenny kernel 2.6.26 asterisk 1.6.2.20, the second CentOS 2.6.18 asterisk 
1.4.36 (Elastix). Both 64bits, no hardware involved, dahdi on both 
machines for meetme timing.
Doing core show translation give on the Lenny server
          Translation times between formats (in microseconds) for one 
second of data
           Source Format (Rows) Destination Format (Columns)
            g723   gsm  ulaw  alaw g726aal2 adpcm  slin lpc10  g729 
speex  ilbc  g726  g722 siren7 siren14 slin16
      g723     -     -     -     -        -     -     -     -     -     
-     -     -     -      -       -      -
       gsm     -     -     2     2     4001     2     1     2     -     
-     -  4001  4002      -       -   4003
      ulaw     -  4001     -     1     4001     2     1     2     -     
-     -  4001  4002      -       -   4003
      alaw     -  4001     1     -     4001     2     1     2     -     
-     -  4001  4002      -       -   4003
      [...]
and on the CentOS one
           g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc 
g726 g722
      g723    -   -    -    -        -     -    -     -    -     -    
-    -    -
       gsm    -   -    2    2        2     2    1     3    -     6    
-    2    2
      ulaw    -   2    -    1        2     2    1     3    -     6    
-    2    2
      alaw    -   2    1    -        2     2    1     3    -     6    
-    2    2
      [...]
Why do we have such latency on the Lenny machine for the codec 
translation? Is this due to a kernel parameter?
Thanks for any hint
-- 
Daniel
On 09/30/2011 03:56 AM, Administrator TOOTAI wrote:> Hi list, > > we have 2 asterisk boxes in VM (kvm) on 2 different Dell servers, one is > Lenny kernel 2.6.26 asterisk 1.6.2.20, the second CentOS 2.6.18 asterisk > 1.4.36 (Elastix). Both 64bits, no hardware involved, dahdi on both > machines for meetme timing. > > Doing core show translation give on the Lenny server > > Translation times between formats (in microseconds) for one second of data > Source Format (Rows) Destination Format (Columns) > > g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722 > siren7 siren14 slin16 > g723 - - - - - - - - - - - - - - - - > gsm - - 2 2 4001 2 1 2 - - - 4001 4002 - - 4003 > ulaw - 4001 - 1 4001 2 1 2 - - - 4001 4002 - - 4003 > alaw - 4001 1 - 4001 2 1 2 - - - 4001 4002 - - 4003 > [...] > > and on the CentOS one > > g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc g726 g722 > g723 - - - - - - - - - - - - - > gsm - - 2 2 2 2 1 3 - 6 - 2 2 > ulaw - 2 - 1 2 2 1 3 - 6 - 2 2 > alaw - 2 1 - 2 2 1 3 - 6 - 2 2 > [...] > > Why do we have such latency on the Lenny machine for the codec > translation? Is this due to a kernel parameter?Because you didn't read the output. It clearly says "(in microseconds)" in the 1.6.x output. -- Kevin P. Fleming Digium, Inc. | Director of Software Technologies Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at www.digium.com & www.asterisk.org