-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Using the port_xmit_wait counter available in the sysfs IB counters we can assess the lost BW on the port. This will probably be used with the tool's sample time, enabling us to see the congestion on a per-sample basis.
The conversion formula depends on the generation - but we'll concentrate on the newer gens which uses the same formula:

Lost Bytes can be determined by the device's generation (Modern generations set the tick to 7, legacy will use 31).

Bottom line - for newer gens, you should be using the formula:
(port_xmit_wait[t2-t1] * (7+1) * 8) / (sample_time [t2-t1] * 1E-9)
LMK if you have any questions.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request