Skip to content

Commit

Permalink
Wiring up probe_rtt_congestion_window_gain in BBR.
Browse files Browse the repository at this point in the history
Bug: webrtc:8415
Change-Id: I2535522baf9020f48a283efcd410b3bb23493346
Reviewed-on: https://webrtc-review.googlesource.com/72004
Reviewed-by: Philip Eliasson <[email protected]>
Commit-Queue: Sebastian Jansson <[email protected]>
Cr-Commit-Position: refs/heads/master@{#23008}
  • Loading branch information
jonex authored and Commit Bot committed Apr 24, 2018
1 parent e61125c commit 693b446
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions modules/congestion_controller/bbr/bbr_network_controller.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 693b446

Please sign in to comment.