Differences Between TxWait, Slowport-monitor, and Tx-credit-not-available
TxWait, slowport-monitor, and Tx-credit-not-available seem similar because they indicate egress congestion by measuring the time at zero remaining-Tx-B2B-credits. However, they each have slightly different meanings with different granularities. TxWait increments every 2.5 μs when at zero remaining-Tx-B2B-credits (not configurable). Slowport-monitor indicates a continuous time at zero remaining-Tx-B2B-credits starting at 1 ms up to 500ms (configurable). Tx-credit-not-available shows 100 ms of continuous zero remaining-Tx-B2B-credits duration (not configurable). TxWait、slowport-monitor 和 Tx-credit-not-available 似乎很相似,因为它们都是通过测量剩余 Tx-B2B 信元为零时的时间来指示出口拥塞。但是,它们的含义和粒度略有不同。当剩余 Tx-B2B 信元为零时,TxWait 每 2.5 μs 递增一次(不可配置)。Slowport-monitor 显示剩余 Tx-B2B 信元为零时的连续时间,从 1 毫秒到 500 毫秒不等(可配置)。Tx-credit-not-available 显示 100 毫秒的连续零剩余 Tx-B2B 信元时间(不可配置)。
Consider Figure 3-3, which shows the remaining-Tx-B2B-credits on a switchport over the last 1-second. At ~250ms, the remaining-Tx-B2B-credits fall to zero and recover to a non-zero value at 410 ms. The reported value of these counters is as follows: 图 3-3 显示了一个交换端口在过去 1 秒内的剩余 Tx-B2B 信元。在 ~250 毫秒时,剩余-Tx-B2B-credits 下降到零,在 410 毫秒时恢复到非零值。这些计数器的报告值如下:
Figure 3-3 TxWait, slowport-monitor, and tx-cred