[Freeswitch-users] best freeswitch timer

Ken Rice krice at freeswitch.org
Wed Feb 13 03:36:48 MSK 2013


<SNIP> we don¹t need all the previous messages on this thread

What you need to know is that if you are using a kernel with timerfd support
you do not need to do anything to use it, the Core will figure it out
automagically and use it. This means main line kernels 2.6.22 and later and
you are good to go.

Doing a show timer on your FS console will reveal something like this...
This is showing us the CORE_SOFTTIME_MODULE is being used for timing. The
Core Timer uses timerfd

freeswitch at devnode>show timer

type,name,ikey
timer,soft,CORE_SOFTTIMER_MODULE

1 total.

If your kernel does not have timerfd support, then the old core soft timer
is used... 

I¹ll look at a small patch so you can know for sure, but, if your kernel
supports timerfd and you see CORE_SOFTTIMER_MODULE as the timer, you are
using timerfd

K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130212/59e85f40/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list