概要
この資料は役立つ異なるインターフェイスで Fibre Channel ファブリックのパフォーマンス上の問題を解決するときレシーブおよび送信するバッファにバッファ(B2B)クレジットを記述したものです。
前提条件
要件
次の項目に関する知識が推奨されます。
- Cisco マルチレイヤ データ スイッチ(MD)
- Fibre Channel プロトコル
使用するコンポーネント
この文書に記載されている情報は基づいた on Cisco MDS 9000 シリーズ マルチレイヤ スイッチです。
本書の情報は、特定のラボ環境にあるデバイスに基づいて作成されたものです。 このドキュメントで使用するすべてのデバイスは、初期(デフォルト)設定の状態から起動しています。 対象のネットワークが実稼働中である場合には、どのような作業についても、その潜在的な影響について確実に理解しておく必要があります。
MD スイッチの優先順位 送信する B2B クレジットを理解して下さい
Fibre Channel ファブリック ネットワークのための遅い下水管問題を解決するとき、インターフェイスのための利用可能 な信用を確認する簡単な方法は MD スイッチの show interface コマンドです。
以下は MD インターフェイスの送信する B2B クレジットを説明します。
Inter-Switch Link Protocol (ISL)トランクインターフェイスに関しては
低優先順位クレジットはデータトラフィックのために高優先順位クレジットがスイッチ間リンク コントロール トラフィックのためである間、使用されます。 これはレシーバのすべての利用可能 な レシーブ(Rx)クレジットを消費しないようにそれ自身を制限する送信側側のちょうど論理的な部分です。
たとえば、スイッチ MD Tempest (レシーバ)はそのスイッチ MD 巨匠(送信側)にそれを持っています Rx 64 のクレジットを告げます。
低優先順位 Transmit (tx)クレジットとして MD 巨匠マークを 56 のクレジットおよび Tx 高優先順位クレジットとして 8 切り替えて下さい。
輻輳の場合には、MD 巨匠は 56 の低優先順位クレジットのどれも利用可能 なときデータトラフィックを送信 することを止めます。
ただし、それはまだ利用可能 な 8 つの高優先順位クレジットを使用して MD Tempest にコントロール トラフィックを送信できます。
低いですか高優先順位クレジット間の微分をする MD Tempest のための必要がありません。
注: 高優先順位 TX 送信するクレジットの数は異なるハードウェアプラットフォームによって異なります。
これは一般的な概念です: 8 TX 送信するクレジットからの 1 つは高優先順位クレジットであり、最大は 15 - ELP か他の ISL コントロールメッセージを処理すること十分です。
このハイ・ロー優先順位微分は E ポートまたは TE ポート間の ISL リンクのためだけ、F ポートで使用されません。
MD 9148S プラットフォーム例:
E ポート インターフェイスに関しては:
Tempest# show int fc1/26
fc1/26 is trunking
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:1a:00:2a:6a:b9:d2:30
Peer port WWN is 20:1a:00:2a:6a:56:f0:00
Admin port mode is auto, trunk mode is on
snmp link state traps are enabled
Port mode is TE
Port vsan is 2
Admin Speed is auto
Operating Speed is 4 Gbps
Rate mode is dedicated
Port flow-control is R_RDY
Transmit B2B Credit is 32
Receive B2B Credit is 64
B2B State Change Number is 14
Receive data field Size is 2112
Beacon is turned off
Logical type is core
Trunk vsans (admin allowed and active) (2)
Trunk vsans (up) (2)
Trunk vsans (isolated) ()
Trunk vsans (initializing) ()
5 minutes input rate 160 bits/sec,20 bytes/sec, 0 frames/sec
5 minutes output rate 96 bits/sec,12 bytes/sec, 0 frames/sec
22464 frames input,1801536 bytes
0 discards,0 errors
0 invalid CRC/FCS,0 unknown class
0 too long,0 too short
22977 frames output,1318564 bytes
0 discards,0 errors
0 input OLS,0 LRR,0 NOS,2 loop inits
1 output OLS,2 LRR, 0 NOS, 1 loop inits
64 receive B2B credit remaining
32 transmit B2B credit remaining
28 low priority transmit B2B credit remaining
Interface last changed at Thu Jul 20 15:40:32 2017
Last clearing of "show interface" counters : never
Tempest#
リンクの orther 終わりは総送信するクレジットが 64 であり、低い優先順位が 56 であることを示します:
Maestro# show int fc1/26
fc1/26 is trunking
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:1a:00:2a:6a:56:f0:00
Peer port WWN is 20:1a:00:2a:6a:b9:d2:30
Admin port mode is auto, trunk mode is on
snmp link state traps are enabled
Port mode is TE
Port vsan is 2
Speed is 4 Gbps
Rate mode is dedicated
Transmit B2B Credit is 64
Receive B2B Credit is 32
B2B State Change Number is 14
Receive data field Size is 2112
Beacon is turned off
admin fec state is down
oper fec state is down
Trunk vsans (admin allowed and active) (2)
Trunk vsans (up) (2)
Trunk vsans (isolated) ()
Trunk vsans (initializing) ()
5 minutes input rate 160 bits/sec,20 bytes/sec, 0 frames/sec
5 minutes output rate 216 bits/sec,27 bytes/sec, 0 frames/sec
23189 frames input,1330368 bytes
0 discards,0 errors
0 invalid CRC/FCS,0 unknown class
0 too long,0 too short
22677 frames output,1818076 bytes
0 discards,0 errors
1 input OLS,2 LRR,0 NOS,3 loop inits
1 output OLS,0 LRR, 0 NOS, 1 loop inits
32 receive B2B credit remaining
64 transmit B2B credit remaining
56 low priority transmit B2B credit remaining
Interface last changed at Wed Jul 19 16:39:58 2017
Last clearing of "show interface" counters 1w 5d
Maestro#
F ポート インターフェイスに関しては:
F ポートの場合には、この計算は MD スイッチと発信側/ターゲットデバイス間にコントロール トラフィックがないので適用しません。
ただし、データトラフィックのための低い優先順位としてマークされる F ポートのすべての送信するクレジットを表示できます。
たとえば、合計 送信するクレジットは 3 であり、低い優先順位は次の出力の 3 です:
switch# show int fc1/47
fc1/47 is up
Hardware is Fibre Channel, SFP is short wave laser w/o OFC (SN)
Port WWN is 20:2f:00:2a:6a:56:f0:00
Admin port mode is F, trunk mode is on
snmp link state traps are enabled
Port mode is F, FCID is 0x570f00
Port vsan is 2
Speed is 4 Gbps
Rate mode is dedicated
Transmit B2B Credit is 3
Receive B2B Credit is 32
Receive data field Size is 2112
Beacon is turned off
admin fec state is down
oper fec state is down
5 minutes input rate 0 bits/sec,0 bytes/sec, 0 frames/sec
5 minutes output rate 16 bits/sec,2 bytes/sec, 0 frames/sec
1220 frames input,74256 bytes
0 discards,0 errors
0 invalid CRC/FCS,0 unknown class
0 too long,0 too short
2231 frames output,220056 bytes
0 discards,0 errors
1 input OLS,1 LRR,0 NOS,0 loop inits
1 output OLS,0 LRR, 1 NOS, 0 loop inits
32 receive B2B credit remaining
3 transmit B2B credit remaining
3 low priority transmit B2B credit remaining
Interface last changed at Wed Jul 19 15:56:15 2017
Last clearing of "show interface" counters 1w 5d
switch#
MD 9710 スイッチ例:
MDS97xx スイッチに高優先順位 Tx 送信するクレジットがありません。 ただし、これはコマンド システムデフォルト tx クレジット二重キューによって変更することができます。
最大 Tx 送信するクレジットはまた接続されたスイッチのインターフェイスから見られる場合があります。
トポロジ: MD 9710 レオナルド fc3/14 は E ポートによって MD 9148S Tempest fc1/13 に続けて接続されます。
デフォルト設定:
デフォルトで、MD 9710 DS-X9448-768K9 ラインカードに高優先順位クレジットが、すべての 64 の送信するクレジットです考えられた低い優先順位ありません。
Leonard(config-if)# show int fc3/14 counter
fc3/14
5 minutes input rate 320 bits/sec, 40 bytes/sec, 3 frames/sec
5 minutes output rate 2688 bits/sec, 336 bytes/sec, 3 frames/sec
1416819 frames input, 77233324 bytes
0 discards, 0 errors, 0 CRC/FCS
0 unknown class, 0 too long, 0 too short
1416813 frames output, 138598368 bytes
0 discards, 0 errors
0 timeout discards, 0 credit loss
53 input OLS, 85 LRR, 119 NOS, 0 loop inits
77 output OLS, 7 LRR, 93 NOS, 0 loop inits
14 link failures, 37 sync losses, 2 signal losses
140 Transmit B2B credit transitions to zero
92 Receive B2B credit transitions to zero
0 2.5us TxWait due to lack of transmit credits
Percentage Tx credits not available for last 1s/1m/1h/72h: 0%/0%/0%/0%
500 receive B2B credit remaining
64 transmit B2B credit remaining
64 low priority transmit B2B credit remaining
Last clearing of "show interface" counters : never
Leonard(config-if)#
tx クレジット二重キューの使用:
スイッチ レオナルド システムデフォルト tx クレジット二重キューのコマンドを発行した後
(shut/no shut によってインターフェイスをリセットする必要)
Leonard(config)# show system default switchport
System default port state is down
System default trunk mode is on
System default link failure syslog logging level is 5
System default tx credit queue type is 0
Leonard(config)# system default tx-credit double-queue
Leonard(config)# show system default switchport
System default port state is down
System default trunk mode is on
System default link failure syslog logging level is 5
System default tx credit queue type is 1
Leonard(config)# int fc3/14
Leonard(config-if)# shut
Leonard(config-if)# no shut
8 つの高優先順位 Tx 送信する B2B クレジットおよび 56 の低優先順位クレジットがあることが見られる場合があります:
Leonard(config-if)# show int fc3/14 counter
fc3/14
5 minutes input rate 320 bits/sec, 40 bytes/sec, 2 frames/sec
5 minutes output rate 256 bits/sec, 32 bytes/sec, 2 frames/sec
1420613 frames input, 77459300 bytes
0 discards, 0 errors, 0 CRC/FCS
0 unknown class, 0 too long, 0 too short
1420607 frames output, 138968464 bytes
0 discards, 0 errors
0 timeout discards, 0 credit loss
54 input OLS, 87 LRR, 122 NOS, 0 loop inits
79 output OLS, 7 LRR, 95 NOS, 0 loop inits
14 link failures, 38 sync losses, 2 signal losses
143 Transmit B2B credit transitions to zero
94 Receive B2B credit transitions to zero
0 2.5us TxWait due to lack of transmit credits
Percentage Tx credits not available for last 1s/1m/1h/72h: 0%/0%/0%/0%
500 receive B2B credit remaining
64 transmit B2B credit remaining
56 low priority transmit B2B credit remaining
Last clearing of "show interface" counters : never
Leonard(config-if)#
最大 RX 送信するクレジットはスイッチ MD 9148S Tempest からの 15 です:
接続された MD 9148S,Tempest から、最大 Tx 送信する B2B クレジットが 15 であることを見られる場合があります。
MDS9710 スイッチ レオナルドはそれ故に 500 レシーブ クレジット MDS9148S スイッチ Tempest を持っています残る 500 の Tx 送信する B2B クレジットをまたデフォルトでもらいますが、15 のクレジット(最大)は高優先順位ように割り当てられます(500 - 485 = 15)。
Tempest# show int fc1/13 counter
fc1/13
5 minutes input rate 2624 bits/sec, 328 bytes/sec, 3 frames/sec
5 minutes output rate 1504 bits/sec, 188 bytes/sec, 3 frames/sec
1343331 frames input, 131489464 bytes
0 discards, 0 errors, 0 CRC/FCS
0 unknown class, 0 too long, 0 too short
1343332 frames output, 72878124 bytes
0 discards, 0 errors
0 timeout discards, 0 credit loss
9 input OLS, 2 LRR, 0 NOS, 0 loop inits
12 output OLS, 20 LRR, 9 NOS, 0 loop inits
9 link failures, 0 sync losses, 0 signal losses
66 Transmit B2B credit transitions to zero
24 Receive B2B credit transitions to zero
0 2.5us TxWait due to lack of transmit credits
Percentage Tx credits not available for last 1s/1m/1h/72h: 0%/0%/0%/0%
64 receive B2B credit remaining
500 transmit B2B credit remaining
485 low priority transmit B2B credit remaining
Last clearing of "show interface" counters :never
Tempest#
MD 9710 レオナルドからのレシーブ クレジットが 120 より下がるために変更される場合 Tx 8 つのクレジットからの 1 つは高優先順位としてマークされます:
Leonard(config)# int fc3/14
Leonard(config-if)# switchport fcrxbbcredit 112
Tempest# show int fc1/13 count
fc1/13
5 minutes input rate 1024 bits/sec, 128 bytes/sec, 3 frames/sec
5 minutes output rate 1536 bits/sec, 192 bytes/sec, 3 frames/sec
1360026 frames input, 133105756 bytes
0 discards, 0 errors, 0 CRC/FCS
0 unknown class, 0 too long, 0 too short
1360027 frames output, 73885304 bytes
0 discards, 0 errors
0 timeout discards, 0 credit loss
14 input OLS, 2 LRR, 0 NOS, 0 loop inits
17 output OLS, 30 LRR, 14 NOS, 0 loop inits
14 link failures, 0 sync losses, 0 signal losses
91 Transmit B2B credit transitions to zero
34 Receive B2B credit transitions to zero
0 2.5us TxWait due to lack of transmit credits
Percentage Tx credits not available for last 1s/1m/1h/72h: 0%/0%/0%/0%
64 receive B2B credit remaining
112 transmit B2B credit remaining
98 low priority transmit B2B credit remaining
Last clearing of "show interface" counters :never
Tempest#