Re: [asterisk-users] Performance Issues Degradation After 6 Calls

2007-12-29 Thread broadband Voice
I figured it out from asteriskguru.org. If you are using kernel 2.6 enter
the following command '#make linux26', before doing '#make install'.
and also do ./configure. Hope it will help someone else.


On 12/29/07, Gordon Henderson [EMAIL PROTECTED] wrote:

 On Fri, 28 Dec 2007, Steve Totaro wrote:

  Gordon Henderson wrote:
  On Fri, 28 Dec 2007, Steve Totaro wrote:
 
 
  broadband Voice wrote:
 
  On 12/27/07, *broadband Voice* [EMAIL PROTECTED]
  mailto:[EMAIL PROTECTED] wrote:
 
  I am using Asterisk and A2billing Calling Card Platform and after
  the 6th call the quality starts to degrade. The way it set up is
  the user calls into the system then dial out so I have 12
 channels
  being used up but 6 active calls. Here are my specs Asterisk
  SVN-branch-1.4-r79142 on a i686 running Linux Fedora 6, Pentium 4
  Hyper-Threading, 64 bit, 1GB of RAM, 80 GB Sata Drive, bandwidth
 4
  Mbps (1300GB/Throughput) burstable to 100Mbps.
 
  I am planning on upgrading to Intel Core 2 Duo with a clock speed
  of 1.8GHZ and 2GB Ram. Does anyone have similar situation or
  advice? Thanks.
 
 
 
  Your system should be able to handle that volume easily.
 
  What are you using for PSTN connectivity?
 
  I have heard of people having issues with Hyperthreading.  That could
 be
  a problem, although I have never had any issues myself.
 
  What does top look like?
 
  When I had a similar issue (voice quality while running monitor on
 over
  seventy calls) I found a small Linux CLI app, I cannot remember the
 name
  of it but it would give IO stats (I think it may be named IOStat or
  something similar) and I could see right where the bottleneck was
  (obviously disc IO but I was able to see exactly where the breaking
  point was).  That may help identify something.
 
 
  Try:
 
 vmstat 1
 
  IIRC, iostat is a *BSD type utility, but it's been many years since I
  touched BSD!
 
  It is possible to graph disk IO as well as network packet IO if
 required
  using (eg) MRTG.
 
  Gordon
 
 
 
 
 http://www.linuxquestions.org/linux/articles/Jeremys_Magazine_Articles/Hunting_I_O_Bottlenecks_with_iostat

 Ah, intersting, so I was about to suggest it might be a distro thing, but
 digging deeper, I find there is an iostat for Debian - under the generic
 package sysstat which is why I've never found it in the past.

 The iostat I remember for BSD had a screen/curses interface, but scrolling
 might help you see trends.

 Cheers,

 Gordon

 ___
 --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

___
--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

Re: [asterisk-users] Performance Issues Degradation After 6 Calls

2007-12-29 Thread Tzafrir Cohen
On Sat, Dec 29, 2007 at 05:14:39AM -0500, broadband Voice wrote:
 I figured it out from asteriskguru.org. If you are using kernel 2.6 enter
 the following command '#make linux26', before doing '#make install'.
 and also do ./configure. Hope it will help someone else.

Huh? Where?

That documentation is obsolete. If you refer to Zaptel, check its README
instead.

For the record: 'make' in Zaptel will do for any kernel version.

-- 
   Tzafrir Cohen
icq#16849755  jabber:[EMAIL PROTECTED]
+972-50-7952406   mailto:[EMAIL PROTECTED]
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir

___
--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


Re: [asterisk-users] Performance Issues Degradation After 6 Calls

2007-12-28 Thread broadband Voice
On 12/27/07, broadband Voice [EMAIL PROTECTED] wrote:

 I am using Asterisk and A2billing Calling Card Platform and after the 6th
 call the quality starts to degrade. The way it set up is the user calls into
 the system then dial out so I have 12 channels being used up but 6 active
 calls. Here are my specs Asterisk SVN-branch-1.4-r79142 on a i686 running
 Linux Fedora 6, Pentium 4 Hyper-Threading, 64 bit, 1GB of RAM, 80 GB Sata
 Drive, bandwidth 4 Mbps (1300GB/Throughput) burstable to 100Mbps.

 I am planning on upgrading to Intel Core 2 Duo with a clock speed of
 1.8GHZ and 2GB Ram. Does anyone have similar situation or advice? Thanks.

___
--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

Re: [asterisk-users] Performance Issues Degradation After 6 Calls

2007-12-28 Thread Steve Totaro
broadband Voice wrote:


 On 12/27/07, *broadband Voice* [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 I am using Asterisk and A2billing Calling Card Platform and after
 the 6th call the quality starts to degrade. The way it set up is
 the user calls into the system then dial out so I have 12 channels
 being used up but 6 active calls. Here are my specs Asterisk
 SVN-branch-1.4-r79142 on a i686 running Linux Fedora 6, Pentium 4
 Hyper-Threading, 64 bit, 1GB of RAM, 80 GB Sata Drive, bandwidth 4
 Mbps (1300GB/Throughput) burstable to 100Mbps.
  
 I am planning on upgrading to Intel Core 2 Duo with a clock speed
 of 1.8GHZ and 2GB Ram. Does anyone have similar situation or
 advice? Thanks.



Your system should be able to handle that volume easily.

What are you using for PSTN connectivity? 

I have heard of people having issues with Hyperthreading.  That could be 
a problem, although I have never had any issues myself. 

What does top look like? 

When I had a similar issue (voice quality while running monitor on over 
seventy calls) I found a small Linux CLI app, I cannot remember the name 
of it but it would give IO stats (I think it may be named IOStat or 
something similar) and I could see right where the bottleneck was 
(obviously disc IO but I was able to see exactly where the breaking 
point was).  That may help identify something.

Thanks,
Steve Totaro

___
--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


Re: [asterisk-users] Performance Issues Degradation After 6 Calls

2007-12-28 Thread Gordon Henderson
On Thu, 27 Dec 2007, broadband Voice wrote:

 I am using Asterisk and A2billing Calling Card Platform and after the 6th
 call the quality starts to degrade. The way it set up is the user calls into
 the system then dial out so I have 12 channels being used up but 6 active
 calls. Here are my specs Asterisk SVN-branch-1.4-r79142 on a i686 running
 Linux Fedora 6, Pentium 4 Hyper-Threading, 64 bit, 1GB of RAM, 80 GB Sata
 Drive, bandwidth 4 Mbps (1300GB/Throughput) burstable to 100Mbps.

 I am planning on upgrading to Intel Core 2 Duo with a clock speed of
 1.8GHZand 2GB Ram. Does anyone have similar situation or advice?
 Thanks.

You don't say how people are calling in+out. If it's via the Internet, 
then that's where I'd start to look first. If it's via BRI/PRI interface 
then I'd look at interrupt issues. I'd suggest that the hardware is more 
than capable if it's set up correctly.

But since you mention bandwidth, I'll assume the calls are coming in via 
that interface - each call will use 80Kb/sec each way (g711). So 5 calls 
(to make the math easier) is 10 channels of 80Kb/sec each way - so it's 
only 800Kb/sec each way. Well under your 4Mb limit.

However, at 50 packets per second per call (each way), it's 500 packets 
per second each way - 1000 pps in total... Can your router sustain more 
than that? Can your ISP deliver more than that? That's where I'd start to 
look if it's not local hardware issues...

Good luck!

Gordon


___
--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


Re: [asterisk-users] Performance Issues Degradation After 6 Calls

2007-12-28 Thread Gordon Henderson
On Fri, 28 Dec 2007, Steve Totaro wrote:

 broadband Voice wrote:


 On 12/27/07, *broadband Voice* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 I am using Asterisk and A2billing Calling Card Platform and after
 the 6th call the quality starts to degrade. The way it set up is
 the user calls into the system then dial out so I have 12 channels
 being used up but 6 active calls. Here are my specs Asterisk
 SVN-branch-1.4-r79142 on a i686 running Linux Fedora 6, Pentium 4
 Hyper-Threading, 64 bit, 1GB of RAM, 80 GB Sata Drive, bandwidth 4
 Mbps (1300GB/Throughput) burstable to 100Mbps.

 I am planning on upgrading to Intel Core 2 Duo with a clock speed
 of 1.8GHZ and 2GB Ram. Does anyone have similar situation or
 advice? Thanks.



 Your system should be able to handle that volume easily.

 What are you using for PSTN connectivity?

 I have heard of people having issues with Hyperthreading.  That could be
 a problem, although I have never had any issues myself.

 What does top look like?

 When I had a similar issue (voice quality while running monitor on over
 seventy calls) I found a small Linux CLI app, I cannot remember the name
 of it but it would give IO stats (I think it may be named IOStat or
 something similar) and I could see right where the bottleneck was
 (obviously disc IO but I was able to see exactly where the breaking
 point was).  That may help identify something.

Try:

   vmstat 1

IIRC, iostat is a *BSD type utility, but it's been many years since I 
touched BSD!

It is possible to graph disk IO as well as network packet IO if required 
using (eg) MRTG.

Gordon

___
--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


Re: [asterisk-users] Performance Issues Degradation After 6 Calls

2007-12-28 Thread Steve Totaro
Gordon Henderson wrote:
 On Fri, 28 Dec 2007, Steve Totaro wrote:

   
 broadband Voice wrote:
 
 On 12/27/07, *broadband Voice* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 I am using Asterisk and A2billing Calling Card Platform and after
 the 6th call the quality starts to degrade. The way it set up is
 the user calls into the system then dial out so I have 12 channels
 being used up but 6 active calls. Here are my specs Asterisk
 SVN-branch-1.4-r79142 on a i686 running Linux Fedora 6, Pentium 4
 Hyper-Threading, 64 bit, 1GB of RAM, 80 GB Sata Drive, bandwidth 4
 Mbps (1300GB/Throughput) burstable to 100Mbps.

 I am planning on upgrading to Intel Core 2 Duo with a clock speed
 of 1.8GHZ and 2GB Ram. Does anyone have similar situation or
 advice? Thanks.


   
 Your system should be able to handle that volume easily.

 What are you using for PSTN connectivity?

 I have heard of people having issues with Hyperthreading.  That could be
 a problem, although I have never had any issues myself.

 What does top look like?

 When I had a similar issue (voice quality while running monitor on over
 seventy calls) I found a small Linux CLI app, I cannot remember the name
 of it but it would give IO stats (I think it may be named IOStat or
 something similar) and I could see right where the bottleneck was
 (obviously disc IO but I was able to see exactly where the breaking
 point was).  That may help identify something.
 

 Try:

vmstat 1

 IIRC, iostat is a *BSD type utility, but it's been many years since I 
 touched BSD!

 It is possible to graph disk IO as well as network packet IO if required 
 using (eg) MRTG.

 Gordon

   

http://www.linuxquestions.org/linux/articles/Jeremys_Magazine_Articles/Hunting_I_O_Bottlenecks_with_iostat

Thanks,
Steve Totaro


___
--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


Re: [asterisk-users] Performance Issues Degradation After 6 Calls

2007-12-28 Thread Gordon Henderson
On Fri, 28 Dec 2007, Steve Totaro wrote:

 Gordon Henderson wrote:
 On Fri, 28 Dec 2007, Steve Totaro wrote:


 broadband Voice wrote:

 On 12/27/07, *broadband Voice* [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED] wrote:

 I am using Asterisk and A2billing Calling Card Platform and after
 the 6th call the quality starts to degrade. The way it set up is
 the user calls into the system then dial out so I have 12 channels
 being used up but 6 active calls. Here are my specs Asterisk
 SVN-branch-1.4-r79142 on a i686 running Linux Fedora 6, Pentium 4
 Hyper-Threading, 64 bit, 1GB of RAM, 80 GB Sata Drive, bandwidth 4
 Mbps (1300GB/Throughput) burstable to 100Mbps.

 I am planning on upgrading to Intel Core 2 Duo with a clock speed
 of 1.8GHZ and 2GB Ram. Does anyone have similar situation or
 advice? Thanks.



 Your system should be able to handle that volume easily.

 What are you using for PSTN connectivity?

 I have heard of people having issues with Hyperthreading.  That could be
 a problem, although I have never had any issues myself.

 What does top look like?

 When I had a similar issue (voice quality while running monitor on over
 seventy calls) I found a small Linux CLI app, I cannot remember the name
 of it but it would give IO stats (I think it may be named IOStat or
 something similar) and I could see right where the bottleneck was
 (obviously disc IO but I was able to see exactly where the breaking
 point was).  That may help identify something.


 Try:

vmstat 1

 IIRC, iostat is a *BSD type utility, but it's been many years since I
 touched BSD!

 It is possible to graph disk IO as well as network packet IO if required
 using (eg) MRTG.

 Gordon



 http://www.linuxquestions.org/linux/articles/Jeremys_Magazine_Articles/Hunting_I_O_Bottlenecks_with_iostat

Ah, intersting, so I was about to suggest it might be a distro thing, but 
digging deeper, I find there is an iostat for Debian - under the generic 
package sysstat which is why I've never found it in the past.

The iostat I remember for BSD had a screen/curses interface, but scrolling 
might help you see trends.

Cheers,

Gordon

___
--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


[asterisk-users] Performance Issues Degradation After 6 Calls

2007-12-27 Thread broadband Voice
I am using Asterisk and A2billing Calling Card Platform and after the 6th
call the quality starts to degrade. The way it set up is the user calls into
the system then dial out so I have 12 channels being used up but 6 active
calls. Here are my specs Asterisk SVN-branch-1.4-r79142 on a i686 running
Linux Fedora 6, Pentium 4 Hyper-Threading, 64 bit, 1GB of RAM, 80 GB Sata
Drive, bandwidth 4 Mbps (1300GB/Throughput) burstable to 100Mbps.

I am planning on upgrading to Intel Core 2 Duo with a clock speed of
1.8GHZand 2GB Ram. Does anyone have similar situation or advice?
Thanks.
___
--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