性能検証でネットワークに負荷をかけて色々と試した時のメモ。
ネットワーク機器はCiscoのCatalyst6500シリーズを使用。
CPU使用率が90%以上に
Catalystの CPU使用率が90% 以上で張り付いていたので、以下のコマンドを使用。
「show ip traffic」
#sh ip traffic
Load for five secs: 14%/8%; one minute: 7%; five minutes: 6%
Time source is NTP, 16:40:23.185 JST Fri Feb 3 2012
IP statistics:
Rcvd: 3065525771 total, 40430275 local destination
0 format errors, 0 checksum errors, 1991 bad hop count
0 unknown protocol, 0 not a gateway
0 security failures, 0 bad options, 0 with options
Opts: 0 end, 0 nop, 0 basic security, 0 loose source route
0 timestamp, 0 extended security, 0 record route
0 stream ID, 0 strict source route, 0 alert, 0 cipso, 0 ump
0 other
Frags: 0 reassembled, 0 timeouts, 0 couldn't reassemble
1449095933 fragmented, 310 couldn't fragment
Bcast: 3782642 received, 19 sent
Mcast: 34818977 received, 32887365 sent
Sent: 35818068 generated, 3726051518 forwarded
Drop: 248 encapsulation failed, 0 unresolved, 0 no adjacency
982052 no route, 0 unicast RPF, 0 forced drop
0 options denied, 0 source IP address zero
----以下省略-----
上の下線をひいたところから、フラグメンテーションが発生していることが判明。
ジャンボフレームを使用するためMTUをデフォルトの1500から変更していたのだけど、そのあたりが怪しいかもと調査。
調査結果
物理インターフェイス(例Gi1/1)はジャンボフレームを通信させるためにMTUを最大の9216に変更していました。しかし、vlanとvlanインターフェイスがデフォルトのままでした。
解決策
vlan、vlanインターフェイスのMTUを9216に変更。
configは以下のように変更。(vlan番号は適当)
vlan 9999
mtu 9216
interface Vlan9999
mtu 9216