LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-15-2012, 02:17 PM   #1
aalinare
LQ Newbie
 
Registered: Jul 2012
Posts: 12

Rep: Reputation: Disabled
RHEL 6 and its CPU utilization


Greetings...please let me know if I am posting to the wrong forum.

I have an RHEL 6.1 server, with 32GB Ram, 24 CPUs

I am running an inhouse developed application, and while the application works...its running very slow.

Looking at System Monitor, I can see that minimal RAM is being used...but that all the CPUs arent being used effeciently. By that I will see that one , two or three CPUs might be at 50% -99% utilization while the rest are at 0%. I will see that at certain points the other CPUs will start processing some of the work, but will never see more than a couple of the CPUs kick in to start working. Just wondering if there was a way to get more of the CPUs to kick in and help out with the processing...ie to see all the CPUs processing something

Thanks for any suggestions.
 
Old 08-15-2012, 05:49 PM   #2
kakaka
Member
 
Registered: Sep 2003
Posts: 382

Rep: Reputation: 86
You might actually have some general problem in your system, that you would need to handle.

But if you want to try to coax the application to use a particular CPU, you can learn how, by executing from a command prompt, a command such as:

Code:
apropos affinity

or if you don't have the apropos command, you should be able to do this:


Code:
man -k affinity
 
Old 08-15-2012, 08:07 PM   #3
aalinare
LQ Newbie
 
Registered: Jul 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks...but I am not trying to get the application to just use one of the CPUs..I am trying to get the application to start using all the CPUs that are available. Thru the system monitor...out of the 24 available CPUs...I see 2-3 of the CPUs, randomly, doing any of the work. I would like to see if I can get all of the CPUs to start handling some of the workload.

Thanks
 
Old 08-15-2012, 10:02 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,301

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
That requires that the App(s) are built to be multi-processins and/or multi-threading.
 
  


Reply

Tags
cpuusage, rhel


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to find all processes cpu utilization & the cpu processor in linux? vasanth.v999 Linux - Server 7 01-10-2012 08:43 AM
Cpu utilization manohar Linux - Software 5 12-16-2011 08:18 AM
High CPU utilization on only one CPU out of 4 CPUs makam.sreekanth Linux - Kernel 2 09-03-2009 04:12 AM
cpu utilization and cpu load soltanloo Linux - General 1 06-07-2009 02:19 AM
Linux desktop GUI tool for CPU utilization and bandwidth utilization karimasif Linux - Software 4 03-03-2008 01:09 PM


All times are GMT -5. The time now is 03:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration