<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Then it would be recommended to not do tickless clock :P<div><br></div><div>/b</div><div><br><div><div>On Apr 30, 2009, at 1:28 PM, PaweÅ‚ PierÅ›cionek wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br> &nbsp;With really old kernels (100Hz) if You do sleep(1ms) &nbsp;You sleep for &nbsp;<br>10ms on average.<br> &nbsp;With enterprise kernels (250Hz) Your sleep resolution increases by a &nbsp;<br>factor of 4.<br> &nbsp;With fresh kernels (1000Hz) You get real 1ms timer resolution - &nbsp;<br>10fold increase compared to old kernels.<br><br> &nbsp;With tickless You get whatever resolution You want - eg when You &nbsp;<br>sleep for 100 microseconds(micro not mili) then You get exactly what &nbsp;<br>You wish for.<br><br> &nbsp;Now for reasons I do no try to understand :) there are a lot of &nbsp;<br>really short sleeps and fast timers in FreeSwitch - like 100 &nbsp;<br>micro(1/10th of a ms).<br> &nbsp;So with CentOS such a 100 microsecond sleep cannot "fire" faster &nbsp;<br>then 250 times a second.<br> &nbsp;With tickless kernel same 100 microsecond sleep "fires" 10k times a &nbsp;<br>second.<br><br>Pawel,<br><br>_______________________________________________<br>Freeswitch-users mailing list<br><a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org<br></div></blockquote></div><br><div apple-content-edited="true"> <span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Brian West</div><div><a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a></div><div><br></div></div></span>-- Meet us at ClueCon! &nbsp;<a href="http://www.cluecon.com/">http://www.cluecon.com</a><br><div><br></div></div></span><br class="Apple-interchange-newline"></div></span><br class="Apple-interchange-newline"> </div><br></div></body></html>