CC_HTCP(4)

πŸ’… CC_HTCP β€” H-TCP Congestion Control Algorithm

okay so bestie, welcome to the Kernel Interfaces Manual, section 4 πŸŽ€ this is cc_htcp, the H-TCP Congestion Control Algorithm, and she is literally built different. let's get into it ✨


πŸ¦‹ NAME πŸ¦‹

cc_htcp β€” the H-TCP Congestion Control Algorithm. that's her. that's the whole name. periodt πŸ’…


🌸 DESCRIPTION 🌸

so the H-TCP congestion control algorithm was designed to give you increased throughput in fast and long-distance networks. main character energy fr fr πŸ”₯

and the way that she's thoughtful?? she attempts to maintain fairness when she's competing with legacy NewReno TCP in those lower speed scenarios where NewReno is actually able to operate adequately. like, she's not gonna steamroll the old guard, she's gonna share the vibe check 🀝

here's the tea on how the congestion window moves: the congestion window is increased as a function of the time elapsed since the last congestion event ⏳

and the window increase algorithm?? it operates like NewReno for the first second after a congestion event, and then β€” after that one second β€” she switches to a high-speed mode based on a quadratic increase function πŸš€ not me transitioning into my high-speed era after exactly one second.

ngl the implementation was done in a clean-room fashion πŸ™ˆ and it's based on the Internet Draft and other documents referenced in the β€œSEE ALSO” section below. no copying, all original, we love to see it πŸ’–

✨ MIB Variables ✨

the algorithm exposes these 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 🫢. the 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 πŸŒ€. the default is 0 (disabled).

πŸ” SEE ALSO πŸ”

go read these besties, they're all iconic πŸ‘‡

and the ✨ literature ✨:

  • D. Leith and R. Shorten, H-TCP: TCP Congestion Control for High Bandwidth-Delay Product Paths, http://tools.ietf.org/id/draft-leith-tcp-htcp-06.txt.
  • D. Leith, R. Shorten, and T. Yee, β€œH-TCP: A framework for congestion control in high-speed and long-distance networks”, Proc. PFLDnet, 2005.
  • G. Armitage, L. Stewart, M. Welzl, and J. Healy, β€œAn independent H-TCP implementation under FreeBSD 7.0: description and observed behaviour”, SIGCOMM Comput. Commun. Rev., 3, 38, 27-38, July 2008.

πŸ’– 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. shoutout, we love funding that actually funds 🫢✨


πŸ“œ 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 they were 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> ✍️


and that's the whole page bestie πŸŽ€ this one's a Debian situation, dated September 15, 2011 β€” so yes she's an older queen but she still ate, no cap πŸ’œβ­ bye pookie πŸ¦‹

πŸ“¦ where this page comes from