Really interesting finding. From my point of view, it is a good thing. Having spike in cpu load will harm voice quality for sure, but it can hurts if you are relaying on prompt write of cdr records.<div><br></div><div>What cdr backend are you using? Maybe the constant speed you see is the maximal write speed the backend can receive.<br>
<div><br></div><div>A silly question ... have you reloaded the cdr module once made the changes?</div><div><br></div><div>Leandro<br><br><div class="gmail_quote">2012/3/2 [Digital^Dude] ® <span dir="ltr"><<a href="mailto:millennium.bug@gmail.com">millennium.bug@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font face="trebuchet ms,sans-serif">I've tried with batch enabled as well as disabled, it seems irrespective of the call burst I send to asterisk. CDR writes at a constant speed, not changing with the call load! <br>
</font><br>
<div class="gmail_quote"><div><div class="h5">On Fri, Mar 2, 2012 at 12:20 PM, Leandro Dardini <span dir="ltr"><<a href="mailto:ldardini@gmail.com" target="_blank">ldardini@gmail.com</a>></span> wrote:<br></div></div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<p>Asterisk can cache cdr records to avoid having to write continuosly in the cdr backend. Writing in bunch instead one at once improves performance. Check the cdr.conf file and disable the option "batch" if it hurts you.</p>
<p>Leandro</p>
<div class="gmail_quote">Il giorno 02/mar/2012 07:24, "[Digital^Dude] ®" <<a href="mailto:millennium.bug@gmail.com" target="_blank">millennium.bug@gmail.com</a>> ha scritto:<br type="attribution"></div>
<br></div></div><span class="HOEnZb"><font color="#888888">--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></font></span></blockquote></div><br>
<br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br></div></div>