[OpenSIPS-Users] recommended settings for performance

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Feb 5 11:09:14 CET 2016


Hi Søren,

The throughput of your opensips highly depends on your script - if your 
logic is complex, if it performs many external queries (db,radius, rest, 
etc). It is more test and see approach - monitor the load of your 
opensips and adjusted based on your observations .

Trying to answer to your questions:

1) assuming there is a need for CPU processing, you should configure a 
number of total processes (in opensips) at least equal to the number of 
cores - the opensips as overall app can use all the cores in the same time.

2) I guess you mean about memory ? if you have large CPS / parallel 
calls / registrations, consider increasing the shm memory  - anyhow, 
inspect the mem usage at runtime with "opensipsctl fifo get_statistics 
shmem: "  and re-adjust

3) if you script is I/O intensive (DNS, DB, RADIUS, REST), better have a 
large number of processes (32?). If not, try to correlated with the 
number of cores you have. Also, adjust on the run by checking the 
internal load via "opensipsctl fifo get_statistics load: "

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 01.02.2016 23:31, Søren Andersen wrote:
>
> Hello there,
>
> I’m looking for some reference configs on opensips performance.
>
> -How many cpu cores are you using and how many CPS are you peaking at?
>
> -Which startoptions in opensipsctlrc are you using?
>
> -How many opensips process children are you running?
>
> Currently I’m planning to use STARTOPTIONS="-m 2048 -M 8" on a 2 core 
> VM with children=8. – I hope I’ll be able to run 600-1500 currently 
> call on that setup. But that are your experience?
>
> /Søren
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160205/490cee87/attachment.htm>


More information about the Users mailing list