Page MenuHomeFreeBSD

TCP Cubic: Have Fast Convergence Heuristic work for ECN, and align concave region
ClosedPublic

Authored by rscheff on Aug 6 2020, 3:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Nov 5, 3:39 AM
Unknown Object (File)
Oct 17 2024, 7:03 AM
Unknown Object (File)
Oct 6 2024, 12:45 PM
Unknown Object (File)
Oct 1 2024, 6:18 PM
Unknown Object (File)
Sep 29 2024, 8:16 PM
Unknown Object (File)
Sep 27 2024, 5:10 AM
Unknown Object (File)
Sep 6 2024, 10:47 PM
Unknown Object (File)
Aug 26 2024, 6:24 PM
Subscribers

Details

Summary

While looking closely at the behavior with D25746, we found
that cubic would regularly burst out new data at line rate right
after the very first time, slow-start ends at the start of a session.

This was due to the cubic concave region not being aligned nicely when
setting ssthresh to 50% rather than 70%, and retaining the higher prior
cwnd as max_cwnd. Adjusting max_cwnd by 70% aligns the cubic concave
region nicely.

Minor improvements include retaining the cubic t_last_cong during ECN
as when the ECN was processed, rather than when congestion recovery (of ECN)
finishes, and moving the Fast Convergence Heuristic from post_recovery
into when ssthresh is recalculated at the beginning of the congestion.

Thanks to Cheng Cui for finding these issues and providing necessary fixes.

Test Plan

Performed multiple unit tests and inspected the evolution
of the cubic-internal state across packet loss scenarios.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable