CC_HTCP(4)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

✨ NAME ✨

cc_htcp β€” H-TCP Congestion Control Algorithm. That’s the whole name, bestie πŸ’…. You’re on the cc_htcp(4) page from the Kernel Interfaces Manual, and we’re about to make congestion control make sense.


🌸 DESCRIPTION 🌸

So the H-TCP congestion control algorithm was designed to provide increased throughput in fast and long-distance networks. It tries to maintain fairness when it’s competing with legacy NewReno TCP in lower speed scenarios where NewReno is able to operate adequately. No cap.

The congestion window is increased as a function of the time elapsed since the last congestion event. The window increase algorithm operates like NewReno for the first second after a congestion event, and then switches to a high-speed mode based on a quadratic increase function. It’s giving β€œchill first, then go fast” energy 😭πŸ”₯.

The implementation was done in a clean-room fashion, and is based on the Internet Draft and other documents referenced in the β€œSEE ALSO” section below. Respect the receipts, fr fr 🫢.

πŸŽ€ MIB Variables πŸŽ€

The algorithm exposes the following tunable variables in the net.inet.tcp.cc.htcp branch of the sysctl(3) MIB:

  • adaptive_backoff β€” Controls use of the adaptive backoff algorithm, which is designed to keep network queues non-empty during congestion recovery episodes. Default is 0 (disabled).
  • rtt_scaling β€” Controls use of the RTT scaling algorithm, which is designed to make congestion window increase during congestion avoidance mode invariant with respect to RTT. Default is 0 (disabled).

πŸ”₯ SEE ALSO πŸ”₯


πŸ’– ACKNOWLEDGEMENTS πŸ’–

Development and testing of this software were made possible in part by grants from the FreeBSD Foundation and Cisco University Research Program Fund at Community Foundation Silicon Valley. Iconic support, honestly πŸ‘‘.


πŸ¦‹ HISTORY πŸ¦‹

The cc_htcp congestion control module first appeared in FreeBSD 9.0.

The module was first released in 2007 by James Healy and Lawrence Stewart whilst working on the NewTCP research project at Swinburne University of Technology’s Centre for Advanced Internet Architectures, Melbourne, Australia, which was made possible in part by a grant from the Cisco University Research Program Fund at Community Foundation Silicon Valley. More details are available at:

http://caia.swin.edu.au/urp/newtcp/

πŸ‘‘ AUTHORS πŸ‘‘

  • The cc_htcp congestion control module was written by James Healy <jimmy@deefa.com> and Lawrence Stewart <lstewart@FreeBSD.org>.
  • This manual page was written by Lawrence Stewart <lstewart@FreeBSD.org> and David Hayes <david.hayes@ieee.org>.

xoxo, Debian β€” May 13, 2021 β€” CC_HTCP(4) πŸ’…πŸ’–

πŸ“¦ where this page comes from