VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
eduardo at ypytecnolog... Guest
|
Posted: Wed Jul 23, 2014 2:49 pm Post subject: [asterisk-users] Limit Asterisk |
|
|
peopleÂ
I have a running Asterisk 1.8.28 in great Dell server with two xeon processors and 16gb of ram and HD SAS 15k (Raid 1). This server is recording all calls (placed to record the audio in a ram disk), the entire CDR goes straight to MySQL by cdr_mysql.so. Each call runs some validation and AGI's have an auto dialer system that generates calls over the manager. Calls originate and terminate via SIP (no transcode).Â
With this structure, even being a great server, we can not spend 150 simultaneous calls. When it reaches 140, the load average goes up a lot and the calls start to get very bad audio, tear, etc.. Using the top we see that all the processing is for asterisk. In this scenario, I think there is some limitation in Asterisk, or even the manager due to the auto dialer.Â
Can anyone give me any tips where I can look where is the bottleneck? I need to get at least 250 calls that server quality.
tks |
|
Back to top |
|
|
sgriepentrog at digium... Guest
|
Posted: Wed Jul 23, 2014 3:30 pm Post subject: [asterisk-users] Limit Asterisk |
|
|
Your bottleneck is most likely your drive bandwidth. Â Even with SAS drives, you'll need to move to a raid 5+ solution with 6+ drives to continue to increase the concurrent calls, or use a storage appliance.
To confirm this, install the tool nmon and use the v and d options to bring up the resource usage indicators and drive busy/throughput statistics.
On Wed, Jul 23, 2014 at 2:48 PM, Eduardo Leones <eduardo@ypytecnologia.com.br (eduardo@ypytecnologia.com.br)> wrote:
Quote: | peopleÂ
I have a running Asterisk 1.8.28 in great Dell server with two xeon processors and 16gb of ram and HD SAS 15k (Raid 1). This server is recording all calls (placed to record the audio in a ram disk), the entire CDR goes straight to MySQL by cdr_mysql.so. Each call runs some validation and AGI's have an auto dialer system that generates calls over the manager. Calls originate and terminate via SIP (no transcode).Â
With this structure, even being a great server, we can not spend 150 simultaneous calls. When it reaches 140, the load average goes up a lot and the calls start to get very bad audio, tear, etc.. Using the top we see that all the processing is for asterisk. In this scenario, I think there is some limitation in Asterisk, or even the manager due to the auto dialer.Â
Can anyone give me any tips where I can look where is the bottleneck? I need to get at least 250 calls that server quality.
tks
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 317 507 4029
Check us out at: http://digium.com · http://asterisk.org |
|
Back to top |
|
|
rwheeler at artifact-s... Guest
|
Posted: Wed Jul 23, 2014 4:02 pm Post subject: [asterisk-users] Limit Asterisk |
|
|
I would also do some math on the bandwidth requirement.
If you divide your disk bandwidth by your recording bit rate what is the theoretical maximum number of calls that you can record at once? Assumes that you have infinite CPU and memory and that you can actually drive the disks at their maximum.
If this comes out to 300, you are already there. If it comes out to 3000, you have something wrong in your setup or your assumptions and a target to work towards.
What quality are you using in the recording? 44k per second(CD quality sound) uses a lot more bandwidth than 3K (telephone quality)
What encoding are you using?
How low a bit rate can you use and still have usable recordings? If they are for legal or audit use, you can go pretty low. If you are recording soundtracks for reuse in training or publication, you may require higher bit rates.
If you disable recording, how many simultaneous calls can you support? Just to be sure that recording is the issue.
Ron
On 23/07/2014 4:29 PM, Scott Griepentrog wrote:
Quote: | Your bottleneck is most likely your drive bandwidth. Even with SAS drives, you'll need to move to a raid 5+ solution with 6+ drives to continue to increase the concurrent calls, or use a storage appliance.
To confirm this, install the tool nmon and use the v and d options to bring up the resource usage indicators and drive busy/throughput statistics.
On Wed, Jul 23, 2014 at 2:48 PM, Eduardo Leones <eduardo@ypytecnologia.com.br (eduardo@ypytecnologia.com.br)> wrote:
Quote: | people
I have a running Asterisk 1.8.28 in great Dell server with two xeon processors and 16gb of ram and HD SAS 15k (Raid 1). This server is recording all calls (placed to record the audio in a ram disk), the entire CDR goes straight to MySQL by cdr_mysql.so. Each call runs some validation and AGI's have an auto dialer system that generates calls over the manager. Calls originate and terminate via SIP (no transcode).
With this structure, even being a great server, we can not spend 150 simultaneous calls. When it reaches 140, the load average goes up a lot and the calls start to get very bad audio, tear, etc.. Using the top we see that all the processing is for asterisk. In this scenario, I think there is some limitation in Asterisk, or even the manager due to the auto dialer.
Can anyone give me any tips where I can look where is the bottleneck? I need to get at least 250 calls that server quality.
tks
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 317 507 4029
Check us out at: http://digium.com · http://asterisk.org
--
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com (rwheeler@artifact-software.com)
skype: ronaldmwheeler
phone: 866-970-2435, ext 102 |
|
|
Back to top |
|
|
eduardo at ypytecnolog... Guest
|
Posted: Wed Jul 23, 2014 4:04 pm Post subject: [asterisk-users] Limit Asterisk |
|
|
Thanks for the feedback.Â
In this case SSD disks you think it solves?
Eduardo
2014-07-23 18:01 GMT-03:00 Ron Wheeler <rwheeler@artifact-software.com (rwheeler@artifact-software.com)>:
Quote: | I would also do some math on the bandwidth requirement.
If you divide your disk bandwidth by your recording bit rate what is the theoretical maximum number of calls that you can record at once? Assumes that you have infinite CPU and memory and that you can actually drive the disks at their maximum.
If this comes out to 300, you are already there. If it comes out to 3000, you have something wrong in your setup or your assumptions and a target to work towards.
Â
What quality are you using in the recording? 44k per second(CD quality sound)Â uses a lot more bandwidth than 3K (telephone quality)
What encoding are you using?
How low a bit rate can you use and still have usable recordings? If they are for legal or audit use, you can go pretty low. If you are recording soundtracks for reuse in training or publication, you may require higher bit rates.
If you disable recording, how many simultaneous calls can you support? Just to be sure that recording is the issue.
Ron
On 23/07/2014 4:29 PM, Scott Griepentrog wrote:
Quote: | Your bottleneck is most likely your drive bandwidth. Â Even with SAS drives, you'll need to move to a raid 5+ solution with 6+ drives to continue to increase the concurrent calls, or use a storage appliance.
To confirm this, install the tool nmon and use the v and d options to bring up the resource usage indicators and drive busy/throughput statistics.
On Wed, Jul 23, 2014 at 2:48 PM, Eduardo Leones <eduardo@ypytecnologia.com.br (eduardo@ypytecnologia.com.br)> wrote:
Quote: | peopleÂ
I have a running Asterisk 1.8.28 in great Dell server with two xeon processors and 16gb of ram and HD SAS 15k (Raid 1). This server is recording all calls (placed to record the audio in a ram disk), the entire CDR goes straight to MySQL by cdr_mysql.so. Each call runs some validation and AGI's have an auto dialer system that generates calls over the manager. Calls originate and terminate via SIP (no transcode).Â
With this structure, even being a great server, we can not spend 150 simultaneous calls. When it reaches 140, the load average goes up a lot and the calls start to get very bad audio, tear, etc.. Using the top we see that all the processing is for asterisk. In this scenario, I think there is some limitation in Asterisk, or even the manager due to the auto dialer.Â
Can anyone give me any tips where I can look where is the bottleneck? I need to get at least 250 calls that server quality.
tks
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 317 507 4029
Check us out at: http://digium.com · http://asterisk.org
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
eduardo at ypytecnolog... Guest
|
Posted: Wed Jul 23, 2014 4:04 pm Post subject: [asterisk-users] Limit Asterisk |
|
|
Thanks for the feedback.Â
In this case SSD disks you think it solves?
2014-07-23 17:29 GMT-03:00 Scott Griepentrog <sgriepentrog@digium.com (sgriepentrog@digium.com)>:
Quote: | Your bottleneck is most likely your drive bandwidth. Â Even with SAS drives, you'll need to move to a raid 5+ solution with 6+ drives to continue to increase the concurrent calls, or use a storage appliance.
To confirm this, install the tool nmon and use the v and d options to bring up the resource usage indicators and drive busy/throughput statistics.
On Wed, Jul 23, 2014 at 2:48 PM, Eduardo Leones <eduardo@ypytecnologia.com.br (eduardo@ypytecnologia.com.br)> wrote:
Quote: | peopleÂ
I have a running Asterisk 1.8.28 in great Dell server with two xeon processors and 16gb of ram and HD SAS 15k (Raid 1). This server is recording all calls (placed to record the audio in a ram disk), the entire CDR goes straight to MySQL by cdr_mysql.so. Each call runs some validation and AGI's have an auto dialer system that generates calls over the manager. Calls originate and terminate via SIP (no transcode).Â
With this structure, even being a great server, we can not spend 150 simultaneous calls. When it reaches 140, the load average goes up a lot and the calls start to get very bad audio, tear, etc.. Using the top we see that all the processing is for asterisk. In this scenario, I think there is some limitation in Asterisk, or even the manager due to the auto dialer.Â
Can anyone give me any tips where I can look where is the bottleneck? I need to get at least 250 calls that server quality.
tks
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 317 507 4029
Check us out at: http://digium.com · http://asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
rwheeler at artifact-s... Guest
|
Posted: Wed Jul 23, 2014 4:14 pm Post subject: [asterisk-users] Limit Asterisk |
|
|
Do the calculations for both and see what the answer is.
The nice thing about having a model is that you can test configurations without actually having to build one until you are confident that it should work.
Ron
On 23/07/2014 5:04 PM, Eduardo Leones wrote:
Quote: | Thanks for the feedback.
In this case SSD disks you think it solves?
2014-07-23 17:29 GMT-03:00 Scott Griepentrog <sgriepentrog@digium.com (sgriepentrog@digium.com)>:
Quote: | Your bottleneck is most likely your drive bandwidth. Even with SAS drives, you'll need to move to a raid 5+ solution with 6+ drives to continue to increase the concurrent calls, or use a storage appliance.
To confirm this, install the tool nmon and use the v and d options to bring up the resource usage indicators and drive busy/throughput statistics.
On Wed, Jul 23, 2014 at 2:48 PM, Eduardo Leones <eduardo@ypytecnologia.com.br (eduardo@ypytecnologia.com.br)> wrote:
Quote: | people
I have a running Asterisk 1.8.28 in great Dell server with two xeon processors and 16gb of ram and HD SAS 15k (Raid 1). This server is recording all calls (placed to record the audio in a ram disk), the entire CDR goes straight to MySQL by cdr_mysql.so. Each call runs some validation and AGI's have an auto dialer system that generates calls over the manager. Calls originate and terminate via SIP (no transcode).
With this structure, even being a great server, we can not spend 150 simultaneous calls. When it reaches 140, the load average goes up a lot and the calls start to get very bad audio, tear, etc.. Using the top we see that all the processing is for asterisk. In this scenario, I think there is some limitation in Asterisk, or even the manager due to the auto dialer.
Can anyone give me any tips where I can look where is the bottleneck? I need to get at least 250 calls that server quality.
tks
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 317 507 4029
Check us out at: http://digium.com · http://asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Ron Wheeler
President
Artifact Software Inc
email: rwheeler@artifact-software.com (rwheeler@artifact-software.com)
skype: ronaldmwheeler
phone: 866-970-2435, ext 102 |
|
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
Posted: Wed Jul 23, 2014 4:30 pm Post subject: [asterisk-users] Limit Asterisk |
|
|
Please don't top-post.
On Wed, 23 Jul 2014, Eduardo Leones wrote:
Quote: | In this case SSD disks you think it solves?
|
Don't buy hardware until you've identified (either empirical or
calculated) the bottleneck.
But...
SSDs do rock. I recently observed (via vmstat 5) a Samsung 840 topping out
at 460,000 blocks per second. I can remember when 10,000 was big
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
asterisk at lists.mino... Guest
|
Posted: Wed Jul 23, 2014 4:49 pm Post subject: [asterisk-users] Limit Asterisk |
|
|
On 23/7/14 10:29 pm, Steve Edwards wrote:
Quote: | Don't buy hardware until you've identified (either empirical or
calculated) the bottleneck.
|
If you've plenty of spare RAM (and at 16GB I'd suggest you probably do),
I'd throw in the possibility of recording to RAM disk, then moving the
calls to hard disk during your quiet (or closed) hours.
Quote: | SSDs do rock. I recently observed (via vmstat 5) a Samsung 840 topping
out at 460,000 blocks per second. I can remember when 10,000 was big
|
This. The 840 is a great bit of kit - we've replaced nearly all our
spinning disks with a mix of Samsung 830 and 840 drives.
Kind regards,
Chris
--
This email is made from 100% recycled electrons
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
Posted: Wed Jul 23, 2014 5:19 pm Post subject: [asterisk-users] Limit Asterisk |
|
|
On Wed, 23 Jul 2014, Chris Bagnall wrote:
Quote: | The 840 is a great bit of kit...
|
The 850 is supposed to be shipping next week. It's got 3d VNAND so the
chip geometry can be bigger -- higher speeds and greater reliability.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
sgriepentrog at digium... Guest
|
Posted: Thu Jul 24, 2014 6:55 am Post subject: [asterisk-users] Limit Asterisk |
|
|
Whether SSD drives allow you to add any additional calls depends entirely on whether or not they can be written to faster than the SAS drives you have. Â My experience shows SSD's can be twice as fast as run-of-the-mill SATA, but the performance difference compared to SAS is likely not as great, and could even be worse. Â You'll need to test two drives to find out. Â I recommend mounting both to test them and copying a very large ISO file using dd which will give you the transfer rate when finished. Â Then you should have your answer.
On Wed, Jul 23, 2014 at 4:03 PM, Eduardo Leones <eduardo@ypytecnologia.com.br (eduardo@ypytecnologia.com.br)> wrote:
Quote: | Thanks for the feedback.Â
In this case SSD disks you think it solves?
Eduardo
2014-07-23 18:01 GMT-03:00 Ron Wheeler <rwheeler@artifact-software.com (rwheeler@artifact-software.com)>:
Quote: | I would also do some math on the bandwidth requirement.
If you divide your disk bandwidth by your recording bit rate what is the theoretical maximum number of calls that you can record at once? Assumes that you have infinite CPU and memory and that you can actually drive the disks at their maximum.
If this comes out to 300, you are already there. If it comes out to 3000, you have something wrong in your setup or your assumptions and a target to work towards.
Â
What quality are you using in the recording? 44k per second(CD quality sound)Â uses a lot more bandwidth than 3K (telephone quality)
What encoding are you using?
How low a bit rate can you use and still have usable recordings? If they are for legal or audit use, you can go pretty low. If you are recording soundtracks for reuse in training or publication, you may require higher bit rates.
If you disable recording, how many simultaneous calls can you support? Just to be sure that recording is the issue.
Ron
On 23/07/2014 4:29 PM, Scott Griepentrog wrote:
Quote: | Your bottleneck is most likely your drive bandwidth. Â Even with SAS drives, you'll need to move to a raid 5+ solution with 6+ drives to continue to increase the concurrent calls, or use a storage appliance.
To confirm this, install the tool nmon and use the v and d options to bring up the resource usage indicators and drive busy/throughput statistics.
On Wed, Jul 23, 2014 at 2:48 PM, Eduardo Leones <eduardo@ypytecnologia.com.br (eduardo@ypytecnologia.com.br)> wrote:
Quote: | peopleÂ
I have a running Asterisk 1.8.28 in great Dell server with two xeon processors and 16gb of ram and HD SAS 15k (Raid 1). This server is recording all calls (placed to record the audio in a ram disk), the entire CDR goes straight to MySQL by cdr_mysql.so. Each call runs some validation and AGI's have an auto dialer system that generates calls over the manager. Calls originate and terminate via SIP (no transcode).Â
With this structure, even being a great server, we can not spend 150 simultaneous calls. When it reaches 140, the load average goes up a lot and the calls start to get very bad audio, tear, etc.. Using the top we see that all the processing is for asterisk. In this scenario, I think there is some limitation in Asterisk, or even the manager due to the auto dialer.Â
Can anyone give me any tips where I can look where is the bottleneck? I need to get at least 250 calls that server quality.
tks
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 317 507 4029
Check us out at: http://digium.com · http://asterisk.org
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 317 507 4029
Check us out at: http://digium.com · http://asterisk.org |
|
Back to top |
|
|
eduardo at ypytecnolog... Guest
|
Posted: Thu Jul 24, 2014 7:06 am Post subject: [asterisk-users] Limit Asterisk |
|
|
Thank you all for the answers. I will do tests to find the problem.Â
One other question I have, in the scenario that I sent, how bad would be to transcode G711 to G729 in 70% of calls? There is a study that shows a statistically loss of performance (concurrent calls) with active transcode?
tks
2014-07-24 8:54 GMT-03:00 Scott Griepentrog <sgriepentrog@digium.com (sgriepentrog@digium.com)>:
Quote: | Whether SSD drives allow you to add any additional calls depends entirely on whether or not they can be written to faster than the SAS drives you have. Â My experience shows SSD's can be twice as fast as run-of-the-mill SATA, but the performance difference compared to SAS is likely not as great, and could even be worse. Â You'll need to test two drives to find out. Â I recommend mounting both to test them and copying a very large ISO file using dd which will give you the transfer rate when finished. Â Then you should have your answer.
On Wed, Jul 23, 2014 at 4:03 PM, Eduardo Leones <eduardo@ypytecnologia.com.br (eduardo@ypytecnologia.com.br)> wrote:
Quote: | Thanks for the feedback.Â
In this case SSD disks you think it solves?
Eduardo
2014-07-23 18:01 GMT-03:00 Ron Wheeler <rwheeler@artifact-software.com (rwheeler@artifact-software.com)>:
Quote: | I would also do some math on the bandwidth requirement.
If you divide your disk bandwidth by your recording bit rate what is the theoretical maximum number of calls that you can record at once? Assumes that you have infinite CPU and memory and that you can actually drive the disks at their maximum.
If this comes out to 300, you are already there. If it comes out to 3000, you have something wrong in your setup or your assumptions and a target to work towards.
Â
What quality are you using in the recording? 44k per second(CD quality sound)Â uses a lot more bandwidth than 3K (telephone quality)
What encoding are you using?
How low a bit rate can you use and still have usable recordings? If they are for legal or audit use, you can go pretty low. If you are recording soundtracks for reuse in training or publication, you may require higher bit rates.
If you disable recording, how many simultaneous calls can you support? Just to be sure that recording is the issue.
Ron
On 23/07/2014 4:29 PM, Scott Griepentrog wrote:
Quote: | Your bottleneck is most likely your drive bandwidth. Â Even with SAS drives, you'll need to move to a raid 5+ solution with 6+ drives to continue to increase the concurrent calls, or use a storage appliance.
To confirm this, install the tool nmon and use the v and d options to bring up the resource usage indicators and drive busy/throughput statistics.
On Wed, Jul 23, 2014 at 2:48 PM, Eduardo Leones <eduardo@ypytecnologia.com.br (eduardo@ypytecnologia.com.br)> wrote:
Quote: | peopleÂ
I have a running Asterisk 1.8.28 in great Dell server with two xeon processors and 16gb of ram and HD SAS 15k (Raid 1). This server is recording all calls (placed to record the audio in a ram disk), the entire CDR goes straight to MySQL by cdr_mysql.so. Each call runs some validation and AGI's have an auto dialer system that generates calls over the manager. Calls originate and terminate via SIP (no transcode).Â
With this structure, even being a great server, we can not spend 150 simultaneous calls. When it reaches 140, the load average goes up a lot and the calls start to get very bad audio, tear, etc.. Using the top we see that all the processing is for asterisk. In this scenario, I think there is some limitation in Asterisk, or even the manager due to the auto dialer.Â
Can anyone give me any tips where I can look where is the bottleneck? I need to get at least 250 calls that server quality.
tks
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 317 507 4029
Check us out at: http://digium.com · http://asterisk.org
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 317 507 4029
Check us out at: http://digium.com · http://asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
Back to top |
|
|
eduardo at ypytecnolog... Guest
|
Posted: Thu Jul 24, 2014 12:07 pm Post subject: [asterisk-users] Limit Asterisk |
|
|
Another question, what audio format I use in MixMonitor to maintain a connection with reasonable quality and reduce the use of I / O disk? Today I use wav.
tks
2014-07-24 9:05 GMT-03:00 Eduardo Leones <eduardo@ypytecnologia.com.br (eduardo@ypytecnologia.com.br)>:
Quote: | Thank you all for the answers. I will do tests to find the problem.Â
One other question I have, in the scenario that I sent, how bad would be to transcode G711 to G729 in 70% of calls? There is a study that shows a statistically loss of performance (concurrent calls) with active transcode?
tks
2014-07-24 8:54 GMT-03:00 Scott Griepentrog <sgriepentrog@digium.com (sgriepentrog@digium.com)>:
Quote: | Whether SSD drives allow you to add any additional calls depends entirely on whether or not they can be written to faster than the SAS drives you have. Â My experience shows SSD's can be twice as fast as run-of-the-mill SATA, but the performance difference compared to SAS is likely not as great, and could even be worse. Â You'll need to test two drives to find out. Â I recommend mounting both to test them and copying a very large ISO file using dd which will give you the transfer rate when finished. Â Then you should have your answer.
On Wed, Jul 23, 2014 at 4:03 PM, Eduardo Leones <eduardo@ypytecnologia.com.br (eduardo@ypytecnologia.com.br)> wrote:
Quote: | Thanks for the feedback.Â
In this case SSD disks you think it solves?
Eduardo
2014-07-23 18:01 GMT-03:00 Ron Wheeler <rwheeler@artifact-software.com (rwheeler@artifact-software.com)>:
Quote: | I would also do some math on the bandwidth requirement.
If you divide your disk bandwidth by your recording bit rate what is the theoretical maximum number of calls that you can record at once? Assumes that you have infinite CPU and memory and that you can actually drive the disks at their maximum.
If this comes out to 300, you are already there. If it comes out to 3000, you have something wrong in your setup or your assumptions and a target to work towards.
Â
What quality are you using in the recording? 44k per second(CD quality sound)Â uses a lot more bandwidth than 3K (telephone quality)
What encoding are you using?
How low a bit rate can you use and still have usable recordings? If they are for legal or audit use, you can go pretty low. If you are recording soundtracks for reuse in training or publication, you may require higher bit rates.
If you disable recording, how many simultaneous calls can you support? Just to be sure that recording is the issue.
Ron
On 23/07/2014 4:29 PM, Scott Griepentrog wrote:
Quote: | Your bottleneck is most likely your drive bandwidth. Â Even with SAS drives, you'll need to move to a raid 5+ solution with 6+ drives to continue to increase the concurrent calls, or use a storage appliance.
To confirm this, install the tool nmon and use the v and d options to bring up the resource usage indicators and drive busy/throughput statistics.
On Wed, Jul 23, 2014 at 2:48 PM, Eduardo Leones <eduardo@ypytecnologia.com.br (eduardo@ypytecnologia.com.br)> wrote:
Quote: | peopleÂ
I have a running Asterisk 1.8.28 in great Dell server with two xeon processors and 16gb of ram and HD SAS 15k (Raid 1). This server is recording all calls (placed to record the audio in a ram disk), the entire CDR goes straight to MySQL by cdr_mysql.so. Each call runs some validation and AGI's have an auto dialer system that generates calls over the manager. Calls originate and terminate via SIP (no transcode).Â
With this structure, even being a great server, we can not spend 150 simultaneous calls. When it reaches 140, the load average goes up a lot and the calls start to get very bad audio, tear, etc.. Using the top we see that all the processing is for asterisk. In this scenario, I think there is some limitation in Asterisk, or even the manager due to the auto dialer.Â
Can anyone give me any tips where I can look where is the bottleneck? I need to get at least 250 calls that server quality.
tks
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 317 507 4029
Check us out at: http://digium.com · http://asterisk.org
|
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
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 --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
|
--
Scott Griepentrog
Digium, Inc · Software Developer
445 Jan Davis Drive NW · Huntsville, AL 35806 · US
direct/fax: +1 256 428 6239 · mobile: +1 317 507 4029
Check us out at: http://digium.com · http://asterisk.org
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
        http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users
|
|
|
|
Back to top |
|
|
asterisk.org at sedwar... Guest
|
Posted: Thu Jul 24, 2014 12:39 pm Post subject: [asterisk-users] Limit Asterisk |
|
|
Please don't top-post.
Please trim irrelevant posts.
On Thu, 24 Jul 2014, Eduardo Leones wrote:
Quote: | Another question, what audio format I use in MixMonitor to maintain a
connection with reasonable quality and reduce the use of I / O disk?
|
I think the question is premature.
You have a resource limitation. Until you know what that limitation is,
you can't really make intelligent changes.
Is it I/O activity or I/O bandwidth?
Are you swapping? (Swapping is 'death' to performance.)
Are you running out of CPU?
If you're planning on transcoding to something as computationally
intensive as 729, do you have gobs of excess CPU capacity? If not, you'll
just be trading 1 resource limitation for another.
--
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|