From 693b446ecac861dad22ccf3a11cb72668abdf9e5 Mon Sep 17 00:00:00 2001 From: Sebastian Jansson Date: Tue, 24 Apr 2018 12:34:15 +0200 Subject: [PATCH] Wiring up probe_rtt_congestion_window_gain in BBR. Bug: webrtc:8415 Change-Id: I2535522baf9020f48a283efcd410b3bb23493346 Reviewed-on: https://webrtc-review.googlesource.com/72004 Reviewed-by: Philip Eliasson Commit-Queue: Sebastian Jansson Cr-Commit-Position: refs/heads/master@{#23008} --- modules/congestion_controller/bbr/bbr_network_controller.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/congestion_controller/bbr/bbr_network_controller.cc b/modules/congestion_controller/bbr/bbr_network_controller.cc index edacafd31e..dec762770d 100644 --- a/modules/congestion_controller/bbr/bbr_network_controller.cc +++ b/modules/congestion_controller/bbr/bbr_network_controller.cc @@ -68,8 +68,6 @@ constexpr int64_t kProbeRttTimeMs = 200; // within |kRoundTripsWithoutGrowthBeforeExitingStartup| rounds, the connection // will exit the STARTUP mode. const double kStartupGrowthTarget = 1.25; -// Coefficient of target congestion window to use when basing PROBE_RTT on BDP. -const double kModerateProbeRttMultiplier = 0.75; // Coefficient to determine if a new RTT is sufficiently similar to min_rtt that // we don't need to enter PROBE_RTT. const double kSimilarMinRttThreshold = 1.125; @@ -465,7 +463,7 @@ DataSize BbrNetworkController::GetTargetCongestionWindow(double gain) const { DataSize BbrNetworkController::ProbeRttCongestionWindow() const { if (config_.probe_rtt_based_on_bdp) { - return GetTargetCongestionWindow(kModerateProbeRttMultiplier); + return GetTargetCongestionWindow(config_.probe_rtt_congestion_window_gain); } return kMinimumCongestionWindow; }