Re: [asterisk-users] OSLEC vs HPEC vs Octasic

2008-07-21 Thread Olivier
2008/7/21 Loic Didelot [EMAIL PROTECTED]:

 Hello,
 I am trying to figure out which soft echo canceller I could use.

 There is OSLEC, HPEC from Digium and Octware from Octasic.

I thought HPEC was licenced by Digium from Octasic (ie those 2 software are
the same).
Maybe someone should correct me ...



 I have
 problems to find details about their CPU needs. Can anyone share his
 experience. What CPU and Memory is required for 2,4,8 and 16 channels?

 Any help is appreciated.


 Best regards,
 Loic Didelot.


 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

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

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] OSLEC vs HPEC vs Octasic

2008-07-21 Thread Kevin P. Fleming
Olivier wrote:

 I thought HPEC was licenced by Digium from Octasic (ie those 2 software
 are the same).
 Maybe someone should correct me ...

That is not correct; HPEC is a G.168 line echo canceller from Adaptive
Digital Technologies. The same algorithm (but not the same source code)
is used on the VPMADT032 module, which is available for all Digium
analog line interface cards and single-span T1/E1/J1 interface cards.

-- 
Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - The Genuine Asterisk Experience (TM)

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] OSLEC vs HPEC vs Octasic

2008-07-21 Thread Gordon Henderson
On Mon, 21 Jul 2008, Loic Didelot wrote:

 Hello,
 I am trying to figure out which soft echo canceller I could use.

 There is OSLEC, HPEC from Digium and Octware from Octasic. I have
 problems to find details about their CPU needs. Can anyone share his
 experience. What CPU and Memory is required for 2,4,8 and 16 channels?

 Any help is appreciated.

I switched to OSLEC after testing HPEC on TDM400 boards, and found that it 
worked much better and wasn't limited to the restricted mechanism Digium 
uses for licensing (unlikely as it sounds, I have some clients who do not 
have a connection to the public Internet, and never will for their phone 
system)

It also passes the wife test which HPEC didn't.

It's also free (OS as in Open Source), which HPEC isn't, although that 
wasn't my primary reason for using it - ease of use and workability was.

As far as CPU usage is concerned, OSLEC gave me the tools to find that out 
- I didn't find any such tools with HPEC, but they might be there 
somewhere.


On one of my production PBXs - a 1GHz VIA processor, 128KB cache, OSLEC 
can do the following: (running their own speedtest program)

Testing OSLEC with 128 taps (16 ms tail)
CPU executes 996.06 MIPS
-

Method 1: gettimeofday() at start and end
   268 ms for 10s of speech
   26.69 MIPS
   37.31 instances possible at 100% CPU load
Method 2: samples clock cycles at start and end
   26.69 MIPS
   37.31 instances possible at 100% CPU load
Method 3: samples clock cycles for each call, IIR average
   cycles_worst 186709 cycles_last 43447 cycles_av: 4272
   34.18 MIPS
   29.15 instances possible at 100% CPU load


So at worst, it's saying it can handle 29 incarnations, and at best, 37 - 
that's assuming no other CPU load such as transcoding.

So it's well capable of handing your requirements of 16 channels - more-so 
if you're using a server class box, and not the embedded type systems 
I'm using here.

(On my dev box, an older 2GHz Celeron, 128KB cache, it's telling me it can 
do 120 incarnations, and on a 2.4GHz Xeon with 4MB cache, it said it could 
do 321)

Gordon

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] OSLEC vs HPEC vs Octasic

2008-07-21 Thread Kevin P. Fleming
Gordon Henderson wrote:

 So at worst, it's saying it can handle 29 incarnations, and at best, 37 - 
 that's assuming no other CPU load such as transcoding.
 
 So it's well capable of handing your requirements of 16 channels - more-so 
 if you're using a server class box, and not the embedded type systems 
 I'm using here.
 
 (On my dev box, an older 2GHz Celeron, 128KB cache, it's telling me it can 
 do 120 incarnations, and on a 2.4GHz Xeon with 4MB cache, it said it could 
 do 321)

Those numbers are with a 16ms tail, which is very short, and unlikely to
be an adequate echo tail for connection to the PSTN (although fine for
analog phones). A more normal configuration would be 32, 64 or 128
millisecond tails, which would cut those numbers down by a factor of 2,
4 or 8.

-- 
Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - The Genuine Asterisk Experience (TM)

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] OSLEC vs HPEC vs Octasic

2008-07-21 Thread Steve Underwood
Kevin P. Fleming wrote:
 Olivier wrote:

   
 I thought HPEC was licenced by Digium from Octasic (ie those 2 software
 are the same).
 Maybe someone should correct me ...
 

 That is not correct; HPEC is a G.168 line echo canceller from Adaptive
 Digital Technologies. The same algorithm (but not the same source code)
 is used on the VPMADT032 module, which is available for all Digium
 analog line interface cards and single-span T1/E1/J1 interface cards.
   
G.168 is not an algorithm. Its a test spec. These cancellers all use 
related, but different, algorithms.

Steve


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] OSLEC vs HPEC vs Octasic

2008-07-21 Thread Loic Didelot
Thank you for you answers.

So what tail would be suggested for 
SIP - LOCAL LAN - Asterisk - ISDN/BRI ?

Is HPEC more or less resource hungry compared to OSLEC?

Best regards,
Loic Didelot.


On Mon, 2008-07-21 at 06:54 -0500, Kevin P. Fleming wrote:
 Gordon Henderson wrote:
 
  So at worst, it's saying it can handle 29 incarnations, and at best, 37 - 
  that's assuming no other CPU load such as transcoding.
  
  So it's well capable of handing your requirements of 16 channels - more-so 
  if you're using a server class box, and not the embedded type systems 
  I'm using here.
  
  (On my dev box, an older 2GHz Celeron, 128KB cache, it's telling me it can 
  do 120 incarnations, and on a 2.4GHz Xeon with 4MB cache, it said it could 
  do 321)
 
 Those numbers are with a 16ms tail, which is very short, and unlikely to
 be an adequate echo tail for connection to the PSTN (although fine for
 analog phones). A more normal configuration would be 32, 64 or 128
 millisecond tails, which would cut those numbers down by a factor of 2,
 4 or 8.
 
-- 
Loïc DIDELOT
MIXvoip S.a.
[EMAIL PROTECTED]
http://www.mixvoip.com


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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

Re: [asterisk-users] OSLEC vs HPEC vs Octasic

2008-07-21 Thread Doug Lytle
Loic Didelot wrote:
 Thank you for you answers.

 So what tail would be suggested for 
   

64ms

Doug


-- 
 
Ben Franklin quote:

Those who would give up Essential Liberty to purchase a little Temporary 
Safety, deserve neither Liberty nor Safety.


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] OSLEC vs HPEC vs Octasic

2008-07-21 Thread Steve Underwood
Kevin P. Fleming wrote:
 Gordon Henderson wrote:

   
 So at worst, it's saying it can handle 29 incarnations, and at best, 37 - 
 that's assuming no other CPU load such as transcoding.

 So it's well capable of handing your requirements of 16 channels - more-so 
 if you're using a server class box, and not the embedded type systems 
 I'm using here.

 (On my dev box, an older 2GHz Celeron, 128KB cache, it's telling me it can 
 do 120 incarnations, and on a 2.4GHz Xeon with 4MB cache, it said it could 
 do 321)
 

 Those numbers are with a 16ms tail, which is very short, and unlikely to
 be an adequate echo tail for connection to the PSTN (although fine for
 analog phones). A more normal configuration would be 32, 64 or 128
 millisecond tails, which would cut those numbers down by a factor of 2,
 4 or 8.
   
If you try capturing echoes from real phone calls you will find very few 
exceeding 16ms, even for long distance calls. This is probably because 
the network has a canceller which you can't normally disable for a voice 
call. If you send a 2100Hz beep at the start of the call, you may then 
see much longer echoes appear. This is the echo canceller disable tone, 
which modems send to clear any networks cancellers from the line. The 
nature of modems means they need to do their own end to end 
cancellation, and that canceller certainly does need to cover a lot more 
than 16ms.

Regards,
Steve


___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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


Re: [asterisk-users] OSLEC vs HPEC vs Octasic

2008-07-21 Thread Kevin P. Fleming
Steve Underwood wrote:

 G.168 is not an algorithm. Its a test spec. These cancellers all use 
 related, but different, algorithms.

Yeah, that's what I get for emailing before breakfast :-) There is a
missing 'compliant' in that sentence...

-- 
Kevin P. Fleming
Director of Software Technologies
Digium, Inc. - The Genuine Asterisk Experience (TM)

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

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