HomeFreeBSD

tcp: Make dsack stats available in netstat and also make sure its aware of…

Description

tcp: Make dsack stats available in netstat and also make sure its aware of TLP's.

DSACK accounting has been for quite some time under a NETFLIX_STATS ifdef. Statistics
on DSACKs however are very useful in figuring out how much bad retransmissions you
are doing. This is further complicated, however, by stacks that do TLP. A TLP
when discovering a lost ack in the reverse path will cause the generation
of a DSACK. For this situation we introduce a new dsack-tlp-bytes as well
as the more traditional dsack-bytes and dsack-packets. These will now
all display in netstat -p tcp -s. This also updates all stacks that
are currently built to keep track of these stats.

Reviewed by: tuexen
Sponsored by: Netflix Inc.
Differential Revision: https://reviews.freebsd.org/D32158

Details

Provenance
rrsAuthored on Oct 1 2021, 2:32 PM
Reviewer
tuexen
Differential Revision
D32158: tcp: Make dsack stats be aware of TLPs
Parents
rG5b40c0aa73c5: mixer(3): Fix buildworld after 38c857d956d61b811fb2047bc980b90d64a072bf .
Branches
Unknown
Tags
Unknown