13 Feb
2013
13 Feb
'13
6:23 p.m.
+1 Debian Lenny had timerfd in the kernel but not in glibc. There's an option --enable-timerfd-wrapper for such systems since there timerfd can be used via syscall. Squeeze and newer have it in both (so no need for the wrapper). -Steve On 13 February 2013 18:16, Kristian Kielhofner <kris@kriskinc.com> wrote: > Keep in mind you also need a recent glibc that supports timerfd. > > On Wed, Feb 13, 2013 at 9:55 AM, Ken Rice <krice@freeswitch.org> wrote: > > Actually it defaults to using timerfd if its enabled in your kernel.... > > There should be no debate on that, I reviewed that code with tony... > > > > If you don’t have a timerfd enabled kernel it uses the old default soft > > timer... No you cant tell the difference in there currently with just a > show > > timer command, however that’s likely to change... > > > > Are you running like centos6 or debian squeeze with a stock kernel? Then > you > > likely have timerfd and are using it unless you changed the configs to do > > something else... > > > > Theres always a lot of debate around this, but the fact is, unless you > are > > seeing crappy audio issues, you probably shouldn’t mess with the timers > > > > > > > > > > On 2/13/13 4:31 AM, "Steven Ayre" <steveayre@gmail.com> wrote: > > > > 'show timer' shows all loaded timer modules. That shows none are loaded. > > > > CORE_SOFTTIMER_MODULE is the soft timer built into the FS core... it may > or > > may not use timerfd, depending on your system. > > > > You pick which timer to actually use in your configuration files... for > > example the rtp-timer-name Sofia profile param. > > > > Use the timer_test command to see which timer actually works best for you > > (ie most accurate, least jitter). > > http://wiki.freeswitch.org/wiki/Mod_commands#timer_test > > > > -Steve > > > > > > > > On 12 February 2013 22:48, jay binks <jaybinks@gmail.com> wrote: > > > > so does : > > > > freeswitch@default> show timer > > type,name,ikey > > timer,soft,CORE_SOFTTIMER_MODULE > > > > 1 total. > > > > on FreeSWITCH Version 1.2.6+git~20130104T154559Z~a4247651ca (git > > a424765 2013-01-04 15:45:59Z) > > > > indicate it will be using timerfd calls or is this the old softtimer ? > > > > On 13 February 2013 02:21, Ken Rice <krice@freeswitch.org> wrote: > >> The default one is the best one on linux with kernels starting around > >> 2.6.32... Anything after that and you are good to go... > >> > >> The other timers are left around for other platforms > >> > >> K > >> > >> > >> > >> On 2/12/13 10:04 AM, "François Delawarde" <fdelawarde@wirelessmundi.com > > > >> wrote: > >> > >>> Hello, > >> > >> Could someone knowing the different FS timers clarify the > >>> difference > >> between those: > >> > >> - default core softtimer > >> - core heavy timer (does > >>> this option still exists?) > >> - posix timer > >> - timerfd > >> > >> Can any of those provide a > >>> significant performance improvement, or is it > >> just not worth switching from > >>> the default? > >> > >> In any case, which one would be the recommended/best one under > >>> Linux > >> with a relatively recent kernel > >>> (>3.0)? > >> > >> Thanks, > >> François. > >> > >> > >> > >> ________________________________________________ > >>> _________________________ > >> Professional FreeSWITCH Consulting > >>> Services: > >> consulting@freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> FreeSW > >>> ITCH-powered IP PBX: The CudaTel Communication > >>> Server > >> http://www.cudatel.com > >> > >> Official FreeSWITCH > >>> Sites > >> http://www.freeswitch.org > >> http://wiki.freeswitch.org > >> http://www.cluecon. > >>> com > >> > >> FreeSWITCH-users mailing > >>> list > >> FreeSWITCH-users@lists.freeswitch.org > >> http://lists.freeswitch.org/mailman > >>> /listinfo/freeswitch-users > >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/opt > >>> ions/freeswitch-users > >> http://www.freeswitch.org > >> > >> > >> -- > >> Ken > >> http://www.FreeSWITCH.org > >> http://www.ClueCon.com > >> http://www.OSTAG.org > >> irc.freenode.net <http://irc.freenode.net> #freeswitch > > > >> > >> > >> > >> > _________________________________________________________________________ > >> Professional FreeSWITCH Consulting Services: > >> consulting@freeswitch.org > >> http://www.freeswitchsolutions.com > >> > >> FreeSWITCH-powered IP PBX: The CudaTel Communication Server > >> http://www.cudatel.com > >> > >> Official FreeSWITCH Sites > >> http://www.freeswitch.org > >> http://wiki.freeswitch.org > >> http://www.cluecon.com > >> > >> 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 > > > > > > > > -- > > Sincerely > > > > Jay > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting@freeswitch.org > > http://www.freeswitchsolutions.com > > > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > > http://www.cudatel.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://wiki.freeswitch.org > > http://www.cluecon.com > > > > 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 > > > > > > > > ________________________________ > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting@freeswitch.org > > http://www.freeswitchsolutions.com > > > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > > http://www.cudatel.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://wiki.freeswitch.org > > http://www.cluecon.com > > > > 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 > > > > > > -- > > Ken > > http://www.FreeSWITCH.org > > http://www.ClueCon.com > > http://www.OSTAG.org > > irc.freenode.net #freeswitch > > > > _________________________________________________________________________ > > Professional FreeSWITCH Consulting Services: > > consulting@freeswitch.org > > http://www.freeswitchsolutions.com > > > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > > http://www.cudatel.com > > > > Official FreeSWITCH Sites > > http://www.freeswitch.org > > http://wiki.freeswitch.org > > http://www.cluecon.com > > > > 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 > > > > > > -- > Kristian Kielhofner > > _________________________________________________________________________ > Professional FreeSWITCH Consulting Services: > consulting@freeswitch.org > http://www.freeswitchsolutions.com > > FreeSWITCH-powered IP PBX: The CudaTel Communication Server > http://www.cudatel.com > > Official FreeSWITCH Sites > http://www.freeswitch.org > http://wiki.freeswitch.org > http://www.cluecon.com > > 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 >