High Volume MediaProxy

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

High Volume MediaProxy

afshin afzali
Hi Guys,

I'm looking for a solution for traversing 10,000 concurrent sessions (no encryption).
Is it possible this on a single modern box by MediaProxy ?

BEST,
-- afshin
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: High Volume MediaProxy

Ali Pey
Hi Afshin,

I take it that you need to proxy both the sip signalling and media. I don't think you can do that on one server. One opensips server can do the signalling but you would need additional servers for media proxy.

Consider direct media path so you won't have to use a media proxy. 

Regards,
Ali Pey

On Mon, Oct 1, 2012 at 3:19 AM, afshin afzali <[hidden email]> wrote:
Hi Guys,

I'm looking for a solution for traversing 10,000 concurrent sessions (no encryption).
Is it possible this on a single modern box by MediaProxy ?

BEST,
-- afshin
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: High Volume MediaProxy

afshin afzali
Hi Ali,

How many MediaProxy servers can handle 10K sessions? I mean max concurrent sessions on single machine ? Wiki stated that thousands of sessions (1 , 2 , 3 ???)

BEST,
-- Afshin

On Mon, Oct 1, 2012 at 8:17 PM, Ali Pey <[hidden email]> wrote:
Hi Afshin,

I take it that you need to proxy both the sip signalling and media. I don't think you can do that on one server. One opensips server can do the signalling but you would need additional servers for media proxy.

Consider direct media path so you won't have to use a media proxy. 

Regards,
Ali Pey

On Mon, Oct 1, 2012 at 3:19 AM, afshin afzali <[hidden email]> wrote:
Hi Guys,

I'm looking for a solution for traversing 10,000 concurrent sessions (no encryption).
Is it possible this on a single modern box by MediaProxy ?

BEST,
-- afshin
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: High Volume MediaProxy

Muhammad Shahzad
In reply to this post by Ali Pey
If you really have this many calls, then you should probably consider distributed media proxies perhaps over different geographical locations. If you have done everything perfect then one media proxy would approx. do 1000-1250 concurrent calls over 100 mbps link this may get double if you have have 1 gbps link but not more then that. So you will need around 6 to 8 media proxies to handle 10K concurrent calls.

Thank you.


On Mon, Oct 1, 2012 at 6:47 PM, Ali Pey <[hidden email]> wrote:
Hi Afshin,

I take it that you need to proxy both the sip signalling and media. I don't think you can do that on one server. One opensips server can do the signalling but you would need additional servers for media proxy.

Consider direct media path so you won't have to use a media proxy. 

Regards,
Ali Pey

On Mon, Oct 1, 2012 at 3:19 AM, afshin afzali <[hidden email]> wrote:
Hi Guys,

I'm looking for a solution for traversing 10,000 concurrent sessions (no encryption).
Is it possible this on a single modern box by MediaProxy ?

BEST,
-- afshin
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: High Volume MediaProxy

Muhammad Shahzad
OR, if you can arrange an ESX with really good specs (2 x quad core 3.2 GHz processor with at least 32 GB RAM) then you can create about 8 virtual servers running media proxy, the capacity of each media proxy in this case will be reduced to around 750~900 concurrent calls but total output of this single physical machine would be 750 x 8 = 6000 calls, you will need at least 4 gigabit ethernets of course.

Thank you.


On Mon, Oct 1, 2012 at 9:04 PM, Muhammad Shahzad <[hidden email]> wrote:
If you really have this many calls, then you should probably consider distributed media proxies perhaps over different geographical locations. If you have done everything perfect then one media proxy would approx. do 1000-1250 concurrent calls over 100 mbps link this may get double if you have have 1 gbps link but not more then that. So you will need around 6 to 8 media proxies to handle 10K concurrent calls.

Thank you.


On Mon, Oct 1, 2012 at 6:47 PM, Ali Pey <[hidden email]> wrote:
Hi Afshin,

I take it that you need to proxy both the sip signalling and media. I don't think you can do that on one server. One opensips server can do the signalling but you would need additional servers for media proxy.

Consider direct media path so you won't have to use a media proxy. 

Regards,
Ali Pey

On Mon, Oct 1, 2012 at 3:19 AM, afshin afzali <[hidden email]> wrote:
Hi Guys,

I'm looking for a solution for traversing 10,000 concurrent sessions (no encryption).
Is it possible this on a single modern box by MediaProxy ?

BEST,
-- afshin
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: <a href="tel:%2B92%20334%20422%2040%2088" value="+923344224088" target="_blank">+92 334 422 40 88
MSN: [hidden email]
Email: [hidden email]



--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: High Volume MediaProxy

afshin afzali
In reply to this post by Muhammad Shahzad
Hi Muhammad,

Thanks your specific answer and engineered solution, :) 
Just one more thing, do you mean 1 call = 2 sessions ? :))

BEST,
-- Afshin



On Mon, Oct 1, 2012 at 10:34 PM, Muhammad Shahzad <[hidden email]> wrote:
If you really have this many calls, then you should probably consider distributed media proxies perhaps over different geographical locations. If you have done everything perfect then one media proxy would approx. do 1000-1250 concurrent calls over 100 mbps link this may get double if you have have 1 gbps link but not more then that. So you will need around 6 to 8 media proxies to handle 10K concurrent calls.

Thank you.


On Mon, Oct 1, 2012 at 6:47 PM, Ali Pey <[hidden email]> wrote:
Hi Afshin,

I take it that you need to proxy both the sip signalling and media. I don't think you can do that on one server. One opensips server can do the signalling but you would need additional servers for media proxy.

Consider direct media path so you won't have to use a media proxy. 

Regards,
Ali Pey

On Mon, Oct 1, 2012 at 3:19 AM, afshin afzali <[hidden email]> wrote:
Hi Guys,

I'm looking for a solution for traversing 10,000 concurrent sessions (no encryption).
Is it possible this on a single modern box by MediaProxy ?

BEST,
-- afshin
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: <a href="tel:%2B92%20334%20422%2040%2088" value="+923344224088" target="_blank">+92 334 422 40 88
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: High Volume MediaProxy

Jeff Pyle
In reply to this post by Muhammad Shahzad
Muhammad,

I don't have the requirements that Afshin does, but I've often wondered which server resource (ignoring bandwidth) would run out first.  Around 650 calls gives a load average of about 0.15.  This particular relay has one processor with 8 cores at 2 GHz, Mediaproxy 2.4.4, no virtualization.  RAM utilization is negligible.

If CPU load would become the bottleneck, can I truly run 650 / 0.15 * 8 cores = 35,000 calls on one relay?  Continuing to ignore bandwidth that still doesn't seem right.

Once a relay fails due to over-utilization, which actual resource tends to fill first?


- Jeff


On Mon, Oct 1, 2012 at 3:11 PM, Muhammad Shahzad <[hidden email]> wrote:
OR, if you can arrange an ESX with really good specs (2 x quad core 3.2 GHz processor with at least 32 GB RAM) then you can create about 8 virtual servers running media proxy, the capacity of each media proxy in this case will be reduced to around 750~900 concurrent calls but total output of this single physical machine would be 750 x 8 = 6000 calls, you will need at least 4 gigabit ethernets of course.

Thank you.


On Mon, Oct 1, 2012 at 9:04 PM, Muhammad Shahzad <[hidden email]> wrote:
If you really have this many calls, then you should probably consider distributed media proxies perhaps over different geographical locations. If you have done everything perfect then one media proxy would approx. do 1000-1250 concurrent calls over 100 mbps link this may get double if you have have 1 gbps link but not more then that. So you will need around 6 to 8 media proxies to handle 10K concurrent calls.

Thank you.


On Mon, Oct 1, 2012 at 6:47 PM, Ali Pey <[hidden email]> wrote:
Hi Afshin,

I take it that you need to proxy both the sip signalling and media. I don't think you can do that on one server. One opensips server can do the signalling but you would need additional servers for media proxy.

Consider direct media path so you won't have to use a media proxy. 

Regards,
Ali Pey

On Mon, Oct 1, 2012 at 3:19 AM, afshin afzali <[hidden email]> wrote:
Hi Guys,

I'm looking for a solution for traversing 10,000 concurrent sessions (no encryption).
Is it possible this on a single modern box by MediaProxy ?

BEST,
-- afshin
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: <a href="tel:%2B92%20334%20422%2040%2088" value="+923344224088" target="_blank">+92 334 422 40 88
MSN: [hidden email]
Email: [hidden email]



--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: High Volume MediaProxy

Ali Pey
Also Media proxy can not run on a virtual environment: http://mediaproxy.ag-projects.com/

I never done much testing myself but I have talked to people that achieved close to 10,000 simultaneous calls. It is also depends on the call activity as well. It's one thing to have 10,000 simultaneous calls and it's another to have calls setup and tear down in a normal telephony environment.


On Mon, Oct 1, 2012 at 3:48 PM, Jeff Pyle <[hidden email]> wrote:
Muhammad,

I don't have the requirements that Afshin does, but I've often wondered which server resource (ignoring bandwidth) would run out first.  Around 650 calls gives a load average of about 0.15.  This particular relay has one processor with 8 cores at 2 GHz, Mediaproxy 2.4.4, no virtualization.  RAM utilization is negligible.

If CPU load would become the bottleneck, can I truly run 650 / 0.15 * 8 cores = 35,000 calls on one relay?  Continuing to ignore bandwidth that still doesn't seem right.

Once a relay fails due to over-utilization, which actual resource tends to fill first?


- Jeff


On Mon, Oct 1, 2012 at 3:11 PM, Muhammad Shahzad <[hidden email]> wrote:
OR, if you can arrange an ESX with really good specs (2 x quad core 3.2 GHz processor with at least 32 GB RAM) then you can create about 8 virtual servers running media proxy, the capacity of each media proxy in this case will be reduced to around 750~900 concurrent calls but total output of this single physical machine would be 750 x 8 = 6000 calls, you will need at least 4 gigabit ethernets of course.

Thank you.


On Mon, Oct 1, 2012 at 9:04 PM, Muhammad Shahzad <[hidden email]> wrote:
If you really have this many calls, then you should probably consider distributed media proxies perhaps over different geographical locations. If you have done everything perfect then one media proxy would approx. do 1000-1250 concurrent calls over 100 mbps link this may get double if you have have 1 gbps link but not more then that. So you will need around 6 to 8 media proxies to handle 10K concurrent calls.

Thank you.


On Mon, Oct 1, 2012 at 6:47 PM, Ali Pey <[hidden email]> wrote:
Hi Afshin,

I take it that you need to proxy both the sip signalling and media. I don't think you can do that on one server. One opensips server can do the signalling but you would need additional servers for media proxy.

Consider direct media path so you won't have to use a media proxy. 

Regards,
Ali Pey

On Mon, Oct 1, 2012 at 3:19 AM, afshin afzali <[hidden email]> wrote:
Hi Guys,

I'm looking for a solution for traversing 10,000 concurrent sessions (no encryption).
Is it possible this on a single modern box by MediaProxy ?

BEST,
-- afshin
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: <a href="tel:%2B92%20334%20422%2040%2088" value="+923344224088" target="_blank">+92 334 422 40 88
MSN: [hidden email]
Email: [hidden email]



--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: <a href="tel:%2B92%20334%20422%2040%2088" value="+923344224088" target="_blank">+92 334 422 40 88
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: High Volume MediaProxy

Jeff Pyle
Hi Ali,

On Mon, Oct 1, 2012 at 4:00 PM, Ali Pey <[hidden email]> wrote:
Also Media proxy can not run on a virtual environment: http://mediaproxy.ag-projects.com/

I see that on the Wiki.  I run the dispatcher in a VM environment with no issues.  I suspect that requirement is directed more towards the relay.  I have run the relay in a Xen environment with no issues also, although I don't in production.  Is there a particular reason, interrupt load perhaps?
 
I never done much testing myself but I have talked to people that achieved close to 10,000 simultaneous calls. It is also depends on the call activity as well. It's one thing to have 10,000 simultaneous calls and it's another to have calls setup and tear down in a normal telephony environment.

Good info.


- Jeff



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: High Volume MediaProxy

Saúl Ibarra Corretgé
In reply to this post by Jeff Pyle
Hi Jeff,

On Oct 1, 2012, at 9:48 PM, Jeff Pyle wrote:

> Muhammad,
>
> I don't have the requirements that Afshin does, but I've often wondered which server resource (ignoring bandwidth) would run out first.  Around 650 calls gives a load average of about 0.15.  This particular relay has one processor with 8 cores at 2 GHz, Mediaproxy 2.4.4, no virtualization.  RAM utilization is negligible.
>
> If CPU load would become the bottleneck, can I truly run 650 / 0.15 * 8 cores = 35,000 calls on one relay?  Continuing to ignore bandwidth that still doesn't seem right.
>
> Once a relay fails due to over-utilization, which actual resource tends to fill first?
>

The network card, most likely. The Linux kernel is able to move packets really fast, but with that big amount of traffic you'll need good network cards that  won't kill your CPU with interrupts. Using irqbalance in case there are too many of them also helps.


Regards,

--
Saúl Ibarra Corretgé
AG Projects




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: High Volume MediaProxy

Saúl Ibarra Corretgé
In reply to this post by Jeff Pyle
Hi,

On Oct 2, 2012, at 1:02 AM, Jeff Pyle wrote:

> Hi Ali,
>
> On Mon, Oct 1, 2012 at 4:00 PM, Ali Pey <[hidden email]> wrote:
> Also Media proxy can not run on a virtual environment: http://mediaproxy.ag-projects.com/
>

Well... you can run it, but you shouldn't. If you run MediaProxy in a VM with a dedicated network card (using passthrough) and a public IP address on it there should be no problem. Assuming there are no timing issues in the kernel, which shouldn't be the case these days. But there is overhead. And interrupts.

> I see that on the Wiki.  I run the dispatcher in a VM environment with no issues.  I suspect that requirement is directed more towards the relay.  I have run the relay in a Xen environment with no issues also, although I don't in production.  Is there a particular reason, interrupt load perhaps?
>  

Yes. Even if it's just a little, there is always some overhead.

> I never done much testing myself but I have talked to people that achieved close to 10,000 simultaneous calls. It is also depends on the call activity as well. It's one thing to have 10,000 simultaneous calls and it's another to have calls setup and tear down in a normal telephony environment.
>
> Good info.
>
>
> - Jeff
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

--
Saúl Ibarra Corretgé
AG Projects




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: High Volume MediaProxy

Muhammad Shahzad
In reply to this post by afshin afzali
One call has at least two streams, caller and callee. Each stream has two substreams, RTP and RTCP. Therefore, each call consumes at least 4 ports (Audio only call i mean).

 
Thank you.
 

 
On Mon, Oct 1, 2012 at 9:16 PM, afshin afzali <[hidden email]> wrote:
Hi Muhammad,

Thanks your specific answer and engineered solution, :) 
Just one more thing, do you mean 1 call = 2 sessions ? :))

BEST,
-- Afshin



On Mon, Oct 1, 2012 at 10:34 PM, Muhammad Shahzad <[hidden email]> wrote:
If you really have this many calls, then you should probably consider distributed media proxies perhaps over different geographical locations. If you have done everything perfect then one media proxy would approx. do 1000-1250 concurrent calls over 100 mbps link this may get double if you have have 1 gbps link but not more then that. So you will need around 6 to 8 media proxies to handle 10K concurrent calls.

Thank you.


On Mon, Oct 1, 2012 at 6:47 PM, Ali Pey <[hidden email]> wrote:
Hi Afshin,

I take it that you need to proxy both the sip signalling and media. I don't think you can do that on one server. One opensips server can do the signalling but you would need additional servers for media proxy.

Consider direct media path so you won't have to use a media proxy. 

Regards,
Ali Pey

On Mon, Oct 1, 2012 at 3:19 AM, afshin afzali <[hidden email]> wrote:
Hi Guys,

I'm looking for a solution for traversing 10,000 concurrent sessions (no encryption).
Is it possible this on a single modern box by MediaProxy ?

BEST,
-- afshin
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: <a href="tel:%2B92%20334%20422%2040%2088" target="_blank" value="+923344224088">+92 334 422 40 88
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: High Volume MediaProxy

afshin afzali
All of you guys,

I did gain a lot of good information on this thread.
Thank you so much,

-- Afshin

On Tue, Oct 2, 2012 at 3:42 PM, Muhammad Shahzad <[hidden email]> wrote:
One call has at least two streams, caller and callee. Each stream has two substreams, RTP and RTCP. Therefore, each call consumes at least 4 ports (Audio only call i mean).

 
Thank you.
 

 
On Mon, Oct 1, 2012 at 9:16 PM, afshin afzali <[hidden email]> wrote:
Hi Muhammad,

Thanks your specific answer and engineered solution, :) 
Just one more thing, do you mean 1 call = 2 sessions ? :))

BEST,
-- Afshin



On Mon, Oct 1, 2012 at 10:34 PM, Muhammad Shahzad <[hidden email]> wrote:
If you really have this many calls, then you should probably consider distributed media proxies perhaps over different geographical locations. If you have done everything perfect then one media proxy would approx. do 1000-1250 concurrent calls over 100 mbps link this may get double if you have have 1 gbps link but not more then that. So you will need around 6 to 8 media proxies to handle 10K concurrent calls.

Thank you.


On Mon, Oct 1, 2012 at 6:47 PM, Ali Pey <[hidden email]> wrote:
Hi Afshin,

I take it that you need to proxy both the sip signalling and media. I don't think you can do that on one server. One opensips server can do the signalling but you would need additional servers for media proxy.

Consider direct media path so you won't have to use a media proxy. 

Regards,
Ali Pey

On Mon, Oct 1, 2012 at 3:19 AM, afshin afzali <[hidden email]> wrote:
Hi Guys,

I'm looking for a solution for traversing 10,000 concurrent sessions (no encryption).
Is it possible this on a single modern box by MediaProxy ?

BEST,
-- afshin
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: <a href="tel:%2B92%20334%20422%2040%2088" value="+923344224088" target="_blank">+92 334 422 40 88
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: High Volume MediaProxy

Muhammad Shahzad
In reply to this post by Jeff Pyle
As i said each call consumes 4 ports at Minimum. Since we have Maximum port number 65535 and subtracting Standard ports below number 1024, so max possible available ports are around 64K which means in theory you can not have more then 64K / 4 = 16K concurrent calls running on a single machine.
 
I did read somewhere there is some kernel variable which you can Change to increase available ports but i never used it nor i have experience how it will effect voip Services.
First Thing that effects is bandwidth, then NIC, then CPU and then RAM i guess.
 
(Sorry i am testing Windows 8 right now and it really messes up the text i am writing here. Apologies for inconvenience).
 
Thank you.
 

 
On Mon, Oct 1, 2012 at 9:48 PM, Jeff Pyle <[hidden email]> wrote:
Muhammad,

I don't have the requirements that Afshin does, but I've often wondered which server resource (ignoring bandwidth) would run out first.  Around 650 calls gives a load average of about 0.15.  This particular relay has one processor with 8 cores at 2 GHz, Mediaproxy 2.4.4, no virtualization.  RAM utilization is negligible.

If CPU load would become the bottleneck, can I truly run 650 / 0.15 * 8 cores = 35,000 calls on one relay?  Continuing to ignore bandwidth that still doesn't seem right.

Once a relay fails due to over-utilization, which actual resource tends to fill first?


- Jeff


On Mon, Oct 1, 2012 at 3:11 PM, Muhammad Shahzad <[hidden email]> wrote:
OR, if you can arrange an ESX with really good specs (2 x quad core 3.2 GHz processor with at least 32 GB RAM) then you can create about 8 virtual servers running media proxy, the capacity of each media proxy in this case will be reduced to around 750~900 concurrent calls but total output of this single physical machine would be 750 x 8 = 6000 calls, you will need at least 4 gigabit ethernets of course.

Thank you.


On Mon, Oct 1, 2012 at 9:04 PM, Muhammad Shahzad <[hidden email]> wrote:
If you really have this many calls, then you should probably consider distributed media proxies perhaps over different geographical locations. If you have done everything perfect then one media proxy would approx. do 1000-1250 concurrent calls over 100 mbps link this may get double if you have have 1 gbps link but not more then that. So you will need around 6 to 8 media proxies to handle 10K concurrent calls.

Thank you.


On Mon, Oct 1, 2012 at 6:47 PM, Ali Pey <[hidden email]> wrote:
Hi Afshin,

I take it that you need to proxy both the sip signalling and media. I don't think you can do that on one server. One opensips server can do the signalling but you would need additional servers for media proxy.

Consider direct media path so you won't have to use a media proxy. 

Regards,
Ali Pey

On Mon, Oct 1, 2012 at 3:19 AM, afshin afzali <[hidden email]> wrote:
Hi Guys,

I'm looking for a solution for traversing 10,000 concurrent sessions (no encryption).
Is it possible this on a single modern box by MediaProxy ?

BEST,
-- afshin
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: <a href="tel:%2B92%20334%20422%2040%2088" target="_blank" value="+923344224088">+92 334 422 40 88
MSN: [hidden email]
Email: [hidden email]



--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: <a href="tel:%2B92%20334%20422%2040%2088" target="_blank" value="+923344224088">+92 334 422 40 88
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: [hidden email]
Email: [hidden email]

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users