High CPU Utilization

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat High CPU Utilization
# 1  
Old 02-21-2013
High CPU Utilization

Hi Experts,

I need to understand few basic things regarding top command result from one of the node i have collected:


Cpu0 : 4.6%us, 2.0%sy, 0.0%ni, 91.4%id, 1.3%wa, 0.3%hi, 0.3%si, 0.0%st
Cpu1 : 0.0%us, 0.3%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 0.0%us, 3.3%sy, 0.0%ni, 96.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu4 : 1.0%us, 0.3%sy, 0.0%ni, 98.3%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu5 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu6 : 0.7%us, 0.3%sy, 0.0%ni, 99.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu7 : 0.0%us, 0.3%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu8 : 0.0%us, 0.7%sy, 0.0%ni, 99.0%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu9 : 0.0%us,100.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu10 : 0.3%us, 0.0%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu11 : 0.7%us, 0.0%sy, 0.0%ni, 99.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu12 : 0.3%us, 0.0%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu13 : 0.3%us, 0.0%sy, 0.0%ni, 99.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu14 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu15 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 49432636k total, 10601592k used, 38831044k free, 277300k buffers
Swap: 24575992k total, 150852k used, 24425140k free, 1934080k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14539 root 5 -20 48316 6680 1572 R 100.1 0.0 7356:25 /opt/perf/bin/perfd




If we look at the above result , can we conclude that the CPU9 was 100% SY usage :
Cpu9 : 0.0%us,100.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st

due to :

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14539 root 5 -20 48316 6680 1572 R 100.1 0.0 7356:25 /opt/perf/bin/perfd


If not what else we should look for finding the root cause for this?



Regards,
MackJack
# 2  
Old 02-21-2013
Yes the 100% relates to a full 1 core clock cycle, if a process ran over multiple CPU's you could expect to see 500% for example.

You need to look at the perfd if its even required, if not you can turn it off, if it is required you may need to delve deeper into what it is doing and why its taking up a full CPU.
# 3  
Old 02-21-2013
Thanks Tommy for clarification,

Now one more scenerio i want to add here as well:
Say with perfd 100%, i also got 100% Utilization from other few processes

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14539 root 5 -20 48316 6680 1572 R 100.1 0.0 7356:25 /opt/perf/bin/perfd

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
14344 root 5 -20 48316 6680 1572 R 100.1 0.0 56:25 oracle


But my System is normal (i.e

Cpu9 : 0.0%us,3.5%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st


Why i have to add this here because,
my client complaint me that perfd is taking 100% CPU utilization , thus there system got in bad stage.

Now when perfd process is been killed, still we are finding other process are in 100% as well. But CPU9 is with 3.x%SY


So now point is when perfd was taking 100% CPU utilization then there would be more other factor which made the system performance weak.
# 4  
Old 02-21-2013
Is this an emotional problem, not a performance one? You buy CPUs so they can be used, not just to consume power while idle. I used to pin the needles regularly with nice -19 processes, and the system was responding fine, but the system admins were upset because it was unusual and had the appearance of a problem. Top is nice for keeping an eye on things. Laurence Tratt: perfd
# 5  
Old 02-21-2013
Quote:
Originally Posted by DGPickett
Is this an emotional problem, not a performance one?
Well put, lol.

When you have 16 CPU's, and 15 of them are idle, there is no problem.
# 6  
Old 02-21-2013
You might get Oracle to defragment tables and indexes, compute statistics, etc. to give them something to do until real work shows up! Smilie

I had a regional manager question using our last sense amp to fix a memory once, because then we would have no spare parts! (The "We keep them for real emergencies." mentality! Luckily, customer did not hear this! :-)
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Kswapd high cpu utilization.

Hi, Please suggest how to troubleshoot, kswapd is utilizing high cpu? also wanted to know which parameters are important and needs to be added with sar command for monitoring the performance of Linux (Oracle 5.8 -64 bit Please guide me. I am facing the issue where server is getting... (0 Replies)
Discussion started by: manoj.solaris
0 Replies

2. UNIX for Advanced & Expert Users

[Solved] High CPU utilization

Hi, i am observing few processes taking high CPU and when i got some more detials about them it looks like this PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 9452 xmp 25 0 16736 1224 860 R 100.0 0.0 903:54.18 ffmpeg -i - 9777 xmp 25 0 16736 1224 ... (1 Reply)
Discussion started by: Siddheshk
1 Replies

3. Shell Programming and Scripting

Gzip with high CPU utilization

Hello all, I am very new to unix and trying to solve this problem. I have cluster of 3 nodes. when I run TOP command on each server, I see a two GZIP processess with very high CPU utilization even,if I don't go backups or unzipping. Can somebody tell me what is the problem, I don't want... (1 Reply)
Discussion started by: nnani
1 Replies

4. UNIX for Advanced & Expert Users

high cpu utilization

good morning. just wanted to ask if there's a way to check what causes the high cpu utilization of a server for the past 2 months? My jffnms report resulted to high utilization for a specific server last month. is there a way to check via a command line? thanks (9 Replies)
Discussion started by: lhareigh890
9 Replies

5. Solaris

vsh is high - cpu utilization

Hi, I am working on a solaris app processor and the vsh goes high from time to time. I have executed various ps commands and switches and have found that it looks like the rlogind daemon is terminating vsh and not cleaning up after itself. There are also something like 10 zombies hanging around... (2 Replies)
Discussion started by: troystevens
2 Replies

6. Shell Programming and Scripting

High CPU Utilization of the script

There is a script which processes the incoming files from a particular directory and sleeps if it doesnt find any. Currently, i have been told that eventhough there are no files to process, the CPU utilization is very high. An independent evaluation by advisory specialist has found this script does... (2 Replies)
Discussion started by: nandu
2 Replies

7. Shell Programming and Scripting

Script with high CPU utilization

Hi All, i have a script that finds the file with .txt .zip .Z .gzip that are 3 days old in directory /abc/def and removes them find /abc/def -name '0*.txt' -mtime +6 -exec rm {} \; find /abc/def -name '0*.zip' -mtime +6 -exec rm {} \; find /abc/def -name '0*.gzip' -mtime +6... (3 Replies)
Discussion started by: mad_man12
3 Replies

8. Solaris

Non-Global zone take high CPU utilization.

In Production system there is 12 Non-Global Zones. So in that 12 Non-Global zones one of the Non-Global zone taking 60-70% CPU usage and load average become very high. Running processors are 52 only. Please advise me is there any way to reduce the CPU sharing Utilization. (Most Urgent) ... (9 Replies)
Discussion started by: murthy76
9 Replies

9. AIX

High CPU utilization

Hi am facing high cpu utilization on my sybase server. I have P550 Number Of Processors: 4 Processor Clock Speed: 1656 MHz CPU Type: 64-bit Kernel Type: 32-bit LPAR Info: 1 65-D837E Memory Size: 7840 MB in topas it shows Name PID CPU% PgSp Owner dataserv 565264 ... (1 Reply)
Discussion started by: vjm
1 Replies

10. Solaris

High CPU Utilization

Good morning, I need some help figuring out what's eating up my cpu. My application can't get enough cpu to do its job. this is a sunfire V440 2CPU's at 1/593 GHZ with 8GB of memory. In the morning hours the box is at less than 3%. I can't figure out what else is using the CPU. We use foglight and... (2 Replies)
Discussion started by: bbouhaik
2 Replies
Login or Register to Ask a Question