<p dir="ltr">Ahh great I like the pre/post script idea of bm module. Will look at it in the morning. Thanks Daniel.</p>
<p dir="ltr">By the way, is there any work/ideas on trying to get the core less affected by delays in cfg processing and hogging sip workers. Would be cool to put a task team to formulate some ideas and work on something?</p>

<p dir="ltr">Cheers<br>
Jason</p>
<p dir="ltr">--<br>
This email was sent using my phone and may be brief, to the point or contain typos<br>
--</p>
<div class="gmail_quote">On Sep 26, 2012 6:04 PM, &quot;Daniel-Constantin Mierla&quot; &lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
On 9/26/12 2:15 PM, Jason Penton wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hey Guys,<br>
<br>
Does anyone know of a stat that indicates load in Kamailio. Here I am specifically looking to see how loaded my children are, whether they be UDP, TCP or SCTP, etc. A cool stat would be something like in the last t seconds children were busy 95% of the time on average., etc. Having a look at the udp receover code we could just time the processing loop for each process. I&#39;m sure this would be similar for TCP/SCTP.<br>

<br>
Any stats like this already exist? or should I go ahead?<br>
</blockquote>
not sure what kind of operations you put there, but it might not be the best place to put it in the core.<br>
<br>
First check the benchmark module, it can get the duration of executing the configuration file, by using some functions to start and end measurement (e.g, use at start of request_route and before exit). You can extend the module to do it more automatically, by registering pre/post-script callbacks.<br>

<br>
Cheers,<br>
Daniel<br>
<br>
-- <br>
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a><br>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/<u></u>miconda</a><br>
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a><br>
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - <a href="http://asipto.com/u/katu" target="_blank">http://asipto.com/u/katu</a><br>
<br>
</blockquote></div>