You could try to enable the ”old” 1 ms-timer. It will be a little less efficient (a little more CPU load), and I’m not sure it helps, but it’s worth a try.

 

In switch.conf.xml (under autoload_configs), add this: <param name="1ms-timer" value="true"/> - within the settings-tags.

 

/Peter

 

Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Stephen Wilde
Skickat: den 26 mars 2012 16:20
Till: FreeSWITCH Users Help
Ämne: Re: [Freeswitch-users] Strange "timer_test" result

 

Thank you Peter for your reply!

I have already tried the upgrade to latest git, now I'm on FreeSWITCH Version 1.1.beta1 (git-c31a799 2012-03-24 14-11-49 -0700) and the result is the same.

I have tried with few load (during night) and in this case the timer_test is perfect.

Any suggestion?

 

 

On Mon, Mar 26, 2012 at 4:08 PM, Peter Olsson <peter.olsson@visionutveckling.se> wrote:

Yes, most likely.

 

It’s very strange though, that a machine like this gives so poor timing results.

 

The first thing I would do is to upgrade to latest GIT HEAD. A patch was commited about two weeks ago, that does the calculation for timer_test more properly (so time for logging is not calculated).

 

Have you tried to do the same test with no load at all?

 

/Peter

 

Från: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] För Stephen Wilde
Skickat: den 26 mars 2012 15:52
Till: FreeSWITCH Users Help
Ämne: Re: [Freeswitch-users] Strange "timer_test" result

 

Can this issue affect the voice quality?

 

On Fri, Mar 23, 2012 at 7:46 PM, Stephen Wilde <wstephen80@gmail.com> wrote:

Real hardware, a dedicate server with 2 Xeon X5670 (a total 24 core each one with 12Mb cache at 2.93GHz) that is running at 20% - 25% of load. OS is CentOS 5.7 64bit and FS is (git-0626c89 2012-02-29 14-45-39 -0600)

 

On Fri, Mar 23, 2012 at 6:33 PM, Brian Foster <bdfoster@endigotech.com> wrote:

Is this on virtualized or real hardware?

 

-BDF

On Fri, Mar 23, 2012 at 1:31 PM, Stephen Wilde <wstephen80@gmail.com> wrote:

I have run a "timer_test" in a dedicated FS server and I see strange result: it's normal?

 

Stephen

 

 

freeswitch@internal> timer_test 20 40

Avg: 19.866ms Total Time: 795.880ms

 

2012-03-23 18:25:54.157822 [CONSOLE] mod_commands.c:549 Timer Test: samplecount after init: 1

2012-03-23 18:25:54.178818 [CONSOLE] mod_commands.c:554 Timer Test: samplecount after first step: 2

2012-03-23 18:25:54.199833 [CONSOLE] mod_commands.c:563 Timer Test: 1 sleep 20 19568

2012-03-23 18:25:54.231890 [CONSOLE] mod_commands.c:563 Timer Test: 2 sleep 20 38231

2012-03-23 18:25:54.252816 [CONSOLE] mod_commands.c:563 Timer Test: 3 sleep 20 18847

2012-03-23 18:25:54.262818 [CONSOLE] mod_commands.c:563 Timer Test: 4 sleep 20 13982

2012-03-23 18:25:54.305813 [CONSOLE] mod_commands.c:563 Timer Test: 5 sleep 20 34793

2012-03-23 18:25:54.305813 [CONSOLE] mod_commands.c:563 Timer Test: 6 sleep 20 2

2012-03-23 18:25:54.326811 [CONSOLE] mod_commands.c:563 Timer Test: 7 sleep 20 23166

2012-03-23 18:25:54.347807 [CONSOLE] mod_commands.c:563 Timer Test: 8 sleep 20 16957

2012-03-23 18:25:54.357811 [CONSOLE] mod_commands.c:563 Timer Test: 9 sleep 20 17643

2012-03-23 18:25:54.378828 [CONSOLE] mod_commands.c:563 Timer Test: 10 sleep 20 18786

2012-03-23 18:25:54.399856 [CONSOLE] mod_commands.c:563 Timer Test: 11 sleep 20 25100

2012-03-23 18:25:54.420855 [CONSOLE] mod_commands.c:563 Timer Test: 12 sleep 20 18552

2012-03-23 18:25:54.441855 [CONSOLE] mod_commands.c:563 Timer Test: 13 sleep 20 18815

2012-03-23 18:25:54.462798 [CONSOLE] mod_commands.c:563 Timer Test: 14 sleep 20 19464

2012-03-23 18:25:54.484300 [CONSOLE] mod_commands.c:563 Timer Test: 15 sleep 20 22012

2012-03-23 18:25:54.494804 [CONSOLE] mod_commands.c:563 Timer Test: 16 sleep 20 13980

2012-03-23 18:25:54.515793 [CONSOLE] mod_commands.c:563 Timer Test: 17 sleep 20 19065

2012-03-23 18:25:54.556792 [CONSOLE] mod_commands.c:563 Timer Test: 18 sleep 20 39585

2012-03-23 18:25:54.556792 [CONSOLE] mod_commands.c:563 Timer Test: 19 sleep 20 2

2012-03-23 18:25:54.577790 [CONSOLE] mod_commands.c:563 Timer Test: 20 sleep 20 26255

2012-03-23 18:25:54.598790 [CONSOLE] mod_commands.c:563 Timer Test: 21 sleep 20 17872

2012-03-23 18:25:54.630794 [CONSOLE] mod_commands.c:563 Timer Test: 22 sleep 20 32191

2012-03-23 18:25:54.651790 [CONSOLE] mod_commands.c:563 Timer Test: 23 sleep 20 22634

2012-03-23 18:25:54.672788 [CONSOLE] mod_commands.c:563 Timer Test: 24 sleep 20 15483

2012-03-23 18:25:54.693783 [CONSOLE] mod_commands.c:563 Timer Test: 25 sleep 20 22813

2012-03-23 18:25:54.714783 [CONSOLE] mod_commands.c:563 Timer Test: 26 sleep 20 17099

2012-03-23 18:25:54.714783 [CONSOLE] mod_commands.c:563 Timer Test: 27 sleep 20 1

2012-03-23 18:25:54.734832 [CONSOLE] mod_commands.c:563 Timer Test: 28 sleep 20 29108

2012-03-23 18:25:54.755836 [CONSOLE] mod_commands.c:563 Timer Test: 29 sleep 20 11492

2012-03-23 18:25:54.776830 [CONSOLE] mod_commands.c:563 Timer Test: 30 sleep 20 20855

2012-03-23 18:25:54.808851 [CONSOLE] mod_commands.c:563 Timer Test: 31 sleep 20 32579

2012-03-23 18:25:54.818833 [CONSOLE] mod_commands.c:563 Timer Test: 32 sleep 20 18173

2012-03-23 18:25:54.850828 [CONSOLE] mod_commands.c:563 Timer Test: 33 sleep 20 22666

2012-03-23 18:25:54.871855 [CONSOLE] mod_commands.c:563 Timer Test: 34 sleep 20 23792

2012-03-23 18:25:54.892823 [CONSOLE] mod_commands.c:563 Timer Test: 35 sleep 20 26158

2012-03-23 18:25:54.913823 [CONSOLE] mod_commands.c:563 Timer Test: 36 sleep 20 13080

2012-03-23 18:25:54.934844 [CONSOLE] mod_commands.c:563 Timer Test: 37 sleep 20 24609

2012-03-23 18:25:54.934844 [CONSOLE] mod_commands.c:563 Timer Test: 38 sleep 20 1

2012-03-23 18:25:54.954766 [CONSOLE] mod_commands.c:563 Timer Test: 39 sleep 20 19413

2012-03-23 18:25:54.975764 [CONSOLE] mod_commands.c:563 Timer Test: 40 sleep 20 19820

freeswitch@internal> status

UP 0 years, 0 days, 16 hours, 10 minutes, 25 seconds, 539 milliseconds, 696 microseconds

FreeSWITCH is ready

955611 session(s) since startup

2192 session(s) 0/50

6000 session(s) max

min idle cpu 0.00/74.00

 

_________________________________________________________________________
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



 

--
Brian D. Foster
Endigo Computer LLC
Email: bdfoster@endigotech.com
Phone: 317-800-7876
Indianapolis, Indiana, USA

This message contains confidential information and is intended for those listed in the "To:", "CC:", and/or "BCC:" fields of the message header. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version.


_________________________________________________________________________
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

 

!DSPAM:4f7079c632761636018988!