VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
carles at pina.cat Guest
|
Posted: Wed Jan 23, 2008 12:23 pm Post subject: [asterisk-users] Asterisk scalability |
|
|
Hello,
I wonder how Asterisk scales when we increment the Core's or CPU's of
one computer.
I see that Asterisk is only one process (I guess that it uses threads).
But because Asterisk is only one process, this process is always
executed in the same CPU. So we can have a 8 Cores server, with one Core
running Asterisk, another Core running operating system stuff/other
small daemons and 6 idle cores.
Is this correct? Why not?
If this is correct, increasing CPU number of Asterisk server box would
not increase the performance.
I don't see any other process that could use other Cores (like
transcoding processes, executing dialplan, etc.)
Thank you for your information,
--
Carles Pina i Estany GPG id: 0x8CBDAE64
http://pinux.info Manresa - Barcelona |
|
Back to top |
|
|
burke at tailorhosting... Guest
|
Posted: Wed Jan 23, 2008 12:51 pm Post subject: [asterisk-users] Asterisk scalability |
|
|
Quote: |
Hello,
I wonder how Asterisk scales when we increment the Core's or CPU's of
one computer.
I see that Asterisk is only one process (I guess that it uses threads).
But because Asterisk is only one process, this process is always
executed in the same CPU. So we can have a 8 Cores server, with one Core
running Asterisk, another Core running operating system stuff/other
small daemons and 6 idle cores.
Is this correct? Why not?
If this is correct, increasing CPU number of Asterisk server box would
not increase the performance.
I don't see any other process that could use other Cores (like
transcoding processes, executing dialplan, etc.)
Thank you for your information,
--
Carles Pina i Estany GPG id: 0x8CBDAE64
http://pinux.info Manresa - Barcelona
|
Carles,
Asterisk is one process, but as you mentioned multi-threaded as well.
Because it is multi-threaded it can run on multiple cores/CPU's at a time.
I don't know the internals of Asterisk that well so I can't site specific
examples, but I know that there are some scalability bottlenecks people
are looking at, specifically with the IAX protocol and how the threads
send/receive packets.
I'm sure that an Asterisk developer can chime in and give several examples
of how Asterisk uses its threads to increase scalability. That said, there
will be a point where the number of core/CPU's won't be the bottleneck so
adding more won't help anything.
Ryan |
|
Back to top |
|
|
carles at pina.cat Guest
|
Posted: Wed Jan 23, 2008 3:28 pm Post subject: [asterisk-users] Asterisk scalability |
|
|
Hello,
On Jan/23/2008, Ryan Burke wrote:
Quote: | Quote: | I wonder how Asterisk scales when we increment the Core's or CPU's of
one computer.
|
|
Quote: | Quote: | I see that Asterisk is only one process (I guess that it uses threads).
| Asterisk is one process, but as you mentioned multi-threaded as well.
Because it is multi-threaded it can run on multiple cores/CPU's at a time.
I don't know the internals of Asterisk that well so I can't site specific
examples, but I know that there are some scalability bottlenecks people
are looking at, specifically with the IAX protocol and how the threads
send/receive packets.
|
thanks for information.
To give some more details, is we execute:
ps auxwm
We can see that Asterisk is using quite many threads (33 threads in a
mainly new Asterisk installation)
Quote: | I'm sure that an Asterisk developer can chime in and give several examples
of how Asterisk uses its threads to increase scalability. That said, there
will be a point where the number of core/CPU's won't be the bottleneck so
adding more won't help anything.
|
Yes, I see that it uses threads. I wonder some other data like which is
the limit that core/CPU's are correctly used (or usefull used).
Thanks again Ryan,
--
Carles Pina i Estany GPG id: 0x8CBDAE64
http://pinux.info Manresa - Barcelona |
|
Back to top |
|
|
stephen.l.davies at gm... Guest
|
Posted: Wed Jan 23, 2008 3:56 pm Post subject: [asterisk-users] Asterisk scalability |
|
|
Quote: | I'm sure that an Asterisk developer can chime in and give several examples
of how Asterisk uses its threads to increase scalability. That said, there
will be a point where the number of core/CPU's won't be the bottleneck so
adding more won't help anything.
| Asterisk is highly multi-threaded and definitely takes advantage of multiple
cores.
There are a few places where concurrency could be further improved, but its
really quite good in 1.4. (IAX in 1.4 does handle traffic using a thread
pool so will take advantage of multiple cores).
By the way, I have a client with a four-core Xeon box doing SIP to IAX
conversion - that box can handle 1000 concurrent calls.
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080123/2c8a5ab0/attachment.htm |
|
Back to top |
|
|
abalashov at evaristes... Guest
|
Posted: Wed Jan 23, 2008 4:03 pm Post subject: [asterisk-users] Asterisk scalability |
|
|
On Wed, 23 Jan 2008, Stephen Davies wrote:
Quote: | By the way, I have a client with a four-core Xeon box doing SIP to IAX
conversion - that box can handle 1000 concurrent calls.
|
With media passing through it?
--
Alex Balashov
Evariste Systems
Web : http://www.evaristesys.com/
Tel : +1-678-954-0670
Direct : +1-678-954-0671 |
|
Back to top |
|
|
mbrancaleoni at espia.it Guest
|
Posted: Wed Jan 23, 2008 4:38 pm Post subject: [asterisk-users] Asterisk scalability |
|
|
Hi,
On Wed, 2008-01-23 at 16:03 -0500, Alex Balashov wrote:
Quote: | On Wed, 23 Jan 2008, Stephen Davies wrote:
Quote: | By the way, I have a client with a four-core Xeon box doing SIP to IAX
conversion - that box can handle 1000 concurrent calls.
|
With media passing through it?
|
if doing conversion from sip 2 iax is pretty difficult
to NOT handle media... since iax does not have RTP.
regards
mat |
|
Back to top |
|
|
dcole at hcit.com.au Guest
|
Posted: Wed Jan 23, 2008 4:54 pm Post subject: [asterisk-users] Asterisk scalability |
|
|
Sorry to be a little OT.. But may I ask what some more of the specs are for that machine? Just trying to get an idea of what different hardware can achieve.
Thanks,
Daniel
________________________________
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Stephen Davies
Sent: Thursday, 24 January 2008 7:57 AM
To: burke at tailorhosting.com; Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk scalability
I'm sure that an Asterisk developer can chime in and give several examples
of how Asterisk uses its threads to increase scalability. That said, there
will be a point where the number of core/CPU's won't be the bottleneck so
adding more won't help anything.
Asterisk is highly multi-threaded and definitely takes advantage of multiple cores.
There are a few places where concurrency could be further improved, but its really quite good in 1.4. (IAX in 1.4 does handle traffic using a thread pool so will take advantage of multiple cores).
By the way, I have a client with a four-core Xeon box doing SIP to IAX conversion - that box can handle 1000 concurrent calls.
Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080124/cb6a635d/attachment.htm |
|
Back to top |
|
|
pdhales at optusnet.co... Guest
|
Posted: Wed Jan 23, 2008 6:08 pm Post subject: [asterisk-users] Asterisk scalability |
|
|
There was a cool paper written a a few months ago where they tested some
older dell servers - full details of specs and tests were available.
PaulH
On Thu, 2008-01-24 at 08:54 +1100, Daniel Cole wrote:
Quote: | Sorry to be a little OT.. But may I ask what some more of the specs
are for that machine? Just trying to get an idea of what different
hardware can achieve.
Thanks,
Daniel
______________________________________________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Stephen
Davies
Sent: Thursday, 24 January 2008 7:57 AM
To: burke at tailorhosting.com; Asterisk Users Mailing List -
Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk scalability
I'm sure that an Asterisk developer can chime in and give
several examples
of how Asterisk uses its threads to increase scalability. That
said, there
will be a point where the number of core/CPU's won't be the
bottleneck so
adding more won't help anything.
Asterisk is highly multi-threaded and definitely takes advantage of
multiple cores.
There are a few places where concurrency could be further improved,
but its really quite good in 1.4. (IAX in 1.4 does handle traffic
using a thread pool so will take advantage of multiple cores).
By the way, I have a client with a four-core Xeon box doing SIP to IAX
conversion - that box can handle 1000 concurrent calls.
Steve
_______________________________________________
-- 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 |
|
|
Back to top |
|
|
stotaro at totarotechn... Guest
|
Posted: Wed Jan 23, 2008 6:30 pm Post subject: [asterisk-users] Asterisk scalability |
|
|
Link?
Thanks,
Steve Totaro
On Jan 23, 2008 6:08 PM, Paul Hales <pdhales at optusnet.com.au> wrote:
Quote: |
There was a cool paper written a a few months ago where they tested some
older dell servers - full details of specs and tests were available.
PaulH
On Thu, 2008-01-24 at 08:54 +1100, Daniel Cole wrote:
Quote: | Sorry to be a little OT.. But may I ask what some more of the specs
are for that machine? Just trying to get an idea of what different
hardware can achieve.
Thanks,
Daniel
______________________________________________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Stephen
Davies
Sent: Thursday, 24 January 2008 7:57 AM
To: burke at tailorhosting.com; Asterisk Users Mailing List -
Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk scalability
I'm sure that an Asterisk developer can chime in and give
several examples
of how Asterisk uses its threads to increase scalability. That
said, there
will be a point where the number of core/CPU's won't be the
bottleneck so
adding more won't help anything.
Asterisk is highly multi-threaded and definitely takes advantage of
multiple cores.
There are a few places where concurrency could be further improved,
but its really quite good in 1.4. (IAX in 1.4 does handle traffic
using a thread pool so will take advantage of multiple cores).
By the way, I have a client with a four-core Xeon box doing SIP to IAX
conversion - that box can handle 1000 concurrent calls.
Steve
|
|
|
|
Back to top |
|
|
pdhales at optusnet.co... Guest
|
Posted: Wed Jan 23, 2008 6:55 pm Post subject: [asterisk-users] Asterisk scalability |
|
|
http://www.transnexus.com/White%
20Papers/asterisk_V1-4-11_performance.htm
It was the bottom news item on voip-info.org - I was worried I would
have to really search for it!
later,
PaulH
On Wed, 2008-01-23 at 18:30 -0500, Steve Totaro wrote:
Quote: | Link?
Thanks,
Steve Totaro
On Jan 23, 2008 6:08 PM, Paul Hales <pdhales at optusnet.com.au> wrote:
Quote: |
There was a cool paper written a a few months ago where they tested some
older dell servers - full details of specs and tests were available.
PaulH
On Thu, 2008-01-24 at 08:54 +1100, Daniel Cole wrote:
Quote: | Sorry to be a little OT.. But may I ask what some more of the specs
are for that machine? Just trying to get an idea of what different
hardware can achieve.
Thanks,
Daniel
______________________________________________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Stephen
Davies
Sent: Thursday, 24 January 2008 7:57 AM
To: burke at tailorhosting.com; Asterisk Users Mailing List -
Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk scalability
I'm sure that an Asterisk developer can chime in and give
several examples
of how Asterisk uses its threads to increase scalability. That
said, there
will be a point where the number of core/CPU's won't be the
bottleneck so
adding more won't help anything.
Asterisk is highly multi-threaded and definitely takes advantage of
multiple cores.
There are a few places where concurrency could be further improved,
but its really quite good in 1.4. (IAX in 1.4 does handle traffic
using a thread pool so will take advantage of multiple cores).
By the way, I have a client with a four-core Xeon box doing SIP to IAX
conversion - that box can handle 1000 concurrent calls.
Steve
|
|
_______________________________________________
-- 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
| -------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080124/128b84d3/attachment.htm |
|
Back to top |
|
|
asteriskal at gmail.com Guest
|
Posted: Wed Jan 23, 2008 7:37 pm Post subject: [asterisk-users] Asterisk scalability |
|
|
Thank you Paul!
Its impressive!
On Jan 23, 2008 4:55 PM, Paul Hales <pdhales at optusnet.com.au> wrote:
Quote: |
http://www.transnexus.com/White%20Papers/asterisk_V1-4-11_performance.htm
It was the bottom news item on voip-info.org - I was worried I would have
to really search for it!
later,
PaulH
On Wed, 2008-01-23 at 18:30 -0500, Steve Totaro wrote:
Link?
Thanks,Steve Totaro
On Jan 23, 2008 6:08 PM, Paul Hales <pdhales at optusnet.com.au> wrote:>> There was a cool paper written a a few months ago where they tested some> older dell servers - full details of specs and tests were available.>> PaulH>>>>> On Thu, 2008-01-24 at 08:54 +1100, Daniel Cole wrote:> > Sorry to be a little OT.. But may I ask what some more of the specs> > are for that machine? Just trying to get an idea of what different> > hardware can achieve.> >> > Thanks,> >> >> > Daniel> >> >> >> >> > ______________________________________________________________________> > From: asterisk-users-bounces at lists.digium.com> > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Stephen> > Davies> > Sent: Thursday, 24 January 2008 7:57 AM> > To: burke at tailorhosting.com; Asterisk Users Mailing List -> > Non-Commercial Discussion> > Subject: Re: [asterisk-users] Asterisk scalability> >> >> >> >> > I'm sure that an Asterisk developer can chime in and give> > several examples> > of how Asterisk uses its threads to increase scalability. That> > said, there> > will be a point where the number of core/CPU's won't be the> > bottleneck so> > adding more won't help anything.> >> >> >> > Asterisk is highly multi-threaded and definitely takes advantage of> > multiple cores.> >> >> > There are a few places where concurrency could be further improved,> > but its really quite good in 1.4. (IAX in 1.4 does handle traffic> > using a thread pool so will take advantage of multiple cores).> >> >> > By the way, I have a client with a four-core Xeon box doing SIP to IAX> > conversion - that box can handle 1000 concurrent calls.> >> >> > Steve> >> >>
_______________________________________________-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing listTo 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
| -------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080123/0ddf1501/attachment.htm |
|
Back to top |
|
|
carles at pina.cat Guest
|
Posted: Thu Jan 24, 2008 4:22 am Post subject: [asterisk-users] Asterisk scalability |
|
|
Hello,
On Jan/24/2008, Paul Hales wrote:
Quote: |
http://www.transnexus.com/White%
20Papers/asterisk_V1-4-11_performance.htm
It was the bottom news item on voip-info.org - I was worried I would
have to really search for it!
|
and I guess that transcoding benchmark could increase to non-transcoding
calls using this card:
http://digiumcards.com/digium_tc400b_transcoder_card_g729_g7231.html
no?
--
Carles Pina i Estany GPG id: 0x8CBDAE64
http://pinux.info Manresa - Barcelona |
|
Back to top |
|
|
ariel.monaco at credat... Guest
|
Posted: Thu Jan 24, 2008 5:44 am Post subject: [asterisk-users] Asterisk scalability |
|
|
Does anyone remember this site? http://www.astertest.com/
Regards,
Ariel
On Wed, 2008-01-23 at 18:30 -0500, Steve Totaro wrote:
Quote: | Link?
Thanks,
Steve Totaro
On Jan 23, 2008 6:08 PM, Paul Hales <pdhales at optusnet.com.au> wrote:
Quote: |
There was a cool paper written a a few months ago where they tested some
older dell servers - full details of specs and tests were available.
PaulH
On Thu, 2008-01-24 at 08:54 +1100, Daniel Cole wrote:
Quote: | Sorry to be a little OT.. But may I ask what some more of the specs
are for that machine? Just trying to get an idea of what different
hardware can achieve.
Thanks,
Daniel
______________________________________________________________________
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Stephen
Davies
Sent: Thursday, 24 January 2008 7:57 AM
To: burke at tailorhosting.com; Asterisk Users Mailing List -
Non-Commercial Discussion
Subject: Re: [asterisk-users] Asterisk scalability
I'm sure that an Asterisk developer can chime in and give
several examples
of how Asterisk uses its threads to increase scalability. That
said, there
will be a point where the number of core/CPU's won't be the
bottleneck so
adding more won't help anything.
Asterisk is highly multi-threaded and definitely takes advantage of
multiple cores.
There are a few places where concurrency could be further improved,
but its really quite good in 1.4. (IAX in 1.4 does handle traffic
using a thread pool so will take advantage of multiple cores).
By the way, I have a client with a four-core Xeon box doing SIP to IAX
conversion - that box can handle 1000 concurrent calls.
Steve
|
|
_______________________________________________
-- 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
| --
Ariel Monaco
Tel.: +49 (0) 2161 / 4643 - 0
credativ GmbH, HRB M?nchengladbach 12080
Hohenzollernstr. 133, 41061 M?nchengladbach
Gesch?ftsf?hrung: Dr. Michael Meskes, J?rg Folz |
|
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
|