Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Issue 2966403002: Added implementation of three classes in BBR,with unit-tests. (Closed)

Created:
3 years, 5 months ago by gnish1
Modified:
3 years, 4 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, stefan-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Added implementation of three classes: 1) MaxBandwidthFilter 2) MinRttFilter 3) CongestionWindow Added unit-tests for those classes. BUG=webrtc:7713 Review-Url: https://codereview.webrtc.org/2966403002 Cr-Commit-Position: refs/heads/master@{#19067} Committed: https://chromium.googlesource.com/external/webrtc/+/157cbbd3a734150aa702a4b46cd6d1eb10dc7be8

Patch Set 1 #

Total comments: 38

Patch Set 2 : Updated according to reviews. #

Total comments: 6

Patch Set 3 : Minor changes #

Total comments: 16

Patch Set 4 : Changed names of some variables. #

Total comments: 2

Patch Set 5 : Variables' names changed, added units in which they are measured. #

Total comments: 1

Patch Set 6 : Missed some variables, now it should be all good. #

Total comments: 3

Patch Set 7 : Unittests. #

Patch Set 8 : Bot fix. #

Patch Set 9 : Added logic for entering/exiting modes in BBR, added new bandwidth filter. #

Messages

Total messages: 32 (13 generated)
gnish1
3 years, 5 months ago (2017-07-06 11:45:03 UTC) #3
philipel
https://codereview.webrtc.org/2966403002/diff/1/webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.cc File webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.cc (right): https://codereview.webrtc.org/2966403002/diff/1/webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.cc#newcode21 webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.cc:21: const int64_t kStartingCongestionWindow = 6000; Add comments about what ...
3 years, 5 months ago (2017-07-06 12:15:16 UTC) #4
stefan-webrtc
https://codereview.webrtc.org/2966403002/diff/1/webrtc/modules/remote_bitrate_estimator/test/estimators/min_rtt_filter.cc File webrtc/modules/remote_bitrate_estimator/test/estimators/min_rtt_filter.cc (right): https://codereview.webrtc.org/2966403002/diff/1/webrtc/modules/remote_bitrate_estimator/test/estimators/min_rtt_filter.cc#newcode20 webrtc/modules/remote_bitrate_estimator/test/estimators/min_rtt_filter.cc:20: min_rtt_ = min_rtt; This doesn't look like a min ...
3 years, 5 months ago (2017-07-06 13:39:25 UTC) #5
gnish1
https://codereview.webrtc.org/2966403002/diff/1/webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.cc File webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.cc (right): https://codereview.webrtc.org/2966403002/diff/1/webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.cc#newcode21 webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.cc:21: const int64_t kStartingCongestionWindow = 6000; On 2017/07/06 12:15:14, philipel ...
3 years, 5 months ago (2017-07-07 13:43:35 UTC) #6
philipel
https://codereview.webrtc.org/2966403002/diff/1/webrtc/modules/remote_bitrate_estimator/test/estimators/max_bandwidth_filter.cc File webrtc/modules/remote_bitrate_estimator/test/estimators/max_bandwidth_filter.cc (right): https://codereview.webrtc.org/2966403002/diff/1/webrtc/modules/remote_bitrate_estimator/test/estimators/max_bandwidth_filter.cc#newcode26 webrtc/modules/remote_bitrate_estimator/test/estimators/max_bandwidth_filter.cc:26: int64_t round, On 2017/07/07 13:43:34, gnish1 wrote: > On ...
3 years, 5 months ago (2017-07-10 11:53:35 UTC) #7
gnish1
https://codereview.webrtc.org/2966403002/diff/20001/webrtc/modules/remote_bitrate_estimator/test/estimators/max_bandwidth_filter.cc File webrtc/modules/remote_bitrate_estimator/test/estimators/max_bandwidth_filter.cc (right): https://codereview.webrtc.org/2966403002/diff/20001/webrtc/modules/remote_bitrate_estimator/test/estimators/max_bandwidth_filter.cc#newcode27 webrtc/modules/remote_bitrate_estimator/test/estimators/max_bandwidth_filter.cc:27: void MaxBandwidthFilter::AddBandwidthSample(int64_t sample_Bpms, On 2017/07/10 11:53:35, philipel wrote: > ...
3 years, 5 months ago (2017-07-12 10:08:38 UTC) #8
terelius
https://codereview.webrtc.org/2966403002/diff/40001/webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc File webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc (right): https://codereview.webrtc.org/2966403002/diff/40001/webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc#newcode28 webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc:28: // experiments,according to the design document. Nit: ", " ...
3 years, 5 months ago (2017-07-12 10:34:51 UTC) #9
gnish1
https://codereview.webrtc.org/2966403002/diff/40001/webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc File webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc (right): https://codereview.webrtc.org/2966403002/diff/40001/webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc#newcode28 webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.cc:28: // experiments,according to the design document. On 2017/07/12 10:34:50, ...
3 years, 5 months ago (2017-07-12 12:23:19 UTC) #10
terelius
lgtm
3 years, 5 months ago (2017-07-12 12:59:27 UTC) #11
philipel
lg, but please go through the code and add units where possible. For example min_rtt ...
3 years, 5 months ago (2017-07-12 13:03:35 UTC) #12
gnish1
3 years, 5 months ago (2017-07-12 14:38:42 UTC) #13
gnish1
3 years, 5 months ago (2017-07-12 14:42:06 UTC) #14
terelius
https://codereview.webrtc.org/2966403002/diff/80001/webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.cc File webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.cc (right): https://codereview.webrtc.org/2966403002/diff/80001/webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.cc#newcode43 webrtc/modules/remote_bitrate_estimator/test/estimators/congestion_window.cc:43: return GetTargetCongestionWindow(bandwidth_estimate_bytes_per_ms, min_rtt_ms, Measured in bytes/ms, the lowest rate ...
3 years, 5 months ago (2017-07-12 14:52:22 UTC) #15
gnish1
https://codereview.webrtc.org/2966403002/diff/100001/webrtc/modules/remote_bitrate_estimator/test/estimators/max_bandwidth_filter.h File webrtc/modules/remote_bitrate_estimator/test/estimators/max_bandwidth_filter.h (right): https://codereview.webrtc.org/2966403002/diff/100001/webrtc/modules/remote_bitrate_estimator/test/estimators/max_bandwidth_filter.h#newcode27 webrtc/modules/remote_bitrate_estimator/test/estimators/max_bandwidth_filter.h:27: return max_bandwidth_estimate_bytes_per_ms_; On 2017/07/12 14:52:21, terelius wrote: > Same ...
3 years, 5 months ago (2017-07-13 07:58:47 UTC) #16
philipel
lgtm after some offline discussion
3 years, 5 months ago (2017-07-14 11:04:05 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2966403002/120001
3 years, 5 months ago (2017-07-14 11:04:51 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_dbg/builds/20599) win_x64_dbg on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 5 months ago (2017-07-14 11:10:02 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2966403002/140001
3 years, 5 months ago (2017-07-18 09:46:58 UTC) #29
commit-bot: I haz the power
3 years, 5 months ago (2017-07-18 09:50:29 UTC) #32
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://chromium.googlesource.com/external/webrtc/+/157cbbd3a734150aa702a4b46...

Powered by Google App Engine
This is Rietveld 408576698