[Asterisk-Dev] channel driver sample - Coding/Transcoding/Conferences

Miroslav Nachev miro at space-comm.com
Sun Jul 4 11:21:24 MST 2004

Hello John,

This is exactly my idea. For example the TI DSP that I point support
10 channels for coding/transcoding (G.729, etc.) and the chip price is
about $18. TI have DSP with 3000 and more channels in one chip. If you
calculate the cost price of one PCI DSP Board with 10 channels you
will see that the price will not be more $50 excluding copyright and
licenses for commercial codecs. This means that the price per channels
is not more than $5.

That's why I would like to start a project for DSP processing using
PCI and USB 2.+ interfaces.

Best regards,
 Miroslav                            mailto:miro at space-comm.com

Sunday, July 4, 2004, 8:28:32 PM, you wrote:

JT> At 1:42 AM +0800 on 7/4/04, Steve Underwood wrote:
>>Jeremy McNamara wrote:
>>>Miroslav Nachev wrote:
>>>>Dear Jeremy,
>>>>JM> Why?  You are going to have two PCI bus transits adding totally
>>>>JM> unecessary latency.
>>>>    Also the latency from Memory Switching combining with DSP coding
>>>>Speed is smaller than Host CPU Coding where you need of very power
>>>>Host CPU which is expensive variant.
>>>Say what?
>>>With todays CPU power there is absolutely no need for expensive 
>>>DSPs. This is why Digium didn't design hardware with DSPs on board.
>>I'm all in favour of host DSP code, and put much of the DSP into *.
>>Say what?
>>A high end DSP is *far* cheaper than a Pentium, and consumes a tiny 
>>fraction of the power. Also, a Pentium doesn't really have the 
>>processing grunt needed for serious DSP - say, several E1s worth of 
>>echo cancellation + G.729 coding. You need clusters of DSP chips for
>>that. However, most people only use a few channels, or do 
>>lightweight processing, and for them host CPU DSP is the effective 
>>The *appearance* of DSPs being expensive is an artifact of the way 
>>the industry runs. DSP cards are priced at an extreme multiple of 
>>their actual cost, leading to a vicious circle - DSP cards are 
>>expensive so they have a small market. Why are they expensive? 
>>because they have a small market. E1 cards were like that too, until
>>recently. Apply the Digium pricing strategy to a DSP card and it 
>>would not look too bad. Add an H.100 port to Digium's E1/T1 cards 
>>and the DSP card and maybe you are starting to build something nice.
>>Sure, it starts to look a little like a Dialogic card. That isn't 
>>all bad, though, if its a reasonably priced open platform, instead 
>>of a Dialogic high priced straight-jacket.

JT> I agree with Steve.  I expect that host processors are quickly 
JT> catching up with DSP equipment, but an open-source-ish DSP board 
JT> (with just PCI; I'm unsure about H.100, since it complicates things
JT> greatly) would help a great deal with larger installations for the
JT> next several years.  I'll chime in again with my comments about a DS3
JT> physical interface... I think that a DS3 card, plus a DSP-heavy card
JT> that could handle 672 channels of G.729 with _good_ echo cancellation
JT> would rock.  Even if I just had seven really cheap ($800) PC's, each
JT> with a 4-port T410P handing their traffic off TDMoE to one 
JT> DSP-capable system - that would reduce my costs quite a bit, rather
JT> than buying seven $2800 dual-processor Xeons to get G.729 and 
JT> questionable echo cancellation.  Let's say that DSP card cost me 
JT> $1500 - I'm still very far ahead.  Heck, I could even buy TWO 
JT> complete DSP systems for redundancy and STILL be saving ~$10000.

JT> As Steve mentions, most users of Asterisk are happy with what it can
JT> do now, because their needs are lightweight.  Those with heavier 
JT> processing requirements tune their systems very well, or spread the
JT> load across many host CPUs to get the performance they need.  This
JT> works if you have all the time in the world, and all the skills you
JT> need.  However, I would much rather spend a bit more and have 
JT> something that isn't "pure" CPU based if it saves me dozens 
JT> (hundreds?) of hours, headaches, and space as long as it still gives
JT> me the flexibility of the rest of Asterisk.

JT> This is really a moot point to me for TDM interfaces, since only 
JT> organizations who have existing SS7 infrastructures are really going
JT> to care about this type of density.  VOIP service providers either
JT> should be figuring out how to avoid TDM entirely, or should be 
JT> thinking about things deeper inside the feature model to make their
JT> money.

JT> I would buy a DSP-based system that could handle ~600 channels.  Even
JT> in the distant future, it will still be the case that I will have to
JT> do transcoding in the core of all of my Asterisk systems that moves
JT> GSM to G.729 to G.711 to G.726 to whatever.  This will be a 
JT> non-trivial amount of traffic, either because clients are 
JT> incompatible or because I will be sitting in the middle doing some
JT> function (voicemail, conferencing, etc.)  Currently, the prospect of
JT> ~$2800 per 100 users (2x2.8ghz rackmount high-quality server box) 
JT> isn't so great - $28 a channel is still much too high, because it's
JT> not just $28 per channel when you add the overhead costs of space,
JT> power, management, etc.  If I could get the costs to $8 per channel,
JT> that would really be interesting, which equates to adding to one of
JT> those $2800 servers a $1500 DSP board that can handle 600 channels
JT> (300 simultaneous end-to-ends, or 600 single-end calls.)

JT> _______________________________________________
JT> Asterisk-Dev mailing list
JT> Asterisk-Dev at lists.digium.com
JT> http://lists.digium.com/mailman/listinfo/asterisk-dev
JT> To UNSUBSCRIBE or update options visit:
JT>    http://lists.digium.com/mailman/listinfo/asterisk-dev

More information about the asterisk-dev mailing list