[Freeswitch-users] Huge CPU LOAD increase between 1.4.12 and 1.4.14

Tristan Mahé t.mahe at b-and-c.net
Tue Dec 9 02:28:33 MSK 2014


thanks Anthony, FS-7066 created with the content of the email.

Will try this patch on our test server with a little flow of trafic as
soon as I have the chance !

Le 08/12/2014 15:02, Anthony Minessale a écrit :
> This should have been in JIRA... Drop the mentality that you have to
> make a case first to open a JIRA.
> The actual process should be, if its any question about how FS works, if
> you are right or wrong about it, file it as a JIRA.  If its wrong we can
> just close it........
> 
> If you want to send one email on the list to get some attention to your
> jira for discussion its ok but really you want to have the entire thing
> preserved there.
> 
> 
> I pushed a patch (4bcf1d888a4629993923527c26d4dbc6dae5d470) that might
> be related to your problem but now I have to wing it and use email where
> I get 200 emails a day and there is no tracking at all in email when it
> comes to issues so you put more resources on me to try to remember to
> look for your reply when we have a perfectly valid issue tracker system
> in place.....
> 
> 
> If master works better, good, if not, try 
> 
> git checkout 878a04715ae801ccd9587249240f5a6e4f16dd0e src/switch_time.c
>  and make install_core
> 
> All of this should be transposed back to JIRA by one of you.....
> 
> 
> 
> 
> On Mon, Dec 8, 2014 at 4:48 PM, Tristan Mahé <t.mahe at b-and-c.net
> <mailto:t.mahe at b-and-c.net>> wrote:
> 
>     Still on it, but I have some servers deployed without rtp-timer-name set
>     to soft ( blocking read is something I'd like to avoid, but needs to
>     find out what changed in FS code and also find out the impact on our
>     users ), and so far they have load avg divided by 10 with the same
>     amount of calls and the same trafic as those with rtp-timer-name to
>     soft.
> 
>     Had no issue with 1.4.12 as said previously, but 1.4.14 has some
>     interesting fixes that justify staying in production.
> 
>     Le 08/12/2014 14:33, Dmitry Sytchev a écrit :
>     > So, have you solved your problem? Did you change rtp-timer-name?
>     > After we moved to 64-bit system, 1.4 branch shows huge LA spikes up to
>     > 35 on 4-core (or 4 single core virtual processor) with only 200-300
>     > concurrent channels and very low CPS (1-5).  On the same call load LA of
>     > 1.2 server is significantly lower.
>     > Setting 1.4 64bit to normal priority with -np helps to lower LA, but not
>     > completely solves a problem.
>     > It shows very big values in "ni" top fields (20-30%), but changing nice
>     > value of FS process to zero or positive value doesn't help.
>     >
>     >
>     >
>     >
>     > 2014-12-09 2:23 GMT+04:00 Tristan Mahé <t.mahe at b-and-c.net <mailto:t.mahe at b-and-c.net>
>     > <mailto:t.mahe at b-and-c.net <mailto:t.mahe at b-and-c.net>>>:
>     >
>     >     Hi everyone,
>     >
>     >     Just a little followup, this is caused by <param
>     name="rtp-timer-name"
>     >     value="soft"/> in a sip_profile. Happens on baremetal servers
>     as well as
>     >     Xen guest.
>     >
>     >     Still investigating on the exact root of this behaviour
>     change, but at
>     >     least now we know what is causing the trouble.
>     >
>     >     Best,
>     >
>     >     Tristan.
>     >
>     >     Le 05/12/2014 19:46, Tristan Mahé a écrit :
>     >     > Hi guys,
>     >     >
>     >     > While trying to find out the root cause of this, I just want to
>     >     know if
>     >     > someone is also seeing a huge cpu load with freeswitch 1.4.14,
>     >     which was
>     >     > not present in 1.4.12.
>     >     >
>     >     > OS is debian wheezy, packages are official ones.
>     >     >
>     >     > Same config, same trafic pattern, just an upgrade from
>     1.4.12 ( no
>     >     other
>     >     > packages updated ).
>     >     >
>     >     > We were previously seeing load around 0.5, with pikes up to
>     around 2.
>     >     >
>     >     > We now are seeing a constant load of around 2, and pikes up
>     to 20...
>     >     >
>     >     > If someone is also seeing this, that would be interesting to
>     exchange,
>     >     > helping find out what is causing this !
>     >     >
>     >     > I'll file a jira once I find the root of this problem ( and no,
>     >     this is
>     >     > production servers, we can't put master there, we need stable ).
>     >     >
>     >     > Best,
>     >     >
>     >     >
>     >     >
>     >     >
>     >   
>      _________________________________________________________________________
>     >     > Professional FreeSWITCH Consulting Services:
>     >     > consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     <mailto:consulting at freeswitch.org <mailto:consulting at freeswitch.org>>
>     >     > http://www.freeswitchsolutions.com
>     >     >
>     >     > Official FreeSWITCH Sites
>     >     > http://www.freeswitch.org
>     >     > http://confluence.freeswitch.org
>     >     > http://www.cluecon.com
>     >     >
>     >     > FreeSWITCH-users mailing list
>     >     > FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     >     <mailto:FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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 <mailto:consulting at freeswitch.org>
>     <mailto:consulting at freeswitch.org <mailto:consulting at freeswitch.org>>
>     >     http://www.freeswitchsolutions.com
>     >
>     >     Official FreeSWITCH Sites
>     >     http://www.freeswitch.org
>     >     http://confluence.freeswitch.org
>     >     http://www.cluecon.com
>     >
>     >     FreeSWITCH-users mailing list
>     >     FreeSWITCH-users at lists.freeswitch.org
>     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>     >     <mailto:FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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
>     >
>     >
>     >
>     >
>     > --
>     > Best regards,
>     >
>     > Dmitry Sytchev,
>     > IT Engineer
>     >
>     >
>     >
>     _________________________________________________________________________
>     > Professional FreeSWITCH Consulting Services:
>     > consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     > http://www.freeswitchsolutions.com
>     >
>     > Official FreeSWITCH Sites
>     > http://www.freeswitch.org
>     > http://confluence.freeswitch.org
>     > http://www.cluecon.com
>     >
>     > FreeSWITCH-users mailing list
>     > FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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 <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
> 
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://confluence.freeswitch.org
>     http://www.cluecon.com
> 
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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       ♬ @anthmfs  ♬ @FreeSWITCH  ♬
> 
>http://freeswitch.org/http://cluecon.com/> http://twitter.com/FreeSWITCH
> ☞ irc.freenode.net <http://irc.freenode.net> #freeswitch ☞
> _http://freeswitch.org/g+_
> 
> ClueCon Weekly Development Call 
> ☎ sip:888 at conference.freeswitch.org
> <mailto:sip%3A888 at conference.freeswitch.org>  ☎ +19193869900 
> 
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20141208/579c5891/attachment.bin 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list