[Freeswitch-users] best freeswitch timer

cmrienzo at gmail.com cmrienzo at gmail.com
Tue Feb 12 21:25:43 MSK 2013


timerfd syscalls are automatically used by the default timer if your kernel supports it so mod_timerfd isn't necessary anymore. 

mod_posix_timer might give you better performance on old kernels that don't support timerfd. 

Chris


On Feb 12, 2013, at 12:27 PM, François Delawarde <fdelawarde at wirelessmundi.com> wrote:

> Thanks, that's what I wanted to know. I did a few tests a while back
> using timerfd on micro-servers, but didn't notice any difference at all
> (with my scenarios).
> 
> Out of curiosity, why is timerfd even in the source? Is there a specific
> use-case where it could perform better (embedded system, ...)?
> 
> François.
> 
> 
> 
> On Tue, 2013-02-12 at 10:21 -0600, Ken Rice 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 at 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 at freeswitch.org
>> http://www.freeswitchsolutions.com
>> 
>> FreeSW
>>> ITCH-powered IP PBX: The CudaTel Communication
>>> Server
>> 
>> 
>> 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/opt
>>> ions/freeswitch-users
>> http://www.freeswitch.org
> 
> 
> 
> _________________________________________________________________________
> 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



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