[asterisk-dev] DSP pci board.

2006-03-22 Thread Wai Wu



Hi 
all,

Has been poking 
through the * source code a bit and trying to identify the most CPU demanding 
piece of code. Is trans-coding the most CPU demanding? I happen to have access 
to a DSP pci board. If I can move the encoder/decoder off the host processor 
onto the DSP board, will I get a decent performance boost for an * PSTN gateway 
for VoIP phones (assuming all VoIP phones are using say g732, g729 or 
gsm)?
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [asterisk-dev] DSP pci board.

2006-03-22 Thread Wilmar Campos
Where can i Get one of those DSP PCI boards?
On 3/22/06, Wai Wu [EMAIL PROTECTED] wrote:


Hi all,

Has been poking through the * source code a bit and trying to identify the most CPU demanding piece of code. Is trans-coding the most CPU demanding? I happen to have access to a DSP pci board. If I can move the encoder/decoder off the host processor onto the DSP board, will I get a decent performance boost for an * PSTN gateway for VoIP phones (assuming all VoIP phones are using say g732, g729 or gsm)?
___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-dev mailing listTo UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-dev
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [asterisk-dev] DSP pci board.

2006-03-22 Thread BJ Weschke
On 3/22/06, Wai Wu [EMAIL PROTECTED] wrote:

 Hi all,

 Has been poking through the * source code a bit and trying to identify the
 most CPU demanding piece of code. Is trans-coding the most CPU demanding? I
 happen to have access to a DSP pci board. If I can move the encoder/decoder
 off the host processor onto the DSP board, will I get a decent performance
 boost for an * PSTN gateway for VoIP phones (assuming all VoIP phones are
 using say g732, g729 or gsm)?
 ___


 You will get a performance increase, but then you'd also have to
write Asterisk drivers for it.


--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


RE: [asterisk-dev] DSP pci board.

2006-03-22 Thread Wai Wu



The one I got is make for us for a different project. 
However, if you google "DSP PCI board", you can find quite a few around and some 
development kit as well.


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Wilmar 
CamposSent: Wednesday, March 22, 2006 4:57 PMTo: Asterisk 
Developers Mailing ListSubject: Re: [asterisk-dev] DSP pci 
board.
Where can i Get one of those DSP PCI boards?
On 3/22/06, Wai Wu 
[EMAIL PROTECTED] wrote: 

  
  Hi all,
  
  Has been poking through the * source code a 
  bit and trying to identify the most CPU demanding piece of code. Is 
  trans-coding the most CPU demanding? I happen to have access to a DSP pci 
  board. If I can move the encoder/decoder off the host processor onto the DSP 
  board, will I get a decent performance boost for an * PSTN gateway for VoIP 
  phones (assuming all VoIP phones are using say g732, g729 or gsm)? 
  ___--Bandwidth 
  and Colocation provided by Easynews.com 
  --asterisk-dev mailing listTo UNSUBSCRIBE or update options 
  visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


RE: [asterisk-dev] DSP pci board.

2006-03-22 Thread Wai Wu
I was thinking just patching,  say codec_gsm.c  

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of BJ Weschke
Sent: Wednesday, March 22, 2006 5:07 PM
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] DSP pci board.

On 3/22/06, Wai Wu [EMAIL PROTECTED] wrote:

 Hi all,

 Has been poking through the * source code a bit and trying to identify

 the most CPU demanding piece of code. Is trans-coding the most CPU 
 demanding? I happen to have access to a DSP pci board. If I can move 
 the encoder/decoder off the host processor onto the DSP board, will I 
 get a decent performance boost for an * PSTN gateway for VoIP phones 
 (assuming all VoIP phones are using say g732, g729 or gsm)?
 ___


 You will get a performance increase, but then you'd also have to write
Asterisk drivers for it.


--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [asterisk-dev] DSP pci board.

2006-03-22 Thread Matt Florell
From: http://www.tmcnet.com/usubmit/2006/03/14/1456373.htm

Digium Inc., the creator of Asterisk(TM), and pioneer of open source
telephony, today announced the availability of new hardware solutions
to enhance Asterisk transcoding and echo cancellation performance for
VoIP and PSTN gateways. These new products include the TC400P VoIP
transcoding card...

snip

The TC400P provides hardware transcoding of VoIP codecs; decreasing
Asterisk's work load and providing improved CPU efficiency and an
increase in channel density over a software-only solution. The TC400P
provides Asterisk with full transcoding support and hardware
acceleration for the G.723.1 and G.729A codecs.


Can't wait for more info on this one.

MATT---

On 3/22/06, Wai Wu [EMAIL PROTECTED] wrote:
 I was thinking just patching,  say codec_gsm.c

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of BJ Weschke
 Sent: Wednesday, March 22, 2006 5:07 PM
 To: Asterisk Developers Mailing List
 Subject: Re: [asterisk-dev] DSP pci board.

 On 3/22/06, Wai Wu [EMAIL PROTECTED] wrote:
 
  Hi all,
 
  Has been poking through the * source code a bit and trying to identify

  the most CPU demanding piece of code. Is trans-coding the most CPU
  demanding? I happen to have access to a DSP pci board. If I can move
  the encoder/decoder off the host processor onto the DSP board, will I
  get a decent performance boost for an * PSTN gateway for VoIP phones
  (assuming all VoIP phones are using say g732, g729 or gsm)?
  ___


  You will get a performance increase, but then you'd also have to write
 Asterisk drivers for it.


 --
 Bird's The Word Technologies, Inc.
 http://www.btwtech.com/
 ___
 --Bandwidth and Colocation provided by Easynews.com --

 asterisk-dev mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
 ___
 --Bandwidth and Colocation provided by Easynews.com --

 asterisk-dev mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [asterisk-dev] DSP pci board.

2006-03-22 Thread Mike Taht
On 3/22/06, Wai Wu [EMAIL PROTECTED] wrote:
I was thinking just patching,say codec_gsm.cGSM
is a codec that was optimized for early mips processors back in the
early 90s, and more or less flies on a modern processor. (the only way
I can think of to make it go faster on a modern architecture would be
to do multiple channels of gsm encodings/decodings in the same pass)

I would argue that the only codecs worth patching for a DSP would
be the higher overhead speex and g72x codecs. 

Even then the price of the virt-phys kernel transition required for
the userspace asterisk to talk to a kernelspace dsp is probably way too
high. A good place for a dsp is in a pots card like the digium T1
cards, where the interface to the data can run purely in kernel space.

-Original Message-From: 
[EMAIL PROTECTED][mailto:[EMAIL PROTECTED]] On Behalf Of BJ WeschkeSent: Wednesday, March 22, 2006 5:07 PM
To: Asterisk Developers Mailing ListSubject: Re: [asterisk-dev] DSP pci board.On 3/22/06, Wai Wu [EMAIL PROTECTED] wrote: Hi all, Has been poking through the * source code a bit and trying to identify
 the most CPU demanding piece of code. Is trans-coding the most CPU demanding? I happen to have access to a DSP pci board. If I can move the encoder/decoder off the host processor onto the DSP board, will I
 get a decent performance boost for an * PSTN gateway for VoIP phones (assuming all VoIP phones are using say g732, g729 or gsm)? ___ You will get a performance increase, but then you'd also have to write
Asterisk drivers for it.--Bird's The Word Technologies, Inc.http://www.btwtech.com/___--Bandwidth and Colocation provided by 
Easynews.com --asterisk-dev mailing listTo UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-dev
___--Bandwidth and Colocation provided by Easynews.com --asterisk-dev mailing listTo UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-dev-- Mike TahtPostCards From the Bleeding Edge
http://the-edge.blogspot.com
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [asterisk-dev] DSP pci board.

2006-03-22 Thread BJ Weschke
On 3/22/06, Matt Florell [EMAIL PROTECTED] wrote:
 From: http://www.tmcnet.com/usubmit/2006/03/14/1456373.htm

 Digium Inc., the creator of Asterisk(TM), and pioneer of open source
 telephony, today announced the availability of new hardware solutions
 to enhance Asterisk transcoding and echo cancellation performance for
 VoIP and PSTN gateways. These new products include the TC400P VoIP
 transcoding card...

 snip

 The TC400P provides hardware transcoding of VoIP codecs; decreasing
 Asterisk's work load and providing improved CPU efficiency and an
 increase in channel density over a software-only solution. The TC400P
 provides Asterisk with full transcoding support and hardware
 acceleration for the G.723.1 and G.729A codecs.


 Can't wait for more info on this one.


 I saw the board at VON. Wasn't sure if it was public yet. Sounds
very, very cool. :)

--
Bird's The Word Technologies, Inc.
http://www.btwtech.com/
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [asterisk-dev] DSP pci board.

2006-03-22 Thread Tzafrir Cohen
On Wed, Mar 22, 2006 at 05:06:50PM -0500, BJ Weschke wrote:
 On 3/22/06, Wai Wu [EMAIL PROTECTED] wrote:
 
  Hi all,
 
  Has been poking through the * source code a bit and trying to identify the
  most CPU demanding piece of code. Is trans-coding the most CPU demanding? I
  happen to have access to a DSP pci board. If I can move the encoder/decoder
  off the host processor onto the DSP board, will I get a decent performance
  boost for an * PSTN gateway for VoIP phones (assuming all VoIP phones are
  using say g732, g729 or gsm)?
  ___
 
 
  You will get a performance increase, but then you'd also have to
 write Asterisk drivers for it.

That depends on the codec. The gsm codec and the speex codec can use
libgsm and libspeex (respectively) dynamically-linked. So you basically
need to implement the relevant codec library more efficiently on the
DSP.

Right?

-- 
Tzafrir Cohen icq#16849755  +972-50-7952406
[EMAIL PROTECTED]  http://www.xorcom.com
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


Re: [asterisk-dev] DSP pci board.

2006-03-22 Thread Andrew Pollack
Agreed -- fourier transforms are expensive, but on modern multithreaded --
and multicore even -- processing systems that run at multiple gigahertz,
are doing so many instructions per second that it could easily be more of a
bottle neck getting the windows in and out of of the external processor
than just processing them would be.

---
Andrew Pollack
Northern Collaborative Technologies
207-221-2547


[EMAIL PROTECTED] wrote on 03/22/2006 05:40:29 PM:



 On 3/22/06, Wai Wu [EMAIL PROTECTED] wrote:



 I was thinking just patching,  say codec_gsm.c
 GSM is a codec that was optimized for early mips processors back in
 the early 90s, and more or less flies on a modern processor. (the
 only way I can think of to make it go faster on a modern
 architecture would be to do multiple channels of gsm
 encodings/decodings in the same pass)

 I would argue that the only  codecs worth patching for a DSP would
 be the higher overhead speex and  g72x  codecs.

 Even then the price of the virt-phys kernel transition required for
 the userspace asterisk to talk to a kernelspace dsp is probably way
 too high. A good place for a dsp is in a pots card like the digium
 T1 cards, where the interface to the data can run purely in kernel space.


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of BJ Weschke
 Sent: Wednesday, March 22, 2006 5:07 PM
 To: Asterisk Developers Mailing List
 Subject: Re: [asterisk-dev] DSP pci board.

 On 3/22/06, Wai Wu [EMAIL PROTECTED] wrote:
 
  Hi all,
 
  Has been poking through the * source code a bit and trying to identify

  the most CPU demanding piece of code. Is trans-coding the most CPU
  demanding? I happen to have access to a DSP pci board. If I can move
  the encoder/decoder off the host processor onto the DSP board, will I
  get a decent performance boost for an * PSTN gateway for VoIP phones
  (assuming all VoIP phones are using say g732, g729 or gsm)?
  ___


 You will get a performance increase, but then you'd also have to write
 Asterisk drivers for it.


 --
 Bird's The Word Technologies, Inc.
 http://www.btwtech.com/
 ___
 --Bandwidth and Colocation provided by Easynews.com --

 asterisk-dev mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
 ___
 --Bandwidth and Colocation provided by Easynews.com --

 asterisk-dev mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev



 --
 Mike Taht
 PostCards From the Bleeding Edge
 http://the-edge.blogspot.com
___
 --Bandwidth and Colocation provided by Easynews.com --

 asterisk-dev mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


RE: [asterisk-dev] DSP pci board.

2006-03-22 Thread Wai Wu
Excellect. Once the TC400P is release. I am sure DSP programmers will put DFFT 
code on the board too. 



From: [EMAIL PROTECTED] on behalf of Matt Florell
Sent: Wed 3/22/2006 5:37 PM
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] DSP pci board.



From: http://www.tmcnet.com/usubmit/2006/03/14/1456373.htm

Digium Inc., the creator of Asterisk(TM), and pioneer of open source
telephony, today announced the availability of new hardware solutions
to enhance Asterisk transcoding and echo cancellation performance for
VoIP and PSTN gateways. These new products include the TC400P VoIP
transcoding card...

snip

The TC400P provides hardware transcoding of VoIP codecs; decreasing
Asterisk's work load and providing improved CPU efficiency and an
increase in channel density over a software-only solution. The TC400P
provides Asterisk with full transcoding support and hardware
acceleration for the G.723.1 and G.729A codecs.


Can't wait for more info on this one.

MATT---

On 3/22/06, Wai Wu [EMAIL PROTECTED] wrote:
 I was thinking just patching,  say codec_gsm.c

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of BJ Weschke
 Sent: Wednesday, March 22, 2006 5:07 PM
 To: Asterisk Developers Mailing List
 Subject: Re: [asterisk-dev] DSP pci board.

 On 3/22/06, Wai Wu [EMAIL PROTECTED] wrote:
 
  Hi all,
 
  Has been poking through the * source code a bit and trying to identify

  the most CPU demanding piece of code. Is trans-coding the most CPU
  demanding? I happen to have access to a DSP pci board. If I can move
  the encoder/decoder off the host processor onto the DSP board, will I
  get a decent performance boost for an * PSTN gateway for VoIP phones
  (assuming all VoIP phones are using say g732, g729 or gsm)?
  ___


  You will get a performance increase, but then you'd also have to write
 Asterisk drivers for it.


 --
 Bird's The Word Technologies, Inc.
 http://www.btwtech.com/
 ___
 --Bandwidth and Colocation provided by Easynews.com --

 asterisk-dev mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev
 ___
 --Bandwidth and Colocation provided by Easynews.com --

 asterisk-dev mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-dev

___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev


attachment: winmail.dat___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev