HomeFreeBSD

tcp: HPTS performance enhancements

Description

tcp: HPTS performance enhancements

HPTS drives both rack and bbr, and yet there have been many complaints
about performance. This bit of work restructures hpts to help reduce CPU
overhead. It does this by now instead of relying on the timer/callout to
drive it instead use user return from a system call as well as lro flushes
to drive hpts. The timer becomes a backstop that dynamically adjusts
based on how "late" we are.

Reviewed by: tuexen, glebius
Sponsored by: Netflix Inc.
Differential Revision: https://reviews.freebsd.org/D31083

(cherry picked from commit d7955cc0ffdf9fb58013245a6f181c757574ea0a)

Details

Provenance
rrsAuthored on Jul 6 2021, 7:23 PM
tuexenCommitted on Jul 13 2021, 7:58 PM
Reviewer
tuexen
Differential Revision
D31083: tcp: HPTS performance enhancements.
Parents
rG3b2aeae7260b: tcp: Address goodput and TLP edge cases.
Branches
Unknown
Tags
Unknown