Can net.iflib.min_tx_latency=0 introduce an unbounded amount of latency?

Ryan Stone rysto32 at gmail.com
Sun Mar 22 18:30:54 UTC 2020


I've been tracking down a bug at work that appears to be due to
excessive latency introduced on the TX side of a TCP connection.  In
looking through the iflib code, I noticed the tunable
net.iflib.min_tx_latency.  My reading of the iflib code is that if a
packet is enqueued to a tx ring but not posted (when
min_tx_latency=0), then iflib can introduce an unbounded amount of
latency if the ring is idle.  Is my reading of the code correct?


More information about the freebsd-net mailing list