[asterisk-users] High codec translation times on x64
Hristo Benev
hristob at smartbox.ca
Mon Feb 8 07:19:36 CST 2010
Are you sure you compare apples to apples
Here is my output on CentOS 32-bit
core show translation
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 slin16
g723 - - - - - - - - - -
- - - -
gsm - - 1001 1001 3999 1001 1000 7000 6000 9999
- 3999 3000 1999
ulaw - 3000 - 1 3000 2 1 6001 5001 9000
- 3000 2001 1000
alaw - 3000 1 - 3000 2 1 6001 5001 9000
- 3000 2001 1000
g726aal2 - 5999 3001 3001 - 3001 3000 9000 8000 11999
- 1 5000 3999
adpcm - 3000 2 2 3000 - 1 6001 5001 9000
- 3000 2001 1000
slin - 2999 1 1 2999 1 - 6000 5000 8999
- 2999 2000 999
lpc10 - 4998 2000 2000 4998 2000 1999 - 6999 10998
- 4998 3999 2998
g729 - 3998 1000 1000 3998 1000 999 6999 - 9998
- 3998 2999 1998
speex - 3999 1001 1001 3999 1001 1000 7000 6000 -
- 3999 3000 1999
ilbc - - - - - - - - - -
- - - -
g726 - 5999 3001 3001 1 3001 3000 9000 8000 11999
- - 5000 3999
g722 - 6998 4000 4000 6998 4000 3999 9999 8999 12998
- 6998 - 3999
slin16 - 9998 7000 7000 9998 7000 6999 12999 11999 15998
- 9998 6000 -
When Asterisk 1.6.x is used
AND
core show translation
Translation times between formats (in milliseconds) for one
second of data
Source Format (Rows) Destination Format (Columns)
g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc
g726 g722
g723 - - - - - - - - - - -
- -
gsm - - 2 2 4 2 1 6 - 40 -
4 -
ulaw - 4 - 1 4 2 1 6 - 40 -
4 -
alaw - 4 1 - 4 2 1 6 - 40 -
4 -
g726aal2 - 5 3 3 - 3 2 7 - 41 -
1 -
adpcm - 4 2 2 4 - 1 6 - 40 -
4 -
slin - 3 1 1 3 1 - 5 - 39 -
3 -
lpc10 - 5 3 3 5 3 2 - - 41 -
5 -
g729 - - - - - - - - - - -
- -
speex - 6 4 4 6 4 3 8 - - -
6 -
ilbc - - - - - - - - - - -
- -
g726 - 5 3 3 1 3 2 7 - 41 -
- -
g722 - - - - - - - - - - -
- -
When Asterisk 1.4.x is used
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
Christopher Brown
Sent: Monday, February 08, 2010 7:55 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] High codec translation times on x64
Hi Users,
I was wondering if someone of you have the same thing on CentOS 64x?
asterisk01*CLI> core show translation
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 - - 3001 3002 6999 3001 3000 10999 -
- 40994 8000 6999 - - 13998
ulaw - 5000 - 1 4000 2 1 8000 -
- 37995 5001 4000 - - 10999
alaw - 5000 1 - 4000 2 1 8000 -
- 37995 5001 4000 - - 10999
g726aal2 - 8998 4000 4001 - 4000 3999 11998 -
- 41993 8999 7998 - - 14997
adpcm - 5000 2 3 4000 - 1 8000 -
- 37995 5001 4000 - - 10999
slin - 4999 1 2 3999 1 - 7999 -
- 37994 5000 3999 - - 10998
lpc10 - 7999 3001 3002 6999 3001 3000 - -
- 40994 8000 6999 - - 13998
g729 - - - - - - - - -
- - - - - - -
speex - - - - - - - - -
- - - - - - -
ilbc - 11998 7000 7001 10998 7000 6999 14998 -
- - 11999 10998 - - 17997
g726 - 8998 4000 4001 7998 4000 3999 11998 -
- 41993 - 7998 - - 14997
g722 - 12998 8000 8001 11998 8000 7999 15998 -
- 45993 12999 - - - 6999
siren7 - - - - - - - - -
- - - - - - -
siren14 - - - - - - - - -
- - - - - - -
slin16 - 21996 16998 16999 20996 16998 16997 24996 -
- 54991 21997 8998 - - -
On CentOS 32x
rentier*CLI> show translation
Translation times between formats (in milliseconds) for one
second of data
Source Format (Rows) Destination Format (Columns)
g723 gsm ulaw alaw g726aal2 adpcm slin lpc10 g729 speex ilbc
g726 g722
g723 - - - - - - - - - -
- - -
gsm - - 2 2 2 2 1 3 - -
16 2 -
ulaw - 2 - 1 2 2 1 3 - -
16 2 -
alaw - 2 1 - 2 2 1 3 - -
16 2 -
g726aal2 - 2 2 2 - 2 1 3 - -
16 1 -
adpcm - 2 2 2 2 - 1 3 - -
16 2 -
slin - 1 1 1 1 1 - 2 - -
15 1 -
lpc10 - 2 2 2 2 2 1 - - -
16 2 -
g729 - - - - - - - - - -
- - -
speex - - - - - - - - - -
- - -
ilbc - 3 3 3 3 3 2 4 - -
- 3 -
g726 - 2 2 2 1 2 1 3 - -
16 - -
g722 - - - - - - - - - -
- - -
This is strange :-)
Chris
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
More information about the asterisk-users
mailing list