mayluo 发表于 2010-9-3 14:00:37

CISCO 2960G交换机IOS升级到12.2(52)SE后,CPU和内存使用率高

我们内网的100多台CISCO 2960G(WS-C2960G-24TC-L)的IOS由原来的12.2(25)SEE3升级到12.2(52)SE后(为了实现DHCP SNOOPING和DAI而升级),CPU的平均利率由原来的5%增加到现在的27%左右,是什么原因导致高CPU使用率?

pengcent 发表于 2010-9-3 14:39:23

以前遇过类似现象,不过我重新升级一遍就好了,不排除设备跑ios的适应性如何呀

mayluo 发表于 2010-9-3 15:40:48

我想用新版本的IOS,我测试了几个CISCO最近发布的IOS,都导致CPU使用率很高

Bati-gol 发表于 2010-9-3 20:48:01

具体查看一下那个进程占用了最大CPU
show process cpu

redboynono 发表于 2010-9-5 22:19:39

show process cpu sort,,,另外 27%的cpu还不算高把...去看看你新的ios对硬件的要求.

mayluo 发表于 2010-9-6 09:21:01

谢谢各位的帮助,我在CISCO的网上查过了的,我现在的交换机硬件是支持我升级后的版本的IOS的,
Hulc LED Process点用了较多的CPU
Hardware Supported
Table 1 lists the hardware supported on this release.
Table 1 Catalyst 3750, 3560 and 2960 Switches and Cisco EtherSwitch Service Modules Supported Hardware
Catalyst 2960G-24TC-L
24 10/100/1000BASE-T Ethernet ports, including 4 dual-purpose ports (four 10/100/1000BASE-T copper ports and four SFP module slots)
Cisco IOS Release 12.2(25)FX

CPU utilization for five seconds: 22%/0%; one minute: 27%; five minutes: 28%
PID Runtime(ms)   Invoked      uSecs   5Sec   1Min   5Min TTY Process
111   13624058435357302       3853 12.29% 11.81% 11.49%   0 Hulc LED Process
54    4863045357721376      8422.07%2.98%2.91%   0 Fifo Error Detec
83    12835998   2016805       63640.79%0.79%0.79%   0 hpm counter proc
180   1059244534257597073          00.47%5.72%6.22%   0 REP LSL Hello PP
211      301098   6227719         480.31%0.05%0.01%   0 PM Callback
168   645068938218206      1680.31%0.49%0.51%   0 Spanning Tree
115   3960566    514368       76990.15%0.18%0.19%   0 HQM Stack Proces
28      739747   3002717      2460.15%0.04%0.01%   0 Net Background
66   144367632417078         440.15%0.09%0.10%   0 HLFM address lea
228       43402    232109      1860.15%0.01%0.00%   0 PDU DISPATCHER
93         110      66       16660.15%0.02%0.00%   1 Virtual Exec
11         0         2          00.00%0.00%0.00%   0 AAA high-capacit
10         0         1          00.00%0.00%0.00%   0 AAA_SERVER_DEADT



Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(52)SE, RELEASE SOFTWARE (fc3)
Copyright (c) 1986-2009 by Cisco Systems, Inc.
Compiled Fri 25-Sep-09 03:14 by sasyamal
Image text-base: 0x00003000, data-base: 0x01300000

ROM: Bootstrap program is C2960 boot loader
BOOTLDR: C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1)

C2960-KZ-13F-B uptime is 1 week, 5 days, 22 hours, 53 minutes
System returned to ROM by power-on
System restarted at 10:19:55 BeiJing Tue Aug 24 2010
System image file is "flash:c2960-lanbase-mz.122-52.SE/c2960-lanbase-mz.122-52.SE.bin"

cisco WS-C2960G-48TC-L (PowerPC405) processor (revision B0) with 65536K bytes of memory.
Processor board ID FOC1120Z27R
Last reset from power-on
2 Virtual Ethernet interfaces
48 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.

64K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address       : 00:1B:90:BA:10:00
Motherboard assembly number   : 73-10300-06
Power supply part number      : 341-0098-02
Motherboard serial number       : FOC11194EHK
Power supply serial number      : AZS1115221C
Model revision number         : B0
Motherboard revision number   : B0
Model number                  : WS-C2960G-48TC-L
System serial number            : FOC1120Z27R
Top Assembly Part Number      : 800-27071-01
Top Assembly Revision Number    : D0
Version ID                      : V01
CLEI Code Number                : COM4A10BRA
Hardware Board Revision Number: 0x01


Switch Ports Model            SW Version            SW Image
------ ----- -----            ----------            ----------
*    1 48    WS-C2960G-48TC-L   12.2(52)SE            C2960-LANBASE-M


Configuration register is 0xF


C2690G#sh flash:

Directory of flash:/

    2-rwx      3096Aug 17 2010 16:17:10 +08:00vlan.dat
    3-rwx      2072Aug 26 2010 15:48:31 +08:00multiple-fs
    5-rwx      7335Aug 26 2010 15:48:31 +08:00config.text
558-rwx         5Aug 26 2010 15:48:31 +08:00private-config.text
    6drwx         192Aug 23 2010 12:16:11 +08:00c2960-lanbase-mz.122-52.SE

32514048 bytes total (21195264 bytes free)

etiger_xu 发表于 2010-9-6 10:36:16

能对Hulc LED Process进程给个说明吗,为什么会高?本人最近也正想给公司的2960交换机IOS做升级呢。

changbin8035 发表于 2010-9-6 17:18:00

参考这里:
http://www.cisco.com/en/US/docs/switches/lan/catalyst3750/software/troubleshooting/cpu_util.html#wp1005176
按它的说法,链路翻动会导致该进程CPU利用率升高。楼主那里的情况是这样吗?

mayluo 发表于 2010-9-7 15:04:34

我这边的80多台2960都是这样的现场,可排除链路flapping导致的高CPU,我换成12.25的IOS,CPU利用率就下来了

wxpryj 发表于 2010-9-27 13:24:53

遇到了同样的问题,
Cisco IOS Software, C2960 Software (C2960-LANBASEK9-M), Version 12.2(55)SE, RELEASE SOFTWARE (fc2)
页: [1] 2
查看完整版本: CISCO 2960G交换机IOS升级到12.2(52)SE后,CPU和内存使用率高