[OpenSIPS-Users] OpenSIPS maximum performance in a multiprocessor machine (SMP)
Adrian Georgescu
ag at ag-projects.com
Wed Sep 16 17:15:02 CEST 2009
Some more thought inline
On Sep 16, 2009, at 11:01 AM, Italo Dacosta wrote:
>
>
> Adrian Georgescu wrote:
>> Hi Italo,
>>
>> Just out of curiosity. How much is enough for you as scalability
>> goes?
>> Doing 20K cps will yield how many established sessions in 3 minutes
>> time? More simultaneous calls then all traffic generated by a whole
>> country?
>
> Adrian,
>
> That is a good question and I agree with your point. However, what I
> am
> trying to understand is how efficiently OpenSIPS is using the hardware
> resources available and if its performance can be optimized.
>
> I am using a basic configuration for my tests (stateless server, no
> authentication, no DNS). In a more realistic scenario, the additional
> functionality will reduce proxy's performance considerably.
Exactly to the point. Optimizing on how many transaction OpenSIPS can
do natively is useless. In real cases when you enable the whole chain
of things that make a complete SIP service running with accounting,
DNS lookups, dips in external databases, number portability, LCR if
you score 50 cps you are lucky.
> I am interested in the performance with authentication. Given SIP's
> flexibility, I can think of scenarios where more SIP messages are
> authenticated (not only INVITEs and REGISTERs), and where more
> services
> require authentication (i.e., IM, presence). In this scenario, if the
> performance of the proxy is not good enough, an option could be to
> upgrade the hardware or add load balancing tools. I would like to know
> if we can do better without adding more hardware or components.
>
> Also, having extra-performance is a good thing, specially in
> situations
> when unexpected loads happens (i.e., flash crowds, emergencies, DoS
> attacks).
A DOS will likely kill many things adjacent to OpenSIPS (Radius
interface, etc..) You have to optimize the whole system not just one
part.
>
> I will appreciate any more thoughts or comments regarding this
> subject.
>
The point is that OpenSIPS is fast enough for its main purpose, there
are the other parts or processes that slows it down and is very little
you can do to optimize on that. The round trip time for all database
queries will add up enough to slow the proxy down to tens cps
depending how many you do and how far the queries systems are.
> Thanks,
> Italo
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list