Cisco MDS: 長距離ISLバッファーの割り当て

Summary: バッファー間の割り当ては、スイッチ モジュールによって異なります。 各プラットフォームは、サポートされている速度に依存しません。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

スイッチ上のポートグループに割り当てられている現在のバッファを確認するために使用されるコマンドは次のとおりです。

#show port-resources module x

(ここで、xはモジュール番号です)

 

遠距離ISL 長距離ISL
が必要な場合は、ISLを最大容量で実行できるように十分なBB_creditsを構成する必要があります。
長距離ISLのBB_creditsを計算するための最も単純な式またはガイドラインでは、約2 KBのフルサイズのファイバ チャネル フレームを想定し、インターフェイスの動作速度とISLの一方向の距離を考慮に入れます。

 

この表に従って、16 Gbps ファイバ チャネル ISL を 50 km 以上で運用するには、片道距離 (50) に km あたりの最小BB_credits数 (8) を掛けます。
つまり、50 km の 16 Gbps ISL では、平均フレーム サイズが約 2 KB の場合、400 BB_creditsが必要です。
これは、リンクを最大限使用した場合に最高の状態で機能するために必要な最小BB_credits数です。
インターフェイス速度と最小BB_Credits数

 

最大値(フルサイズ)よりも小さい平均フレームサイズに対応するには、比例してより多くのBB_creditsが必要になります。
各バッファーは、そのサイズに関係なくファイバ チャネル フレーム用であるため、ファイバ チャネル フレームがフルサイズでない場合は、完全なリンク使用率を達成するためにより多くのBB_creditsが必要になります。この場合、BB_creditsを計算するためのおおよその簡単な式は次のとおりです。

 

BB_credits =(インターフェイス速度のkmあたりに必要な最小BB_credits数x一方向距離(km))/((平均受信フレームサイズ(バイト)/2150バイト))

 

次の例は、長さが 50 km、平均入力フレーム サイズが約 1 KB(1075 バイト)の 16 Gbps リンクのBB_credits計算を示しています:
(16 Gbps x 50 km で km あたり 8 BB_credits)/(1075 / 2150)
400/0.5 = 800 BB_credits

 

考慮するために、実際の平均入力フレーム サイズは、まず、合計入力バイトを合計入力フレーム数で割ることによって平均フレーム サイズを決定します。
受信BB_creditsが設定されているため、インターフェイスの入力方向(Rx側)の平均フレームサイズを決定する必要があります。
バイト数とフレーム数の合計は、show interface counters コマンドの出力で確認できます。

switch# show interface fc 2/7 counters
fc2/7
    5 minutes input rate 1048060640 bits/sec, 131007580 bytes/sec, 94786 frames/sec
    5 minutes output rate 253368512 bits/sec, 31671064 bytes/sec, 47717 frames/sec
    14079632456 frames input, 18624775031572 bytes
      0 discards, 0 errors, 0 CRC/FCS
      0 unknown class, 0 too long, 0 too short
    8089598629 frames output, 6040401816628 bytes
      0 discards, 0 errors
    0 timeout discards, 0 credit loss
    0 input OLS, 0 LRR, 0 NOS, 0 loop inits
    0 output OLS, 0 LRR, 0 NOS, 0 loop inits
    0 link failures, 0 sync losses, 0 signal losses
    15031 Transmit B2B credit transitions to zero
    0 Receive B2B credit transitions to zero
    11192 2.5us TxWait due to lack of transmit credits
    Percentage TxWait not available for last 1s/1m/1h/72h: 0%/0%/0%/0%
    500 receive B2B credit remaining
    481 transmit B2B credit remaining
    481 low priority transmit B2B credit remaining
    Last clearing of "show interface" counters: 2d09h

 

上記の例では、平均フレーム サイズの計算は、
18624775031572 (バイト) / 14079632456 (フレーム) = 1323 バイト/フレーム、つまり約 1.3 KB/フレームです

 

計算を完了するには、
(16 Gbps x 50 km で kmあたり 8 BB_credits)/(フレームあたり 1323 平均バイト数 / 2150 バイト)
400/0.61 = 650 BB_credits

 

したがって、平均フレーム サイズが 1323 バイトの 50 km をトラバースする 16 Gbps リンクの場合、最低でも 650 BB_creditsが必要になります。

 

拡張バッファー間クレジットは、特定のインターフェイスに追加のバッファーを割り当てることによって可能になります。これらの追加バッファーは、未割り振りバッファー・プールから取り出されます。

16 Gbps、32 Gbps、64 Gbpsのスイッチング モジュールで拡張バッファー間クレジットを使用するには、 ENTERPRISE_PKGライセンス が必要です。

ほとんどのバッファーを使用できるようにするには、次の手順を実行します。

  • 異なるポートグループとモジュールでISLポートを構成します。
  • switchport mode f コマンドを使用して、エンド デバイス(F ポート)に接続されているポートをモード auto からモード F に設定します。

 

ポートfc1/5に最大BB_creditsを割り当てるには、次の手順を実行します。

  • port-group のポート fc1/6-8 を 1 BB_Credit以上に設定します。

    switch# configure
    Enter configuration commands, one per line.  End with CNTL/Z.
    switch(config)# interface fc1/6-8
    switch(config-if)# switchport fcrxbbcredit 1
  • ポートfc1/5を最大BB_credits 253に設定します。

    switch# configure
    Enter configuration commands, one per line.  End with CNTL/Z.
    switch(config)# interface fc1/5
    switch(config-if)# switchport fcrxbbcredit 253
  • ポートfc1/5のBB_credits割り当てを確認します。

    switch# show port-resources module 1
    .
    Port-Group 2
    Available dedicated buffers are 0
    --------------------------------------------------------------------
    Interfaces in the Port-Group    B2B Credit  Bandwidth  Rate Mode
                                      Buffers     (Gbps)
    --------------------------------------------------------------------
    fc1/5                               253       16.0     dedicated
    fc1/6                                 1       16.0      dedicated
    fc1/7                                 1       16.0      dedicated
    fc1/8                                 1       16.0      dedicated

 

Additional Information

Affected Products

Connectrix MDS-Series Hardware

Products

Connectrix MDS-Series
Article Properties
Article Number: 000224737
Article Type: How To
Last Modified: 27 May 2024
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.