首页 > 应用开发 > IT综合 > HP小型机CPU IDEL值过低问题处理
某用户HP主机的CPU IDEL值有时出现过低的现象。
1>top输出
fep1#[/usr/contrib/bin/dump]top
System: stfep1 Thu Apr 17 10:48:02 2008
Load averages: 1.15, 1.18, 1.18
100 processes: 98 sleeping, 2 running
Cpu states:
CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS
0 1.45 0.0% 0.4% 0.8% 98.8% 0.0% 0.0% 0.0% 0.0%
1 0.85 0.4% 0.2% 0.6% 98.8% 0.0% 0.0% 0.0% 0.0%
--- ---- ----- ----- ----- ----- ----- ----- ----- -----
avg 1.15 0.2% 0.4% 0.6% 98.8% 0.0% 0.0% 0.0% 0.0%
Memory: 157092K (78628K) real, 175268K (105496K) virtual, 3206096K free Page# 1
/10
CPU TTY PID USERNAME PRI NI SIZE RES STATE TIME %WCPU %CPU COMMAND
0 ? 271 root 154 20 46348K 18712K sleep 19:20 1.17 1.17 HPSS7
1 ? 33 root 152 20 1856K 0K run 155:56 1.13 1.13 vxfsd
0 ? 23579 ss7admin 154 20 22312K 13696K sleep 17:21 0.81 0.81 ss7gatew
注:通过以显示vxfsd cpu占用率较高 (总的cpu时间较长)
2>当前cpu情况
注:目前vxfsd cpu利用率正常,并且系统CPU IDEL 值较低
B3692A GlancePlus C.03.70.00 10:58:53 stfep1 9000/800 Current Avg High
--------------------------------------------------------------------------------
CPU Util SSU | 4% 3% 8%
Disk Util F FV | 20% 8% 20%
Mem Util S SU UBB | 24% 24% 24%
Swap Util U URR | 8% 8% 8%
--------------------------------------------------------------------------------
Resources PID: 33, vxfsd PPID: 0 euid: 0 User: root
--------------------------------------------------------------------------------
CPU Usage (util): 0.0 Log Reads : 0 Wait Reason : SYSTM
User/Nice/RT CPU: 0.0 Log Writes: 0 Total RSS/VSS : 1.8mb/ 1.8mb
System CPU : 0.0 Phy Reads : 0 Traps / Vfaults: 0/ 0
Interrupt CPU : 0.0 Phy Writes: 26 Faults Mem/Disk: 0/ 0
Cont Switch CPU : 0.0 FS Reads : 0 Deactivations : 0
Scheduler : HPUX FS Writes : 0 Forks & Vforks : 0
Priority : 138 VM Reads : 0 Signals Recd : 0
Nice Value : 20 VM Writes : 0 Mesg Sent/Recd : 0/ 0
Dispatches : 31 Sys Reads : 0 Other Log Rd/Wt: 0/ 0
Forced CSwitch : 0 Sys Writes: 26 Other Phy Rd/Wt: 0/ 0
VoluntaryCSwitch: 31 Raw Reads : 0 Proc Start Time
Running CPU : 1 Raw Writes: 0 Sun Apr 29 01:06:20 2007
CPU Switches : 6 Bytes Xfer: 152kb :
通过分析,系统性能下降的原因是vxfsd cpu占用率较高,cpu 都在wait io,导致cpu idle值降至较低水平。同时分析系统补丁版本发现目前系统中vxfs的patch是一个带有warring的版本,版本为PHKL_24027,也就是说存在BUG,在某些条件下对文件系统可能导致CPU wait io 时间长。
建议安装vxfs patch,当前我们系统中vxfs patcch版本为PHKL_24027,建议安装到PHKL_24027的最新替代版本PHKL_32986。
注:安装此patch需要重启系统
[@more@]来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9479798/viewspace-1040836/ ,如需转载,请注明出处,否则将追究法律责任。