Command Reference Guide

624 Fabric OS Command Reference
53-1002746-01
portBufferCalc
2
portBufferCalc
Calculates the number of buffers required per port.
SYNOPSIS portbuffercalc [slot/]port [-distance distance]
[-speed speed] [-framesize framesize]
portBufferCalc --help
DESCRIPTION Use this command to calculate how many buffers are required for a given distance, speed, and
framesize. You can use the same number of buffers and port speed, when configuring the
portCfgLongDistance command. If no options are specified, then the current port's configuration is
considered to calculate the number of buffers required.
NOTES Buffers required for the given frame size, distance and speed is calculated using the below formula:
1 buffer is required for 1 km at 2G (2048 framesize).
8 buffers are required for 1 km at 16G (2048 framesize).
OPERANDS This command supports the following operands:
-distance distance
Specifies the desired distance with valid range of 10Km to 1500Km.
-speed speed
Specifies the port speed. The valid values are:
1
Specifies port speed as 1Gbps.
2
Specifies port speed as 2Gbps.
4
Specifies port speed as 4Gbps.
8
Specifies port speed as 8Gbps.
10
Specifies port speed as 10Gbps.
16
Specifies port speed as 16Gbps.
-framesize framesize
Specifies the desired framesize in bytes with a maximum value 2048.
--help
Displays command usage.
EXAMPLES To calculate the buffers required per port:
switch:admin> portbuffercalc 9/4 \
-distance 100 -speed 8 -framesize 512
1606 buffers required for 100km at 8G and framesize
of 512 bytes
SEE ALSO portCfgLongDistance