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

Issue 2690113004: Throttle Socket watcher RTT notifications from QUIC (Closed)

Created:
3 years, 10 months ago by tbansal1
Modified:
3 years, 10 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, tbansal+watch-nqe_chromium.org, net-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Throttle Socket watcher RTT notifications from QUIC A QUIC connection can provide at most one RTT notification per second. This CL also refactors the code a little bit: (1) Moves the throttling logic from TCP Socket Posix to a common place: SocketWatcher, where it is used by both QUIC and TCP (2) Makes it possible to configure the throttling delay using field trial params. BUG=692119 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_cronet_tester Review-Url: https://codereview.chromium.org/2690113004 Cr-Commit-Position: refs/heads/master@{#450967} Committed: https://chromium.googlesource.com/chromium/src/+/180587c15a36861cdaaceec045619026e55fe8c5

Patch Set 1 : ps #

Total comments: 6

Patch Set 2 : ryansturm comments #

Total comments: 9

Patch Set 3 : Rebased, rch comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+228 lines, -82 lines) Patch
M net/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M net/nqe/network_quality_estimator.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M net/nqe/network_quality_estimator_params.h View 1 chunk +5 lines, -0 lines 0 comments Download
M net/nqe/network_quality_estimator_params.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M net/nqe/socket_watcher.h View 1 3 chunks +20 lines, -3 lines 0 comments Download
M net/nqe/socket_watcher.cc View 1 2 chunks +15 lines, -3 lines 0 comments Download
M net/nqe/socket_watcher_factory.h View 1 3 chunks +14 lines, -1 line 0 comments Download
M net/nqe/socket_watcher_factory.cc View 1 2 chunks +12 lines, -4 lines 0 comments Download
A net/nqe/socket_watcher_unittest.cc View 1 1 chunk +57 lines, -0 lines 0 comments Download
M net/quic/chromium/quic_connection_logger.cc View 1 chunk +2 lines, -1 line 0 comments Download
M net/quic/chromium/quic_network_transaction_unittest.cc View 1 2 6 chunks +77 lines, -6 lines 0 comments Download
M net/socket/tcp_socket_posix.h View 4 chunks +1 line, -14 lines 0 comments Download
M net/socket/tcp_socket_posix.cc View 5 chunks +1 line, -16 lines 0 comments Download
M net/socket/tcp_socket_unittest.cc View 5 chunks +13 lines, -33 lines 0 comments Download

Messages

Total messages: 38 (24 generated)
tbansal1
ryansturm: ptal at //net/nqe (or everything). Thanks.
3 years, 10 months ago (2017-02-14 17:28:24 UTC) #9
RyanSturm
https://codereview.chromium.org/2690113004/diff/20001/net/nqe/socket_watcher.cc File net/nqe/socket_watcher.cc (right): https://codereview.chromium.org/2690113004/diff/20001/net/nqe/socket_watcher.cc#newcode35 net/nqe/socket_watcher.cc:35: // Do not allow incoming notifications if the last ...
3 years, 10 months ago (2017-02-15 17:42:08 UTC) #10
tbansal1
ryansturm: ptal. Thanks. https://codereview.chromium.org/2690113004/diff/20001/net/nqe/socket_watcher.cc File net/nqe/socket_watcher.cc (right): https://codereview.chromium.org/2690113004/diff/20001/net/nqe/socket_watcher.cc#newcode35 net/nqe/socket_watcher.cc:35: // Do not allow incoming notifications ...
3 years, 10 months ago (2017-02-15 20:37:42 UTC) #13
RyanSturm
net/nqe: lgtm
3 years, 10 months ago (2017-02-15 20:40:25 UTC) #15
tbansal1
rch: ptal at //net/quic, //net/BUILD.gn and //net/socket. Thanks.
3 years, 10 months ago (2017-02-15 20:46:27 UTC) #17
Ryan Hamilton
Looks good. https://codereview.chromium.org/2690113004/diff/60001/net/quic/chromium/quic_connection_logger.cc File net/quic/chromium/quic_connection_logger.cc (right): https://codereview.chromium.org/2690113004/diff/60001/net/quic/chromium/quic_connection_logger.cc#newcode691 net/quic/chromium/quic_connection_logger.cc:691: socket_performance_watcher_->OnUpdatedRTTAvailable( I guess this is fine, but ...
3 years, 10 months ago (2017-02-15 23:08:17 UTC) #20
tbansal1
rch: ptal. Thanks. https://codereview.chromium.org/2690113004/diff/60001/net/quic/chromium/quic_connection_logger.cc File net/quic/chromium/quic_connection_logger.cc (right): https://codereview.chromium.org/2690113004/diff/60001/net/quic/chromium/quic_connection_logger.cc#newcode691 net/quic/chromium/quic_connection_logger.cc:691: socket_performance_watcher_->OnUpdatedRTTAvailable( On 2017/02/15 23:08:16, Ryan Hamilton ...
3 years, 10 months ago (2017-02-15 23:16:12 UTC) #21
Ryan Hamilton
lgtm https://codereview.chromium.org/2690113004/diff/60001/net/socket/tcp_socket_posix.cc File net/socket/tcp_socket_posix.cc (left): https://codereview.chromium.org/2690113004/diff/60001/net/socket/tcp_socket_posix.cc#oldcode732 net/socket/tcp_socket_posix.cc:732: On 2017/02/15 23:16:12, tbansal1 wrote: > On 2017/02/15 ...
3 years, 10 months ago (2017-02-16 00:01:42 UTC) #24
tbansal1
https://codereview.chromium.org/2690113004/diff/60001/net/socket/tcp_socket_posix.cc File net/socket/tcp_socket_posix.cc (left): https://codereview.chromium.org/2690113004/diff/60001/net/socket/tcp_socket_posix.cc#oldcode732 net/socket/tcp_socket_posix.cc:732: On 2017/02/16 00:01:42, Ryan Hamilton wrote: > On 2017/02/15 ...
3 years, 10 months ago (2017-02-16 00:10:58 UTC) #25
Ryan Hamilton
On 2017/02/16 00:10:58, tbansal1 wrote: > https://codereview.chromium.org/2690113004/diff/60001/net/socket/tcp_socket_posix.cc > File net/socket/tcp_socket_posix.cc (left): > > https://codereview.chromium.org/2690113004/diff/60001/net/socket/tcp_socket_posix.cc#oldcode732 > ...
3 years, 10 months ago (2017-02-16 00:13:01 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2690113004/80001
3 years, 10 months ago (2017-02-16 04:30:26 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-16 06:33:41 UTC) #33
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2690113004/80001
3 years, 10 months ago (2017-02-16 15:07:52 UTC) #35
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 15:14:10 UTC) #38
Message was sent while issue was closed.
Committed patchset #3 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/180587c15a36861cdaaceec04561...

Powered by Google App Engine
This is Rietveld 408576698