<br><br><div><span class="gmail_quote">On 3/22/06, <b class="gmail_sendername">Wai Wu</b> <<a href="mailto:wwu@calltrol.com">wwu@calltrol.com</a>> wrote:</span><div><br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I was thinking just patching, say "codec_gsm.c"</blockquote><div>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)<br>
<br>
I would argue that the only codecs worth patching for a DSP would
be the higher overhead speex and g72x codecs. <br>
<br>
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.<br>
<br>
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">-----Original Message-----<br>From: <a href="mailto:asterisk-dev-bounces@lists.digium.com">
asterisk-dev-bounces@lists.digium.com</a><br>[mailto:<a href="mailto:asterisk-dev-bounces@lists.digium.com">asterisk-dev-bounces@lists.digium.com</a>] On Behalf Of BJ Weschke<br>Sent: Wednesday, March 22, 2006 5:07 PM<br>
To: Asterisk Developers Mailing List<br>Subject: Re: [asterisk-dev] DSP pci board.<br><br>On 3/22/06, Wai Wu <<a href="mailto:wwu@calltrol.com">wwu@calltrol.com</a>> wrote:<br>><br>> Hi all,<br>><br>> Has been poking through the * source code a bit and trying to identify
<br><br>> the most CPU demanding piece of code. Is trans-coding the most CPU<br>> demanding? I happen to have access to a DSP pci board. If I can move<br>> the encoder/decoder off the host processor onto the DSP board, will I
<br>> get a decent performance boost for an * PSTN gateway for VoIP phones<br>> (assuming all VoIP phones are using say g732, g729 or gsm)?<br>> _______________________________________________<br><br><br> You will get a performance increase, but then you'd also have to write
<br>Asterisk drivers for it.<br><br><br>--<br>Bird's The Word Technologies, Inc.<br><a href="http://www.btwtech.com/">http://www.btwtech.com/</a><br>_______________________________________________<br>--Bandwidth and Colocation provided by
<a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-dev mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev
</a><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-dev mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</a><br></blockquote></div><br><br clear="all"><br>-- <br>Mike Taht<br>PostCards From the Bleeding Edge
<br><a href="http://the-edge.blogspot.com">http://the-edge.blogspot.com</a>