high cpu utilization
Hi Guys, This one has me a little baffled. If have a recent build (in the last week) of FS installed on two near identical HP servers. One happily runs 400 concurrent calls at around 50% CPU. The other can only run around 50 calls without the CPU going to 98%. Identical configs and lua script. Only diff is that the server having problems is running latest centos 64bit, where the other is 32bit. Any suggestions of where I might start looking? Regards,
Is this possibly an issue to do with a newer tickless kernel? see http://www.nabble.com/FreeSWITCH-under-the-Linux-2.6.29-kernel-td23248559.ht... Tony On Thu, Jun 18, 2009 at 3:54 PM, Nik Middleton < nik.middleton@noblesolutions.co.uk> wrote:
Hi Guys,
This one has me a little baffled. If have a recent build (in the last week) of FS installed on two near identical HP servers. One happily runs 400 concurrent calls at around 50% CPU. The other can only run around 50 calls without the CPU going to 98%. Identical configs and lua script.
Only diff is that the server having problems is running latest centos 64bit, where the other is 32bit. Any suggestions of where I might start looking?
Regards,
_______________________________________________ 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
I'm running Linux 2.6.18-128.1.10.el5PAE on i686 on the server, so sadly I don't think that's the issue Regards, ________________________________ From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Anthony Knight Sent: 18 June 2009 21:31 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] high cpu utilization Is this possibly an issue to do with a newer tickless kernel? see http://www.nabble.com/FreeSWITCH-under-the-Linux-2.6.29-kernel-td2324855 9.html Tony On Thu, Jun 18, 2009 at 3:54 PM, Nik Middleton <nik.middleton@noblesolutions.co.uk> wrote: Hi Guys, This one has me a little baffled. If have a recent build (in the last week) of FS installed on two near identical HP servers. One happily runs 400 concurrent calls at around 50% CPU. The other can only run around 50 calls without the CPU going to 98%. Identical configs and lua script. Only diff is that the server having problems is running latest centos 64bit, where the other is 32bit. Any suggestions of where I might start looking? Regards, _______________________________________________ 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
use top -H to get the per-thread cpu usage. see if any one thread is using more than the rest. then get a gcore of the running process and do a thread apply all bt and get a bt from the thread with the matching id. Maybe that will tell you what is doing all the work. On Fri, Jun 19, 2009 at 3:23 AM, Nik Middleton < nik.middleton@noblesolutions.co.uk> wrote:
I’m running Linux 2.6.18-128.1.10.el5PAE on i686 on the server, so sadly I don’t think that’s the issue
Regards,
------------------------------
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Anthony Knight *Sent:* 18 June 2009 21:31 *To:* freeswitch-users@lists.freeswitch.org *Subject:* Re: [Freeswitch-users] high cpu utilization
Is this possibly an issue to do with a newer tickless kernel?
see http://www.nabble.com/FreeSWITCH-under-the-Linux-2.6.29-kernel-td23248559.ht...
Tony
On Thu, Jun 18, 2009 at 3:54 PM, Nik Middleton < nik.middleton@noblesolutions.co.uk> wrote:
Hi Guys,
This one has me a little baffled. If have a recent build (in the last week) of FS installed on two near identical HP servers. One happily runs 400 concurrent calls at around 50% CPU. The other can only run around 50 calls without the CPU going to 98%. Identical configs and lua script.
Only diff is that the server having problems is running latest centos 64bit, where the other is 32bit. Any suggestions of where I might start looking?
Regards,
_______________________________________________ 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
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400
On Fri, Jun 19, 2009 at 2:23 AM, Nik Middleton<nik.middleton@noblesolutions.co.uk> wrote:
I’m running Linux 2.6.18-128.1.10.el5PAE on i686 on the server, so sadly I don’t think that’s the issue
I could be wrong, but I think PAE is a 32-bit kernel adapted for hardware with >4GB RAM. This can create a lot of overhead compared to running a true 64-bit kernel or a 32-bit kernel without PAE. Confirm this with 'uname -a' db
You are indeed correct, it's the 64bit server that performs well, not the 32bit PAE version. I'm hoping that's the cause. I need to dig around and find out if it's possible to change the kernel remotely and see it sorts the issue. Ultimately I'll update it to 64 bit anyway, but that's a 500 mile trek. Regards, -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of David Burgess Sent: 19 June 2009 16:20 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] high cpu utilization On Fri, Jun 19, 2009 at 2:23 AM, Nik Middleton<nik.middleton@noblesolutions.co.uk> wrote:
I'm running Linux 2.6.18-128.1.10.el5PAE on i686 on the server, so sadly I don't think that's the issue
I could be wrong, but I think PAE is a 32-bit kernel adapted for hardware with >4GB RAM. This can create a lot of overhead compared to running a true 64-bit kernel or a 32-bit kernel without PAE. Confirm this with 'uname -a' db _______________________________________________ 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
On Fri, Jun 19, 2009 at 2:19 PM, Nik Middleton<nik.middleton@noblesolutions.co.uk> wrote:
You are indeed correct, it's the 64bit server that performs well, not the 32bit PAE version. I'm hoping that's the cause. I need to dig around and find out if it's possible to change the kernel remotely and see it sorts the issue. Ultimately I'll update it to 64 bit anyway, but that's a 500 mile trek.
I don't think it's as simple as changing the kernel. My understanding is that when you change arch you are reinstalling the system. Given that 32-bit binaries and libs generally will run in a 64-bit environment though, there may be a way to swing it. I'm not sure how you would determine whether that were really your problem. No question a PAE kernel does create overhead though, in some situations more than others. db
participants (4)
-
Anthony Knight
-
Anthony Minessale
-
David Burgess
-
Nik Middleton