Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] high cpu utilization


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
nik.middleton at noble...
Guest





PostPosted: Thu Jun 18, 2009 2:56 pm    Post subject: [Freeswitch-users] high cpu utilization Reply with quote

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,
Back to top
tntknight at gmail.com
Guest





PostPosted: Thu Jun 18, 2009 3:34 pm    Post subject: [Freeswitch-users] high cpu utilization Reply with quote

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.html


Tony

On Thu, Jun 18, 2009 at 3:54 PM, Nik Middleton <nik.middleton@noblesolutions.co.uk (nik.middleton@noblesolutions.co.uk)> wrote:
Quote:

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 (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

Back to top
nik.middleton at noble...
Guest





PostPosted: Fri Jun 19, 2009 3:25 am    Post subject: [Freeswitch-users] high cpu utilization Reply with quote

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.html


Tony
On Thu, Jun 18, 2009 at 3:54 PM, Nik Middleton <nik.middleton@noblesolutions.co.uk (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 (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
Back to top
anthony.minessale at g...
Guest





PostPosted: Fri Jun 19, 2009 9:55 am    Post subject: [Freeswitch-users] high cpu utilization Reply with quote

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 (nik.middleton@noblesolutions.co.uk)> wrote:
Quote:

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 (freeswitch-users-bounces@lists.freeswitch.org) [mailto:freeswitch-users-bounces@lists.freeswitch.org (freeswitch-users-bounces@lists.freeswitch.org)] On Behalf Of Anthony Knight
Sent: 18 June 2009 21:31
To: freeswitch-users@lists.freeswitch.org (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.html
 

Tony
On Thu, Jun 18, 2009 at 3:54 PM, Nik Middleton <nik.middleton@noblesolutions.co.uk (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 (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 (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 ([email]MSN%3Aanthony_minessale@hotmail.com[/email])
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com ([email]PAYPAL%3Aanthony.minessale@gmail.com[/email])
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org ([email]sip%3A888@conference.freeswitch.org[/email])
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org ([email]googletalk%3Aconf%2B888@conference.freeswitch.org[/email])
pstn:213-799-1400
Back to top
apt.get at gmail.com
Guest





PostPosted: Fri Jun 19, 2009 10:20 am    Post subject: [Freeswitch-users] high cpu utilization Reply with quote

On Fri, Jun 19, 2009 at 2:23 AM, Nik
Middleton<nik.middleton@noblesolutions.co.uk> wrote:
Quote:
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
Back to top
nik.middleton at noble...
Guest





PostPosted: Fri Jun 19, 2009 3:20 pm    Post subject: [Freeswitch-users] high cpu utilization Reply with quote

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:
Quote:
I'm running Linux 2.6.18-128.1.10.el5PAE on i686 on the server, so
sadly I
Quote:
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

_______________________________________________
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
Back to top
apt.get at gmail.com
Guest





PostPosted: Fri Jun 19, 2009 4:10 pm    Post subject: [Freeswitch-users] high cpu utilization Reply with quote

On Fri, Jun 19, 2009 at 2:19 PM, Nik
Middleton<nik.middleton@noblesolutions.co.uk> wrote:
Quote:
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

_______________________________________________
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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services