![]() | Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition | ||
|
|
![]() |
||||||||||||||||||||
Solution Type Problem Resolution Sure Solution 2024681.1 : Brocade - High Increase of Time TX Credit Zero tim_txcrd_z - Not Enough Buffer Credits
In this Document
Created from <SR 3-10816551011> Applies to:Brocade 300 Switch - Version All Versions and laterInformation in this document applies to any platform. SymptomsThere are two Brocades 300 (FOS 7.1.1a) on a Fabric (each switch on a different site) connected by two ISL (8GB , port 14 and 15) configured as L0 Index Port Address Media Speed State Proto
================================================== 14 14 010e00 id N8 Online FC E-Port 10:00:00:27:f8:93:XX:XX "brocade2" 15 15 010f00 id N8 Online FC E-Port 10:00:00:27:f8:93:XX:XX "brocade2" (upstream) brocade1:admin> islshow
1: 14-> 15 10:00:00:27:f8:93:XX:XX 3 brocade2 sp: 8.000G bw: 8.000G 2: 15-> 14 10:00:00:27:f8:93:XX:XX 3 brocade2 sp: 8.000G bw: 8.000G
Example with port 14: brocade1:admin> date; portstatsshow 14 | grep tim_txcrd_z
Tue Jun 2 09:10:52 Localtime 2015 tim_txcrd_z 271710676 Time TX Credit Zero (2.5Us ticks) tim_txcrd_z_vc 0- 3: 0 0 488631 8426304 tim_txcrd_z_vc 4- 7: 9771658 253024083 0 0 tim_txcrd_z_vc 8-11: 0 0 0 0 tim_txcrd_z_vc 12-15: 0 0 0 0 Some time later (78 secs on this case) collect the same output: brocade1:admin> date; portstatsshow 14 | grep tim_txcrd_z
Tue Jun 2 09:12:10 Localtime 2015 tim_txcrd_z 271964488 Time TX Credit Zero (2.5Us ticks) tim_txcrd_z_vc 0- 3: 0 0 496423 8585307 tim_txcrd_z_vc 4- 7: 9858675 253024083 0 0 tim_txcrd_z_vc 8-11: 0 0 0 0 tim_txcrd_z_vc 12-15: 0 0 0 0
The average number of ticks per second on this port 14 is 271964488 - 271710676 = 253812 --> /78 secs = 3254 ticks/sec on port 14
brocade1:admin> portcfglongdistance 14 LE 1
portcfglongdistance vc_translation_link_init conflicts with portcfgfillword configuration. Valid configurations are: vc_translation_link_init = 0, fillword = IDLE_IDLE or vc_translation_link_init = 1 fillword=ARB_ARB, IDLE_ARB, AA_THEN_IA This error is because these configuration values needs to be changed before running portcfglongdistance, this is explained on Brocade documentation - "Fabric OS Administrator’s Guide FOS 7.2.0" Chapter 5 "Buffer-to-Buffer Credits and Credit Recovery" and Chapter 25 "Managing Long-Distance Fabrics" , from page 90 - "Fabric OS Command Reference Supporting Fabric OS v7.1.0" see command portCfgLongDistance page 707 vc_translation_link_init - See also this other document about Use command portcfgshow to see configured values on each port, ie on this case: portcfgshow :
Ports of Slot 0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ----------------------+---+---+---+---+-----+---+---+---+-----+---+---+---+-----+---+---+--- Speed AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN AN Fill Word(On Active) 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 0 Fill Word(Current) 3 3 3 3 3 3 3 3 3 3 3 3 3 3 0 0 AL_PA Offset 13 .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Trunk Port ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON Long Distance .. .. .. .. .. .. .. .. .. .. .. .. .. LE .. .. VC Link Init .. .. .. .. .. .. .. .. .. .. .. .. .. ON .. .. Locked L_Port - - - - - - - - - - - - - - - - Locked G_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Disabled E_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Locked E_Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ISL R_RDY Mode .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. RSCN Suppressed .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Persistent Disable .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. LOS TOV enable .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. NPIV capability ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON ON NPIV PP Limit 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 126 QOS Port AE AE AE AE AE AE AE AE AE AE AE AE AE .. AE AE Mirror Port .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Rate Limit .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Credit Recovery ON ON ON ON ON ON ON ON ON ON ON ON ON ON .. .. Fport Buffers .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Port Auto Disable .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. CSCTL mode .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Fault Delay 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Other than that, there are no other errors on these ports, ie on brocade1 switch: porterrshow :
frames enc crc crc too too bad enc disc link loss loss frjt fbsy c3timeout pcs tx rx in err g_eof shrt long eof out c3 fail sync sig tx rx err 14: 2.0g 758.5m 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 15: 2.0g 758.8m 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
HW infrastructure between both sites has been checked, fibre attenuation is between expected values, no problem found here. There are long distance SFP on these ports, no issue found with SFPs, ie: =============
Port 14: ============= Identifier: 3 SFP Connector: 7 LC Transceiver: 5401001200000000 2,4,8_Gbps SM lw Long_dist Encoding: 1 8B10B Baud Rate: 85 (units 100 megabaud) Length 9u: 10 (units km) Length 9u: 100 (units 100 meters) Length 50u (OM2): 0 (units 10 meters) Length 50u (OM3): 0 (units 10 meters) Length 62.5u:0 (units 10 meters) Length Cu: 0 (units 1 meter) Vendor Name: BROCADE Vendor OUI: 00:05:1e Vendor PN: 57-1000027-01 Vendor Rev: A Wavelength: 1310 (units nm) Options: 003a Loss_of_Sig,Tx_Fault,Tx_Disable BR Max: 0 BR Min: 0 Serial No: UDN11317B100137 Date Code: 130429 DD Type: 0x68 Enh Options: 0xb0 Status/Ctrl: 0xa2 Alarm flags[0,1] = 0x5, 0x0 Warn Flags[0,1] = 0x5, 0x0 ChangesThe distance between both switches on the fabric was 800 meter, but it has changed recently to 1400 meters. CauseThe Buffer Credit on port 14 and 15 are 8, as these are configured as E ports L0 Site1 brocade1:admin> portbuffershow
User Port Lx Max/Resv Avg Buffer Usage & FrameSize Buffer Needed Link Remaining Port Type Mode Buffers Tx Rx Usage Buffers Distance Buffers ---- ---- ---- ------- ---------------------------- ------ ------- --------- ---------- 0 F - 8 2(2112) 1(1280) 8 - - 1 F - 8 1(1848) - (1004) 8 - - 2 F - 8 - ( 796) 1(1992) 8 - - 3 F - 8 - ( 964) 1(1648) 8 - - 4 F - 8 - ( - ) - ( - ) 8 - - 5 F - 8 - ( - ) - ( - ) 8 - - 6 F - 8 - ( - ) - ( - ) 8 - - 7 F - 8 - ( 72) 1(1740) 8 - - 8 - 8 - ( - ) - ( - ) 0 - - 9 - 8 - ( - ) - ( - ) 0 - - 10 - 8 - ( - ) - ( - ) 0 - - 11 - 8 - ( - ) - ( - ) 0 - - 12 - 8 - ( - ) - ( - ) 0 - - 13 LE 46 - ( - ) - ( - ) 0 - - 14 E - 8 1(1932) - ( 792) 17 17 <2km 15 E - 8 1(1924) - ( 812) 17 17 <2km 16 - 8 - ( - ) - ( - ) 0 - - 17 - 8 - ( - ) - ( - ) 0 - - 18 - 8 - ( - ) - ( - ) 0 - - 19 - 8 - ( - ) - ( - ) 0 - - 20 - 8 - ( - ) - ( - ) 0 - - 21 - 8 - ( - ) - ( - ) 0 - - 22 - 8 - ( - ) - ( - ) 0 - - 23 - 8 - ( - ) - ( - ) 0 - - 428 Site2 brocade2:admin> portbuffershow User Port Lx Max/Resv Avg Buffer Usage & FrameSize Buffer Needed Link Remaining SolutionProceeding with below plan of action will be good starting point with resolving all issues. From page 589 "Configuring an extended ISL" of "Fabric OS Administrator’s Guide FOS 7.2.0"
If you are not comfortable with performing above action plan, you can engage Oracle ACS to take care of that. About how to contact and the many benefits to using Oracle ACS, see Oracle Advanced Customer Support Services (3) On this particular case, as there was a second redundant fabric (with another pair of switches) , we configured successfully on the fly (no switchdisable) the ports on the first fabric just disabling the port , change configuration parameters and enabling again, on each port of each switch of the ISL link, ie for port 14 : portdisable 14
portcfgfillword 14 3 portcfgcreditrecovery --enable 14 portcfglongdistance 14 LE 1 portenable 14
brocade2:admin> portbuffershow
User Port Lx Max/Resv Avg Buffer Usage & FrameSize Buffer Needed Link Remaining Port Type Mode Buffers Tx Rx Usage Buffers Distance Buffers ---- ---- ---- ------- ---------------------------- ------ ------- --------- ---------- 0 F - 8 1(1712) - ( 116) 8 - - 1 F - 8 1(1644) - ( 848) 8 - - 2 F - 8 1(1032) 1(1828) 8 - - 3 F - 8 - ( - ) - ( - ) 8 - - 4 F - 8 - ( - ) - ( - ) 8 - - 5 F - 8 - ( - ) - ( - ) 8 - - 6 F - 8 - ( - ) - ( - ) 8 - - 7 - 8 - ( - ) - ( - ) 0 - - 8 - 8 - ( - ) - ( - ) 0 - - 9 - 8 - ( - ) - ( - ) 0 - - 10 - 8 - ( - ) - ( - ) 0 - - 11 - 8 - ( - ) - ( - ) 0 - - 12 - 8 - ( - ) - ( - ) 0 - - 13 LE 46 - ( - ) - ( - ) 0 - - 14 E LE 46 6(1208) 9(1648) 46 46 10km 15 E LE 46 8(1456) 7(1400) 46 46 10km 16 - 8 - ( - ) - ( - ) 0 - - 17 - 8 - ( - ) - ( - ) 0 - - 18 - 8 - ( - ) - ( - ) 0 - - 19 - 8 - ( - ) - ( - ) 0 - - 20 - 8 - ( - ) - ( - ) 0 - - 21 - 8 - ( - ) - ( - ) 0 - - 22 - 8 - ( - ) - ( - ) 0 - - 23 - 8 - ( - ) - ( - ) 0 - - 370 tim_txcrd_z 1413 Time TX Credit Zero (2.5Us ticks)
tim_txcrd_z_vc 0- 3: 0 0 1413 0 tim_txcrd_z_vc 4- 7: 0 0 0 0 tim_txcrd_z_vc 8-11: 0 0 0 0 tim_txcrd_z_vc 12-15: 0 0 0 0 phy_stats_clear_ts 06-23-2015 Localtime Tue 09:38:09 Timestamp of phy_port stats clear lgc_stats_clear_ts 06-23-2015 Localtime Tue 09:38:09 Timestamp of lgc_port stats clear
References<NOTE:1613159.1> - CRC Errors On ISL 8GB Port On Brocade300 - Vc_translation_link_init = 0 And Fillword = 0 = IDLE_IDLE<NOTE:1518936.1> - How to Display FC Switches B2B (Buffer to Buffer) Credits Attachments This solution has no attachment |
||||||||||||||||||||
|