Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tcp: RFC6298 compliant TCP RTO calculation
Linux RTO calculation is adjusted to be RFC6298 Standard compliant. MinRTO is no longer added to the computed RTO, RTO damping and overestimation are decreased. In RFC 6298 Standard TCP Retransmission Timeout (RTO) calculation the calculated RTO is rounded up to the Minimum RTO (MinRTO), if it is less. The Linux implementation as a discrepancy to the Standard basically adds the defined MinRTO to the calculated RTO. When comparing both approaches, the Linux calculation seems to perform worse for sender limited TCP flows like Telnet, SSH or constant bit rate encoded transmissions, especially for Round Trip Times (RTT) of 50ms to 800ms. Compared to the Linux implementation the RFC 6298 proposed RTO calculation performs better and more precise in adapting to current network characteristics. Extensive measurements for bulk data did not show a negative impact of the adjusted calculation. Performance Comparison for sender-limited-flows: Rate: 10Mbit/s, Delay: 200ms, Delay Variation: 10ms, Time between each scheduled segment: 1s, Amount Data Segments: 300, Mean of 8 runs Mean Response Waiting Time [milliseconds] old 205.8 208.3 217.0 220.3 227.8 249.9 271.0 308.9 new 204.3 206.5 207.1 210.5 217.3 224.2 237.8 258.3 0.5 1 1.5 2 3 5 7 10 Packet Error Rate [percent] Detailed Analysis: https://docs.google.com/document/d/1pKmPfnQb6fDK4qpiNVkN8cQyGE4wYDZukcuZfR-BnnM/edit?usp=sharing Signed-off-by: Daniel Metz <[email protected]>
- Loading branch information