Fabric OS Administrator’s Guide
447
53-1001763-02
Buffer credit management
20
Fibre Channel gigabit values reference definition
Before you can calculate the buffer requirement, note the following Fibre Channel gigabit values
reference definition:
•
1.0625 for 1 Gbps
•
2.125 for 2 Gbps
•
4.25 for 4 Gbps
•
8.5 for 8 Gbps
Allocating buffer credits based on full-size frames
Assuming that the frame size is full, one buffer credit allows a device to send one payload up to
2112 bytes (2148 with headers). Assuming that each payload is 2112, you need one credit per 1
km of link length at 2 Gbps (smaller payloads require additional BB credits to maintain link
utilization). For information on allocating buffer credits on average size frames, see
“Allocating
buffer credits based on average-size frames”
on page 449
The final frame size must be a multiple of 4 bytes. If the data (payload) needs to segment, it will be
padded with 1 to 3 “fill-bytes” to achieve an overall 4-byte frame alignment. The standard frame
header size is 24 bytes. If applications require extensive control information, up to 64 additional
bytes (for a total of an 88-byte header) can be included. Because the total frame size cannot
exceed the maximum of 2,148 bytes, the additional header bytes will subtract from the data
segment size by as much as 64 bytes (per frame). This is why the maximum data (payload) size is
2,112 (because [2,112 – 64] = 2,048, which is 2 kbs of data). The final frame, after it is
constructed, is passed through the 8-byte to 10-byte conversion process.
The following table describes Fibre Channel data frames.
You can allocate buffer credits based on distance using the portCfgLongDistance command. The
Long distance link modes
allow you to select the Dynamic mode (LD) or the Static Long-distance
mode (LS) to calculate the BB credits.
For LD, the estimated distance in kilometers is the smaller of the distance measured during port
initialization versus the
desired_distance parameter, which
is required when a port is configured as
an LD or an LS mode link. It is best practice to use LS over LD. The assumption of Fibre Channel
payloads consistently being 2,112 bytes is not realistic in practice. To gain the proper number of BB
credits using the LS mode, there must be enough BB credits available in the pool because Fabric
OS will check before accepting a value.
TABLE 91
Fibre Channel data frames
Fibre Channel Frame fields
Field size
Start of frame
4 bytes
32 bits
Standard frame header
24 bytes
192 bits
Data (payload)
0 - 2,112 bytes
0 - 16,896 bits
CRC
4 bytes
32 bits
End of frame
4 bytes
32 bits
Total (Nbr bits/frame)
36 - 2,148 bytes
288 - 17,184 bits
Содержание 53-1001763-02
Страница 1: ...53 1001763 02 13 September 2010 Fabric OS Administrator s Guide Supporting Fabric OS v6 4 0 ...
Страница 4: ...iv Fabric OS Administrator s Guide 53 1001763 02 ...
Страница 24: ...xxiv Fabric OS Administrator s Guide 53 1001763 02 ...
Страница 28: ...xxviii Fabric OS Administrator s Guide 53 1001763 02 ...
Страница 32: ...xxxii Fabric OS Administrator s Guide 53 1001763 02 ...
Страница 40: ...xl Fabric OS Administrator s Guide 53 1001763 02 ...
Страница 42: ...2 Fabric OS Administrator s Guide 53 1001763 02 ...
Страница 54: ...14 Fabric OS Administrator s Guide 53 1001763 02 High availability of daemon processes 1 ...
Страница 74: ...34 Fabric OS Administrator s Guide 53 1001763 02 Basic connections 2 ...
Страница 102: ...62 Fabric OS Administrator s Guide 53 1001763 02 Audit log configuration 3 ...
Страница 156: ...116 Fabric OS Administrator s Guide 53 1001763 02 The authentication model using RADIUS and LDAP 5 ...
Страница 214: ...174 Fabric OS Administrator s Guide 53 1001763 02 Management interface security 7 ...
Страница 228: ...188 Fabric OS Administrator s Guide 53 1001763 02 Brocade configuration form 8 ...
Страница 276: ...236 Fabric OS Administrator s Guide 53 1001763 02 Creating a logical fabric using XISLs 10 ...
Страница 404: ...364 Fabric OS Administrator s Guide 53 1001763 02 ...
Страница 440: ...400 Fabric OS Administrator s Guide 53 1001763 02 Performance data collection 17 ...
Страница 464: ...424 Fabric OS Administrator s Guide 53 1001763 02 Disabling bottleneck detection on a switch 18 ...
Страница 480: ...440 Fabric OS Administrator s Guide 53 1001763 02 F_Port masterless trunking 19 ...
Страница 494: ...454 Fabric OS Administrator s Guide 53 1001763 02 Buffer credit recovery 20 ...
Страница 560: ...520 Fabric OS Administrator s Guide 53 1001763 02 Port indexing on the Brocade DCX 4S backbone C ...
Страница 574: ...534 Fabric OS Administrator s Guide 53 1001763 02 Hexadecimal overview E ...