[Freeswitch-users] Strange "timer_test" result

Stephen Wilde wstephen80 at gmail.com
Wed Mar 28 17:31:34 MSD 2012


I have tried:

1. <param name="enable-clock-nanosleep" value="false"/>
2. "heavy-timer" cmd line param
3. 1+2

In all cases, when the load is high (30% cpu), the test_timer result shows
very irregular timings.

Now I have started FS with mod_posix_timer and until now it works fine and
also the test_timer result is acceptable:

http://pastebin.freeswitch.org/18763

so for me the solution is the mod_posix_timer.

Now I'm trying to install a CentOS 6 server to use timerfd.

Stephen


On Tue, Mar 27, 2012 at 11:03 PM, Anthony Minessale <
anthony.minessale at gmail.com> wrote:

> I provided you with a list, did you cross them all off?
>
>
> On Tue, Mar 27, 2012 at 4:00 PM, Stephen Wilde <wstephen80 at gmail.com>
> wrote:
> > Ok, thank you, I'll do a try with latest release.
> > It remains my doubt on the result of timer_test with 10ms that is ok
> where
> > the result with 20ms is not ok: there is an explanation?
> >
> > Stephen
> >
> > On Tue, Mar 27, 2012 at 10:52 PM, <cmrienzo at gmail.com> wrote:
> >>
> >> No big deal.  I fixed a few issues a while back, so maybe your problem
> is
> >> resolved.  Check the revision history to see if the changes happened
> after
> >> your crash.
> >>
> >>
> >>
> >>
> >> On Mar 27, 2012, at 14:24, Stephen Wilde <wstephen80 at gmail.com> wrote:
> >>
> >> The core dump was pretty unusable (stack corrupted) so I had some
> >> difficult to report to jira a useful info.
> >>
> >> On Tue, Mar 27, 2012 at 7:14 PM, Christopher Rienzo <cmrienzo at gmail.com
> >
> >> wrote:
> >>>
> >>> Please report crashes in jira, otherwise they'll never get fixed.
> >>>
> >>>
> >>>
> >>> On Tue, Mar 27, 2012 at 12:34 PM, Stephen Wilde <wstephen80 at gmail.com>
> >>> wrote:
> >>>>
> >>>> I have tried to use mod_posix_timer but with this timer I had some FS
> >>>> crashes (segmentation fault) with core dump so I'm moved back to soft
> >>>> timers.
> >>>>
> >>>> Stephen
> >>>>
> >>>> On Tue, Mar 27, 2012 at 6:28 PM, Christopher Rienzo <
> cmrienzo at gmail.com>
> >>>> wrote:
> >>>>>
> >>>>> You can also try mod_posix_timer if you have it built.  My CentOS 5.4
> >>>>> server performs better under load using it with heavy-timer vs using
> the
> >>>>> default timer.
> >>>>>
> >>>>> "timer_test 20 50 posix"
> >>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> On Tue, Mar 27, 2012 at 12:07 PM, Stephen Wilde <
> wstephen80 at gmail.com>
> >>>>> wrote:
> >>>>>>
> >>>>>> Ok, I'll try disabling the nanosleep.
> >>>>>>
> >>>>>> In server.2 the current load of the box is 35% and after FreeSwitch
> >>>>>> (at 750% of cpu), in top there is Sangoma Transcoding server (4% of
> cpu).
> >>>>>>
> >>>>>>
> >>>>>> The result of "timer_test 20 50" is:
> >>>>>>
> >>>>>> http://pastebin.freeswitch.org/18756
> >>>>>>
> >>>>>>
> >>>>>> Here the result of "timer_test 10 50" :
> >>>>>>
> >>>>>> http://pastebin.freeswitch.org/18757
> >>>>>>
> >>>>>> It's normal that only the timer_test on 20 is bad where 10ms is good
> >>>>>> and also is good 40,60,120?:
> >>>>>>
> >>>>>> Stephen
> >>>>>>
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> _________________________________________________________________________
> >>>>> 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
> >>>>>
> >>>>
> >>>>
> >>>>
> >>>>
> _________________________________________________________________________
> >>>> 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
> >>>>
> >>>
> >>>
> >>>
> _________________________________________________________________________
> >>> 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
> >>>
> >>
> >>
> _________________________________________________________________________
> >> 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
> >>
> >>
> >>
> _________________________________________________________________________
> >> 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
> >>
> >
> >
> > _________________________________________________________________________
> > 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
> >
>
>
>
> --
> Anthony Minessale II
>
> FreeSWITCH http://www.freeswitch.org/
> ClueCon http://www.cluecon.com/
> Twitter: http://twitter.com/FreeSWITCH_wire
>
> AIM: anthm
> MSN:anthony_minessale at hotmail.com
> GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
> IRC: irc.freenode.net #freeswitch
>
> FreeSWITCH Developer Conference
> sip:888 at conference.freeswitch.org
> googletalk:conf+888 at conference.freeswitch.org
> pstn:+19193869900
>
> _________________________________________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120328/dfd4169c/attachment-0001.html 


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