[Freeswitch-users] best freeswitch timer

covici at ccs.covici.com covici at ccs.covici.com
Wed Feb 13 05:07:57 MSK 2013


Never mind, I already seem to have the correct show timer -- just a
brain far.

covici at ccs.covici.com wrote:

> Mine says timer_soft instead of what you have -- I have certainly a
> recent kernel, how do I get timerfb going?
> 
> Ken Rice <krice at freeswitch.org> wrote:
> 
> > <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
> > 
> > ----------------------------------------------------
> > Alternatives:
> > 
> > ----------------------------------------------------
> > _________________________________________________________________________
> > Professional FreeSWITCH Consulting Services:
> > consulting at freeswitch.org
> > http://www.freeswitchsolutions.com
> > 
> > 
> > 
> > 
> > Official FreeSWITCH Sites
> > http://www.freeswitch.org
> > http://wiki.freeswitch.org
> > http://www.cluecon.com
> > 
> > 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
> 
> -- 
> Your life is like a penny.  You're going to lose it.  The question is:
> How do
> you spend it?
> 
>          John Covici
>          covici at ccs.covici.com
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> 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

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici at ccs.covici.com



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