Skip to main content
NetApp Knowledge Base

What does the "tim_txcrd_z" mean from the "portstatshow" command output on Brocade switch?

Views:
1,361
Visibility:
Public
Votes:
2
Category:
thirdparty
Specialty:
brocade
Last Updated:

Applies to

  • Brocade SAN switch
  • Slow Drain

Answer

  • The "tim_txcrd_z "(Time TX Credit Zero (2.5Us ticks))parameter in the "portstatshow" command output means the following:
    • The number of times that the port was unable to transmit frames because the transmit BB (buffer-to-buffer)credit was zero.
    • The purpose of this statistic is to detect congestion or a device affected by latency.
    • This parameter is sampled at intervals of 2.5 microseconds, and the counter is incremented if the condition is true. Each sample represents 2.5 microseconds of time with zero Tx BB Credit.
    • An increment of this counter means that the frames could not be sent to the attached device for 2.5 microseconds, indicating degraded performance.
  • To identify a slow drain device:
  • For a single link;

Take the counter "stat_ftx" and the "tim_txcrd_z" counters and put them in the following calculation.
tim_txcrd_z / frames tx = YYY * 100 = ZZZ %

  • For a trunk link:

Take the SUM of all members of the trunk of stat_ftx and the single tim_txcrd_z counters and put them in the following calculation:
tim_txcrd_z / (SUM of all members frames tx) = YYY * 100 = ZZZ %

Note: A trunk is showing different counters.The tim_txcrd_z counter is on each trunk member the same, this displays the logical tim_txcrd_z (all members together).The stat_ftx counter is on each trunk member different and displays the counter on a per-member basis.

According to the Brocade performance guidelines, a ratio of approaching 10% or greater should be considered as a red flag and above 20% is becoming a real issue, and further investigation is needed.

Additional Information

additionalInformation_text
NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.