http://www.kernel.org/doc/man-pages/online/pages/man2/timerfd_create.2.html

"These system calls are available on Linux since kernel 2.6.25.  Library
support is provided by glibc since version 2.8."





On 13 February 2013 18:40, Ken Rice <krice@freeswitch.org> wrote:
Hey Kris,

Do you know the version of glibc where they added that in?


On 2/13/13 12:16 PM, "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
>>
>
>

--
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