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

Issue 6327022: Optimizations to fill packets better for the edsm server.... (Closed)

Created:
9 years, 11 months ago by Mike Belshe
Modified:
9 years, 5 months ago
Reviewers:
fenix, kelindsay
CC:
chromium-reviews, darin-cc_chromium.org, cbentzel+watch_chromium.org, pam+watch_chromium.org
Visibility:
Public.

Description

Optimizations to fill packets better for the edsm server. Problems: - the SETTINGS frame was the first packet we'd send, uncorked. This was wasting the first packet of our cwnd. - uncork was overaggressive. We now only uncork when there are no more packets in our queue. - rework the packet sizing to fully fill packets better. Question - should I remove the MSG_MORE code now? It seems to be an alternative way to do corking, but it just doesn't work with the SSL layer. BUG=none TEST=n/a Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72844

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -38 lines) Patch
M net/tools/flip_server/flip_in_mem_edsm_server.cc View 1 9 chunks +50 lines, -38 lines 1 comment Download

Messages

Total messages: 4 (0 generated)
Mike Belshe
9 years, 11 months ago (2011-01-27 16:41:31 UTC) #1
fenix
Sure, remove it. On Jan 27, 2011 8:41 AM, <mbelshe@chromium.org> wrote: > Reviewers: fenix, kelindsay, ...
9 years, 11 months ago (2011-01-27 16:46:15 UTC) #2
kelindsay
LGTM, and yes I don't see any need for MSG_MORE anymore.
9 years, 11 months ago (2011-01-27 18:18:21 UTC) #3
fenix
9 years, 11 months ago (2011-01-27 20:34:59 UTC) #4
http://codereview.chromium.org/6327022/diff/3001/net/tools/flip_server/flip_i...
File net/tools/flip_server/flip_in_mem_edsm_server.cc (right):

http://codereview.chromium.org/6327022/diff/3001/net/tools/flip_server/flip_i...
net/tools/flip_server/flip_in_mem_edsm_server.cc:992: CorkSocket();
hopefully no ill effects to corking when it is already corked.

Powered by Google App Engine
This is Rietveld 408576698