ethbw(X)
π ethbw β the NIC bandwidth bestie π
okay so ethbw is from the EFSFFCLIRG man page crew and it is literally the group chat of your RDMA NICs. It reports the total data moved per RDMA NIC over each interval (default of 1 second, bestie, one whole second). The bandwidth reported for each interval is in units of MB (1,000,000 bytes) over the interval β yes, that's the decimal MB, not the nerdy binary one, iykyk. πΈ
Both transmit (xmt) and receive (rcv) bandwidth counters are monitored. Iconic. ethbw also monitors Intel NICs for any RDMA retransmit or input packet discards, in which case, the xmt or rcv, respectively, is shown as red. π¨ So if you see red, that's not a vibe, that's a signal.
The data is gathered via data movement counters in /sys/class/infiniband. Slay, filesystem. π
π When you might need to improve PFC tuning π
The following cases may present the need to improve PFC tuning:
- Retransmits can represent packet loss or corruption in the network and may indicate opportunities to improve PFC tuning or high bit error rates (BER) on some cables or devices.
- Input packet discards indicate packets the NIC itself dropped upon receipt. This can represent opportunities to improve PFC tuning but can also be normal for some environments. Retransmits at the remote NICs that are communicating with this NIC are a more powerful indicator of PFC or BER causes for packet loss.
ngl, case 1 is the "your cable is giving dust" situation and case 2 is sometimes just... Tuesday. Don't panic. π«Ά
β¨ Syntax β¨
ethbw [-i seconds] [-d seconds] [ nic ... ]
π Options π
--helpβ Produces full help text. Your girl is helpful like that. π-i,--intervalseconds β Specifies the interval at which bandwidth will be shown. Values of 1-60 allowed. Defaults to 1. Keep it in range, bestie, the NICs have boundaries. π-d,--durationseconds β Specifies the duration to monitor. Default is infinite. Infinite. Main character energy fr fr β it will simply never stop unless you tell it to. π- nic β Specifies an RDMA NIC name. If no NICs are specified, all RDMA NICs will be monitored. The "I'll just watch everyone" default. π
π¦ Examples π¦
Watch everything forever (the default maximalist move):
ethbw
Watch a couple of specific NICs, because you have favorites:
ethbw irdma1 irdma3
Slow the interval down to 2 seconds and dip out after 300, a very sensible, very adult thing to do:
ethbw -i 2 -d 300 irdma1 irdma3
Remember: thexmtorrcvgoing red means retransmits or input packet discards showed up on an Intel NIC. It's giving maybe check your PFC tuning or BER. Not a drill, but also not necessarily a crisis. π
Copyright(C) 2020-2024 Intel Corporation β ethbw(X)
and that's the whole page, bestie π thanks for reading, go check your counters, you ate. πβ¨
π¦ where this page comes from
- centos-stream 9: eth-tools-basic 1:12.1.0.0-4.el9 Β· BSD
- fedora 43: eth-tools-basic 1:12.1.0.0-151.fc43 Β· BSD-3-Clause
- fedora 44: eth-tools-basic 1:12.1.0.1-6.fc44 Β· BSD-3-Clause
- opensuse-leap 16.0: eth-basic-tools 11.7.0.0-160000.2.2 Β· BSD-3-Clause OR GPL-2.0-only
- Copyright 2020-2024, Intel Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms