Then it would be recommended to not do tickless clock :P /b On Apr 30, 2009, at 1:28 PM, Paweł Pierścionek wrote:
Hi,
With really old kernels (100Hz) if You do sleep(1ms) You sleep for 10ms on average. With enterprise kernels (250Hz) Your sleep resolution increases by a factor of 4. With fresh kernels (1000Hz) You get real 1ms timer resolution - 10fold increase compared to old kernels.
With tickless You get whatever resolution You want - eg when You sleep for 100 microseconds(micro not mili) then You get exactly what You wish for.
Now for reasons I do no try to understand :) there are a lot of really short sleeps and fast timers in FreeSwitch - like 100 micro(1/10th of a ms). So with CentOS such a 100 microsecond sleep cannot "fire" faster then 250 times a second. With tickless kernel same 100 microsecond sleep "fires" 10k times a second.
Pawel,
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Brian West brian@freeswitch.org -- Meet us at ClueCon! http://www.cluecon.com