Fabric OS Administrator's Guide v7.0.0 (53-1002148-02, June 2011)

454 Fabric OS Administrator’s Guide
53-1002148-02
Buffer credit management
22
Refer to the data in Table 79 on page 456 and Table 80 on page 457 to get the total ports in a
switch or blade, number of user ports in a port group, and the unreserved buffer credits available
per port group. The values reflect an estimate, and may differ from the supported values in
Table 80.
1. Determine the desired distance in kilometers of the switch-to-switch connection. This example
uses 50 km.
2. Determine the speed that you will use for the long-distance connection. This example uses 2
Gbps.
3. Use one of the following formulas to calculate the reserved buffers for distance:
If QoS is enabled:
(Reserved Buffer for Distance Y) = (X * LinkSpeed / 2) + 6 + 14
If QoS is not enabled:
(Reserved Buffer for Distance Y) = (X * LinkSpeed / 2) + 6
Where:
X = the distance determined in step 1 (in kilometers).
LinkSpeed = the speed of the link determined in step 2.
6 = the number of buffer credits reserved for Fabric Services, Multicast, and Broadcast
traffic. This is a static number.
14=the number of buffer credits reserved for QoS. This is a static number.
Based on the answers provided in steps 1 and 2, insert the numbers into the formula. The
formula should read as follows:
(50 km * 2 Gbps / 2) + 6 = 56 buffers, which is the number of buffers reserved for distance
Below are additional examples using different speeds all based on a distance of 50 km. The
distances and speeds are variables that can change based on how your network is set up:
If you have a distance of 50 km at 1 Gbps then, (50 km * 1 Gbps / 2) + 6 = 31 buffers
If you have a distance of 50 km at 2 Gbps then, (50 km * 2 Gbps / 2) + 6 = 56 buffers
If you have a distance of 50 km at 4 Gbps then, (50 km * 4 Gbps / 2) + 6 = 106 buffers
If you have a distance of 50 km at 8 Gbps then, (50 km * 8 Gbps / 2) + 6 = 206 buffers
If you have a distance of 50 km at 10 Gbps then, (50 km * 10 Gbps / 2) +6 = 256 buffers
If you have a distance of 50 km at 16 Gbps then, (50 km * 16 Gbps / 2) + 6 = 406 buffers
Example
Consider the Brocade 300, which has a single 24-port port group and a total of 676 buffer credits
for that port group. The maximum remaining number of buffer credits for the port group, after each
port reserves its eight buffer credits, is:
676 – (24 * 8) = 484 unreserved buffer credits
Where:
24 = the number of user ports in a port group retrieved from Table 79 on page 456.
8 = the number of reserved credits for each user port.
676 = the number of buffer credits available in the port group.