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

Issue 563073002: Pepper UDP socket: buffer received packets in the plugin process to improve performance. (Closed)

Created:
6 years, 3 months ago by yzshen1
Modified:
6 years, 3 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Pepper UDP socket: buffer received packets in the plugin process to improve performance. For each bound UDP socket, the Pepper layer in the plugin process maintains a buffer to store received packets, and informs the browser process of available buffer slots. The browser process does recvfrom and pushes the results to the plugin process when there are available slots. BUG=None TEST=None Committed: https://crrev.com/024dba2f439804d135020c7e40dc5264c6a13182 Cr-Commit-Position: refs/heads/master@{#295184}

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Total comments: 28

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+276 lines, -151 lines) Patch
M content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.h View 1 2 chunks +10 lines, -10 lines 0 comments Download
M content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc View 1 2 3 4 11 chunks +66 lines, -58 lines 0 comments Download
M ppapi/host/resource_message_filter.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ppapi/proxy/plugin_message_filter.cc View 1 chunk +10 lines, -6 lines 0 comments Download
M ppapi/proxy/ppapi_messages.h View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M ppapi/proxy/resource_reply_thread_registrar.h View 1 2 3 4 5 4 chunks +22 lines, -8 lines 0 comments Download
M ppapi/proxy/resource_reply_thread_registrar.cc View 1 2 3 4 5 5 chunks +30 lines, -19 lines 0 comments Download
M ppapi/proxy/udp_socket_resource_base.h View 1 2 3 6 chunks +32 lines, -6 lines 0 comments Download
M ppapi/proxy/udp_socket_resource_base.cc View 1 2 3 4 5 8 chunks +99 lines, -41 lines 0 comments Download

Messages

Total messages: 15 (2 generated)
yzshen1
Hi, David and Tom. Would you please take a look? Thanks! David: everything. Tom: security ...
6 years, 3 months ago (2014-09-12 00:39:48 UTC) #2
Tom Sepez
The messages themselves are OK, but it may take til next week before I have ...
6 years, 3 months ago (2014-09-12 01:28:14 UTC) #3
yzshen1
Thanks Tom! https://codereview.chromium.org/563073002/diff/40001/ppapi/proxy/udp_socket_resource_base.cc File ppapi/proxy/udp_socket_resource_base.cc (right): https://codereview.chromium.org/563073002/diff/40001/ppapi/proxy/udp_socket_resource_base.cc#newcode346 ppapi/proxy/udp_socket_resource_base.cc:346: memcpy(output_buffer, data.c_str(), data.size()); On 2014/09/12 01:28:14, Tom ...
6 years, 3 months ago (2014-09-12 16:49:18 UTC) #4
dmichael (off chromium)
This is looking pretty great, Yuzhu, thanks! I see now why you want to use ...
6 years, 3 months ago (2014-09-12 19:49:07 UTC) #5
yzshen1
Thanks David! Please take a look at my replies. I haven't done all the changes ...
6 years, 3 months ago (2014-09-15 20:59:40 UTC) #6
dmichael (off chromium)
https://codereview.chromium.org/563073002/diff/60001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/563073002/diff/60001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode407 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:407: remaining_recv_slots_--; On 2014/09/15 20:59:39, yzshen1 wrote: > On 2014/09/12 ...
6 years, 3 months ago (2014-09-16 17:39:00 UTC) #7
yzshen1
Thanks, David! Please take another look. https://codereview.chromium.org/563073002/diff/60001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/563073002/diff/60001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode407 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:407: remaining_recv_slots_--; > I ...
6 years, 3 months ago (2014-09-16 19:09:08 UTC) #8
dmichael (off chromium)
lgtm https://codereview.chromium.org/563073002/diff/60001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc File content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc (right): https://codereview.chromium.org/563073002/diff/60001/content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc#newcode407 content/browser/renderer_host/pepper/pepper_udp_socket_message_filter.cc:407: remaining_recv_slots_--; On 2014/09/16 19:09:07, yzshen1 wrote: > > ...
6 years, 3 months ago (2014-09-16 19:29:35 UTC) #9
chromium-reviews
Thanks a lot, David! And friendly ping for Tom. On Tue, Sep 16, 2014 at ...
6 years, 3 months ago (2014-09-16 19:32:02 UTC) #10
Tom Sepez
lgtm
6 years, 3 months ago (2014-09-16 20:12:36 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/563073002/100001
6 years, 3 months ago (2014-09-16 22:41:33 UTC) #13
commit-bot: I haz the power
Committed patchset #6 (id:100001) as 37c29a08fb5b447eba9086ab1a8a260bcdd3ba00
6 years, 3 months ago (2014-09-17 00:19:15 UTC) #14
commit-bot: I haz the power
6 years, 3 months ago (2014-09-17 00:19:52 UTC) #15
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/024dba2f439804d135020c7e40dc5264c6a13182
Cr-Commit-Position: refs/heads/master@{#295184}

Powered by Google App Engine
This is Rietveld 408576698