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

Issue 22188002: Cleanup the Win overlapped reads vs. non-blocking reads by removing the overlapped read code path (Closed)

Created:
7 years, 4 months ago by Pat Meenan
Modified:
7 years, 3 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org
Base URL:
https://src.chromium.org/chrome/trunk/src/
Visibility:
Public.

Description

Cleaned up the Overlapped Reads field trial where we compared the existing method for reading from sockets on Windows (using overlapped I/O) with using non-blocking I/O. This was the "OverlappedReadImpact" field trial that started in November 2012 and ended in June of 2013. The original patch for implementing the trial was here: https://chromiumcodereview.appspot.com/10916016 The non-blocking I/O code path resolved the issue we were seeing in lab testing but did not show a marked improvement in the field (nor did it show a degradation). The results for 3 months of data from the field trial showed effectively no change in the page load time or HTTP Job times (differences are within the noise variation). Since the non-blocking code path is a little cleaner, doesn't rely on growing buffer sizes and fixed the issue we were seeing in the lab, the decision was made to keep the non-blocking implementation and eliminate the overlapped read code path. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219607

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -194 lines) Patch
M chrome/browser/chrome_browser_field_trials_desktop.cc View 3 chunks +0 lines, -30 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/renderer/page_load_histograms.cc View 1 chunk +0 lines, -37 lines 0 comments Download
M net/socket/tcp_client_socket_win.h View 2 chunks +0 lines, -5 lines 0 comments Download
M net/socket/tcp_client_socket_win.cc View 1 9 chunks +25 lines, -115 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Ryan Sleevi
lgtm https://codereview.chromium.org/22188002/diff/1/net/socket/tcp_client_socket_win.cc File net/socket/tcp_client_socket_win.cc (right): https://codereview.chromium.org/22188002/diff/1/net/socket/tcp_client_socket_win.cc#newcode798 net/socket/tcp_client_socket_win.cc:798: FD_READ | FD_CLOSE); nit: alignment https://codereview.chromium.org/22188002/diff/1/net/socket/tcp_client_socket_win.cc#newcode807 net/socket/tcp_client_socket_win.cc:807: CreateNetLogSocketErrorCallback(net_error, ...
7 years, 4 months ago (2013-08-06 19:43:38 UTC) #1
rvargas (doing something else)
was this up for review? (if so, I missed the email)
7 years, 4 months ago (2013-08-06 20:14:36 UTC) #2
Pat Meenan
On 2013/08/06 20:14:36, rvargas wrote: > was this up for review? (if so, I missed ...
7 years, 4 months ago (2013-08-06 20:58:45 UTC) #3
rvargas (doing something else)
lgtm https://codereview.chromium.org/22188002/diff/1/net/socket/tcp_client_socket_win.cc File net/socket/tcp_client_socket_win.cc (right): https://codereview.chromium.org/22188002/diff/1/net/socket/tcp_client_socket_win.cc#newcode843 net/socket/tcp_client_socket_win.cc:843: // Since Run may result in Write being ...
7 years, 4 months ago (2013-08-06 21:43:31 UTC) #4
Pat Meenan
https://codereview.chromium.org/22188002/diff/1/net/socket/tcp_client_socket_win.cc File net/socket/tcp_client_socket_win.cc (right): https://codereview.chromium.org/22188002/diff/1/net/socket/tcp_client_socket_win.cc#newcode798 net/socket/tcp_client_socket_win.cc:798: FD_READ | FD_CLOSE); On 2013/08/06 19:43:38, Ryan Sleevi wrote: ...
7 years, 4 months ago (2013-08-07 13:54:17 UTC) #5
Pat Meenan
stevet@chromium.org: Please review changes in chrome/browser/chrome_browser_field_trials_desktop.cc The net code itself has already been looked at, ...
7 years, 4 months ago (2013-08-12 16:59:33 UTC) #6
Ryan Sleevi
On 2013/08/12 16:59:33, Pat Meenan wrote: > stevet@chromium.org: Please review changes in > > chrome/browser/chrome_browser_field_trials_desktop.cc ...
7 years, 4 months ago (2013-08-22 02:10:40 UTC) #7
SteveT
Alexei, could you take a look?
7 years, 3 months ago (2013-08-26 11:22:29 UTC) #8
Pat Meenan
jhawkins@chromium.org: Please review changes in chrome/renderer/page_load_histograms.cc (it doesn't look like there are more specific OWNERS ...
7 years, 3 months ago (2013-08-26 12:29:53 UTC) #9
Alexei Svitkine (slow)
LGTM!
7 years, 3 months ago (2013-08-26 13:32:33 UTC) #10
James Hawkins
lgtm
7 years, 3 months ago (2013-08-26 17:23:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pmeenan@chromium.org/22188002/13001
7 years, 3 months ago (2013-08-26 17:24:42 UTC) #12
commit-bot: I haz the power
7 years, 3 months ago (2013-08-26 21:05:18 UTC) #13
Message was sent while issue was closed.
Change committed as 219607

Powered by Google App Engine
This is Rietveld 408576698