[Freeswitch-users] FreeSWITCH under the Linux 2.6.29 kernel

Brian West brian at freeswitch.org
Thu Apr 30 11:36:56 PDT 2009


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 at 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 at freeswitch.org

-- Meet us at ClueCon!  http://www.cluecon.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090430/9b0eacd4/attachment-0002.html 


More information about the FreeSWITCH-users mailing list