<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hello William,<br>
<br>
In 2.0 there are indeed multiple threads, but as worker (doing the
RTP relay) is still one. The rest of the treads are light
processing ones. So I would keep a one to one mapping, IMHO.<br>
<br>
If multiple rtpproxies are using the IP for RTP relay, then you
have to partition the port rage to avoid overlapping between them.
If there are different IPs, you do not need to do this.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2017, Houston, US
<a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2017.html">http://opensips.org/training/OpenSIPS_Bootcamp_2017.html</a>
</pre>
<div class="moz-cite-prefix">On 07/28/2017 03:14 AM, William Simon
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:8051674B-0EA4-4552-BD18-FE1104DA9DC7@stratusvideo.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
I am using multi-core processors (who isn't) and want to get the
most out of opensips + rtpproxy running on the same server.
<div class=""><br class="">
</div>
<div class="">According to opensips docs I can tell opensips to
load balance between two instances of rtpproxy on the same
machine, controlled through different UDP sockets:</div>
<div class=""><br class="">
</div>
<div class="">(From <a
href="http://www.opensips.org/html/docs/modules/2.2.x/rtpproxy.html"
class="" moz-do-not-send="true">http://www.opensips.org/html/docs/modules/2.2.x/rtpproxy.html</a>)</div>
<div class=""><br class="">
</div>
<div class="">
<div class=""># multiple rtproxies for LB</div>
<div class="">modparam("rtpproxy", "rtpproxy_sock",</div>
<div class=""><span class="Apple-tab-span" style="white-space:pre"></span>"udp:localhost:12221
udp:localhost:12222")</div>
</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">Using rtpproxy 2.0 it looks like I should have two
cores per rtpproxy. Is it enough then to set up (CORES / 2)
instances of rtpproxy, each with the same parameters on the
server but different control sockets, and then tell opensips
about them using the rtpproxy load balance syntax shown above?</div>
<div class=""><br class="">
</div>
<div class="">Do they need to be assigned different RTP ranges, IP
addresses or anything like that? I have set up a test box as I
just described but cannot tell whether I will have resource
conflicts under load.</div>
<br>
<br>
“The information transmitted is intended only for the person or
entity to which it is addressed and may contain proprietary,
business-confidential and/or privileged material. If you are not
the intended recipient of this message you are hereby notified
that any use, review, retransmission, dissemination, distribution,
reproduction or any action taken in reliance upon this message is
prohibited. If you received this in error, please contact the
sender and delete the material from any computer.”
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>