Top cmd showing NICE value 97% -what to tune?


 
Thread Tools Search this Thread
Operating Systems HP-UX Top cmd showing NICE value 97% -what to tune?
# 1  
Old 03-14-2012
Top cmd showing NICE value 97% -what to tune?

Running 2 VM Guests on an HPUX Integrity Server. One Guest runs great, the other is always at a high NICE value and 0% idle as shown in TOP:
What do you think should be tuned to bring down the NICE and increase IDLE %? Thanks in advance
-hpuxadmin

Code:
slow VM GUEST
 
Load averages: 2.56, 2.53, 2.58
234 processes: 177 sleeping, 57 running
Cpu states:
 LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS
 2.56   0.2%  98.4%   1.4%   0.0%   0.0%   0.0%   0.0%   0.0%
System Page Size: 4Kbytes
Memory: 1992392K (600392K) real, 4650248K (2476324K) virtual, 272100K free  Page
# 1/17
 TTY    PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND
  ?   17366 oracle   245 22   870M  8568K run   2494:14 84.61 84.46 oracleDEVDB2
  ?   10502 oracle   185 22   855M  4352K run      0:12  5.27  5.26 oracleDEVDB2
  ?      63 root     128 20    72K    64K sleep 5979:36  2.16  2.16 fcachedaemon
  ?    3304 root     168 20 15792K   816K sleep 1262:46  0.53  0.53 utild
pts/3 10589 root     154 10 48720K  5180K sleep    0:00  0.49  0.48 glance
  ?    1805 root     154 20 18580K   372K sleep  873:34  0.38  0.38 cmclconfd
pts/1 10263 root     178 20 10752K  1508K run      0:03  0.29  0.29 top
  ?    6294 oracle   154 20  1272M  2468K sleep    0:10  0.20  0.20 ora_j000_DEV
  ?    1753 root     154 20 11160K   260K sleep  400:31  0.13  0.13 sendmail:
  ?   10594 root      50 10 30752K  4648K sleep    0:00  0.10  0.10 midaemon
  ?    2164 root     154 20  5744K   304K sleep  189:36  0.09  0.09 pwgrd
---------------------------------------------------------------------


VM Guest that runs well
Load averages: 0.05, 0.04, 0.04
199 processes: 166 sleeping, 32 running, 1 zombie
Cpu states:
CPU   LOAD   USER   NICE    SYS   IDLE  BLOCK  SWAIT   INTR   SSYS
 0    0.05   0.8%   0.0%   0.2%  99.0%   0.0%   0.0%   0.0%   0.0%
 1    0.04   1.2%   0.0%   0.0%  98.8%   0.0%   0.0%   0.0%   0.0%
---   ----  -----  -----  -----  -----  -----  -----  -----  -----
avg   0.05   1.0%   0.0%   0.0%  99.0%   0.0%   0.0%   0.0%   0.0%
Memory: 3328308K (3004544K) real, 5644416K (5217344K) virtual, 854000K free  Pag
e# 1/19
CPU TTY    PID USERNAME PRI NI   SIZE    RES STATE    TIME %WCPU  %CPU COMMAND
 1   ?   26019 oracle   154 20   766M  7056K sleep 5663:52  6.29  6.28 oracleTRD
 1   ?   16816 oracle   154 20   766M  7056K run   4504:51  3.94  3.93 oracleTRD
 0   ?   29531 oracle   152 20 63948K  5196K run    733:57  0.44  0.44 tnslsnr
 1   ?   15672 oracle   154 20   767M  9040K sleep   33:26  0.41  0.40 oracleTRD
 0   ?   27865 oracle   154 20   764M  5816K sleep    0:00  0.23  0.23 oracleTRD
 1   ?      54 root     152 20 20808K 18496K run   1033:21  0.22  0.22 vxfsd
 1   ?    2013 root     -16 20 32132K  8752K run    716:13  0.20  0.20 midaemon
 1 pts/1 27393 root     178 20 14636K   864K run      0:01  0.09  0.09 top
 1   ?    1851 root     152 20   766M 87632K run    475:24  0.06  0.06 java
 1   ?    2020 root     127 20 50156K 11932K sleep   64:54  0.05  0.05 scopeux


Last edited by methyl; 03-14-2012 at 04:35 PM.. Reason: please use code tags for readability
# 2  
Old 03-14-2012
The first server appears to only have one CPU and the O/S is battling with Oracle.
# 3  
Old 03-14-2012
Add to methyl's remark:
server 1, 1 CPU:
Code:
234 processes: 177 sleeping, 57 running

server 2, 2 CPUs:
Code:
199 processes: 166 sleeping, 32 running

In other words 15 more running processes to deal with having half the cpu power of the second...

That said, you did not say if the LVM configurations are identical, or the swap or the memory nor did you mention the SGA size of the oracle DB...
# 4  
Old 03-14-2012
Hi Methyl,
Thanks for your quick reply. The Oracle instances are running with the smallest sga memory size, do you have any idea what HPUX processes or OS tuning could help the situtation?
# 5  
Old 03-15-2012
Sorry, but no quick fix for this. The requirements for Oracle are clearly stated in their many detailed installation guides. Only a casual home user would ever run an Oracle database engine with one CPU.
# 6  
Old 03-19-2012
Hi,

You hava a oracle session using 84.46% of the CPU, ask to dba verify session activity.

TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
? 17366 oracle 245 22 870M 8568K run 2494:14 84.61 84.46 oracleDEVDB2
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

An HTML tag is showing at the top of page

I noticed a HTML tag opened at the top of the index page. I do not know if this is an error or a coding mistake or it means something else which i do not know. I felt i raise the issue. Please kindly correct me if i am wrong. Thanks. (5 Replies)
Discussion started by: despiragado
5 Replies

2. BSD

Very high nice percentage in top command

Hello Folks, Recently our FreeBSD 7.1 i386 system became very sluggish. Nothing much is happening over there & whatever is running takes eternity to complete. All the troubleshooting hinted towards a very high nice percentage. Can that be the culprit? Pasting snippets of top command,... (7 Replies)
Discussion started by: vibhor_agarwali
7 Replies

3. Red Hat

Showing all users in 'users' and 'top' commands

Hi All, I work in a multi user environment where my school uses Red Hat Linux server. When I issue commands such as "top" or "users", I get to see what others are doing and what kinds of applications they are running (even ps -aux will give such information). "users" will let me know who else is... (1 Reply)
Discussion started by: shoaibjameel123
1 Replies

4. Shell Programming and Scripting

Unix cmd prompt how to get old cmd run?

Hi, I am using SunOS I want to serch my previous command from unix prompt (like on AIX we can search by ESC -k) how to get in SunOs urgent help require. (10 Replies)
Discussion started by: RahulJoshi
10 Replies

5. Solaris

top is showing 0% cpu Idle

What should we do if we show a 0% cpu idl on top? (5 Replies)
Discussion started by: Pouchie1
5 Replies

6. Shell Programming and Scripting

Tune my query

I have a requirement to separate only some numbers from the input file and produce it in a format. The input is ( i have took a sample, the actual file contains more than 50000 rows around 840 MB in size) $cat temp.txt 001 08 002 08 003 06 004 11 005 11 006 08 007 08 008 92* 009 92 010... (1 Reply)
Discussion started by: senthil.ak
1 Replies

7. HP-UX

top and nice

Hi, I have two identical 12 CPU HPUX machines, and I run the same processes on each that load the boxes fully. top on one reports activity under the NICE (19%) and SYS (18%) columns, while top on the other reports 0% NICE and 16% SYS. What would cause NICE to be zero on one machine and not... (5 Replies)
Discussion started by: CBorgia
5 Replies

8. Programming

nice command and nice() system call

Hi I want to implement the nice command in the shell that I am building. I came to know that there is a corresponding nice() system call for the same. But since I will be forking different processes to run different commands typed on the command prompt, is there any way I can make a command... (2 Replies)
Discussion started by: tejbuch
2 Replies

9. UNIX for Dummies Questions & Answers

man <cmd> >> cmd.txt

I've noticed most of my postings here are because of syntax errors. So I want to begin compiling a large txt file that contains all the "man <cmd>" of the commands I most have problems with. I ran a "man nawk >> nawk.txt" but it included a header/footer on each "page". Anyone know how I'd be... (6 Replies)
Discussion started by: yongho
6 Replies

10. UNIX for Dummies Questions & Answers

[Top output] NICE % high ?

Hi, I've got some CPU bottleneck on a HP-UX 11 server : i didn't understand it until i discover i've got an unusual high percentage of NICE% CPU regarding my DBRMS process (Sybase 12.x). How do i have to understand it and how to resolve it ? Thx. (0 Replies)
Discussion started by: eliador2001
0 Replies
Login or Register to Ask a Question

Featured Tech Videos