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

Issue 11880014: cc: Set ui/gpu/cc/ipc/upload/raster thread priorities. (Closed)

Created:
7 years, 11 months ago by epenner
Modified:
7 years, 11 months ago
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

cc: Set ui/gpu/cc/ipc/upload/raster thread priorities. This bumps up the ui/gpu/cc/ipc threads and bumps down the upload/raster threads. The webkit thread is left alone, as it needs to by dynamically adjusted (in another patch). To reduce risk and for easier merging we do this as #ifdefs and only for Android. This bug tracks abstracting the code and doing it on all platforms: http://crbug.com/170549 BUG=164651 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=178473

Patch Set 1 #

Patch Set 2 : Remove base changes. Simple first pass. #

Total comments: 1

Patch Set 3 : Address feedback. #

Total comments: 2

Patch Set 4 : Rebase. #

Total comments: 4

Patch Set 5 : Rebase. Address feedback. #

Total comments: 1

Patch Set 6 : Address base feedback. Rebase. #

Total comments: 1

Patch Set 7 : Address feedback (use static). #

Unified diffs Side-by-side diffs Delta from patch set Stats (+101 lines, -0 lines) Patch
M base/threading/platform_thread_posix.cc View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download
M cc/raster_worker_pool.h View 1 chunk +2 lines, -0 lines 0 comments Download
M cc/raster_worker_pool.cc View 1 2 chunks +13 lines, -0 lines 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 chunks +22 lines, -0 lines 0 comments Download
M content/common/child_process.cc View 1 3 chunks +18 lines, -0 lines 0 comments Download
M content/gpu/gpu_child_thread.cc View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M content/renderer/gpu/compositor_thread.cc View 1 2 3 4 5 6 3 chunks +20 lines, -0 lines 0 comments Download
M ui/gl/async_pixel_transfer_delegate_android.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (0 generated)
epenner
Ptal. Two problems remain here: 1.) Content/common can't be #included from cc and ui/gl. Honestly ...
7 years, 11 months ago (2013-01-14 01:49:05 UTC) #1
epenner
On 2013/01/14 01:49:05, epenner wrote: > Ptal. > > Two problems remain here: > > ...
7 years, 11 months ago (2013-01-14 04:02:30 UTC) #2
epenner
On 2013/01/14 04:02:30, epenner wrote: > On 2013/01/14 01:49:05, epenner wrote: > > Ptal. > ...
7 years, 11 months ago (2013-01-14 04:07:40 UTC) #3
nduca
+reveman
7 years, 11 months ago (2013-01-14 22:48:40 UTC) #4
nduca
Eric, what about making it bit less "thread priority setting" and a bit more "prefer_smoothness"-ish? ...
7 years, 11 months ago (2013-01-14 23:33:22 UTC) #5
epenner
To summarize offline discussion, it looks like we can get away with keeping GPU/Browser/CC/IPC always ...
7 years, 11 months ago (2013-01-15 01:34:19 UTC) #6
epenner
Ptal. We get even better performance by lowering webkit to the be same as raster/upload ...
7 years, 11 months ago (2013-01-17 20:43:07 UTC) #7
brianderson
In the second patch, how did you avoid having to reset the thread priority of ...
7 years, 11 months ago (2013-01-18 00:53:22 UTC) #8
nduca
better changelist summary plz better changelist description. say what happens exactly. explaiin why we do ...
7 years, 11 months ago (2013-01-18 00:58:08 UTC) #9
epenner
On 2013/01/18 00:53:22, Brian Anderson wrote: > In the second patch, how did you avoid ...
7 years, 11 months ago (2013-01-18 00:59:08 UTC) #10
epenner
On 2013/01/18 00:59:08, epenner wrote: > On 2013/01/18 00:53:22, Brian Anderson wrote: > > In ...
7 years, 11 months ago (2013-01-18 01:01:09 UTC) #11
epenner
I've added a default priority in platform_thread_posix, and done the minor init refactor. Ptal. I'm ...
7 years, 11 months ago (2013-01-18 04:12:20 UTC) #12
nduca
mostly lgtm. You should run by piman maybe, since he reviewed the other part of ...
7 years, 11 months ago (2013-01-18 04:59:47 UTC) #13
epenner
https://codereview.chromium.org/11880014/diff/15001/content/common/child_process.cc File content/common/child_process.cc (right): https://codereview.chromium.org/11880014/diff/15001/content/common/child_process.cc#newcode2 content/common/child_process.cc:2: // Use of this source code is governed by ...
7 years, 11 months ago (2013-01-18 05:18:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/11880014/19003
7 years, 11 months ago (2013-01-19 01:37:26 UTC) #15
commit-bot: I haz the power
Presubmit check for 11880014-19003 failed and returned exit status 1. Running presubmit commit checks ...
7 years, 11 months ago (2013-01-19 01:37:32 UTC) #16
epenner
Landing. This was apparently already merged so any further changes should be in a follow ...
7 years, 11 months ago (2013-01-19 01:38:53 UTC) #17
epenner
This patch needs all sorts of OWNER reviews. content/renderer/gpu -> apatrick/piman ui/gl -> apatrick base/threading ...
7 years, 11 months ago (2013-01-19 01:59:39 UTC) #18
piman
+darin who may have opinions about thread priorities. I know we've resisted them in the ...
7 years, 11 months ago (2013-01-19 02:25:00 UTC) #19
epenner
On 2013/01/19 02:25:00, piman wrote: > +darin who may have opinions about thread priorities. I ...
7 years, 11 months ago (2013-01-19 02:42:38 UTC) #20
nduca
We aren't landing onto branch directly. Ås near as I can tell, the right thing ...
7 years, 11 months ago (2013-01-22 20:26:42 UTC) #21
piman
Talked to Nat, I'm going to LGTM this for now, counting on the cleanup afterwards. ...
7 years, 11 months ago (2013-01-22 21:14:58 UTC) #22
apatrick_chromium
ui/gl LGTM. https://codereview.chromium.org/11880014/diff/19003/ui/gl/async_pixel_transfer_delegate_android.cc File ui/gl/async_pixel_transfer_delegate_android.cc (right): https://codereview.chromium.org/11880014/diff/19003/ui/gl/async_pixel_transfer_delegate_android.cc#newcode27 ui/gl/async_pixel_transfer_delegate_android.cc:27: #if defined(OS_ANDROID) You don't need the ifdef ...
7 years, 11 months ago (2013-01-22 21:49:17 UTC) #23
epenner
Addressed feedback. Just waiting on base OWNER review now. https://codereview.chromium.org/11880014/diff/19003/ui/gl/async_pixel_transfer_delegate_android.cc File ui/gl/async_pixel_transfer_delegate_android.cc (right): https://codereview.chromium.org/11880014/diff/19003/ui/gl/async_pixel_transfer_delegate_android.cc#newcode27 ui/gl/async_pixel_transfer_delegate_android.cc:27: ...
7 years, 11 months ago (2013-01-23 00:28:45 UTC) #24
jar (doing other things)
Patch set 5, base (impacting only Android), LGTM... but please consider the nit below. https://codereview.chromium.org/11880014/diff/30001/base/threading/platform_thread_posix.cc ...
7 years, 11 months ago (2013-01-23 02:37:37 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/11880014/32016
7 years, 11 months ago (2013-01-23 20:47:05 UTC) #26
darin (slow to review)
https://codereview.chromium.org/11880014/diff/32016/content/renderer/gpu/compositor_thread.cc File content/renderer/gpu/compositor_thread.cc (right): https://codereview.chromium.org/11880014/diff/32016/content/renderer/gpu/compositor_thread.cc#newcode99 content/renderer/gpu/compositor_thread.cc:99: base::Bind(&CompositorThread::InitOnThread, nit: bind a static function since you don't ...
7 years, 11 months ago (2013-01-23 21:52:43 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/epenner@chromium.org/11880014/31011
7 years, 11 months ago (2013-01-24 00:16:36 UTC) #28
commit-bot: I haz the power
7 years, 11 months ago (2013-01-24 01:55:08 UTC) #29
Message was sent while issue was closed.
Change committed as 178473

Powered by Google App Engine
This is Rietveld 408576698