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

Issue 12540003: CrOS: Set max frames pending for UI from command line. (Closed)

Created:
7 years, 9 months ago by jonathan.backer
Modified:
7 years, 9 months ago
Reviewers:
nduca, DaveMoore, zel, piman
CC:
chromium-reviews, nkostylev+watch_chromium.org, Ian Vollick, jam, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, oshima+watch_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

CrOS: Set max frames pending for UI from command line. This CL is a no-op, but with a CrOS change to /sbin/session_manager_setup.sh, we can reduce the number of UI frames in flight. BUG=181317, 189142 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=188038

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address reviewer comments. #

Total comments: 6

Patch Set 3 : Rebase and nit. #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -2 lines) Patch
M cc/output_surface.h View 1 chunk +3 lines, -1 line 0 comments Download
M cc/thread_proxy.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/chrome_restart_request.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/renderer_host/image_transport_factory.cc View 1 2 2 chunks +11 lines, -0 lines 0 comments Download
M ui/compositor/compositor_switches.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/compositor/compositor_switches.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
jonathan.backer
With the recent changes to vsync scheduling (all CrOS platforms and for renderer and UI), ...
7 years, 9 months ago (2013-03-06 16:10:14 UTC) #1
piman
On 2013/03/06 16:10:14, jonathan.backer wrote: > With the recent changes to vsync scheduling (all CrOS ...
7 years, 9 months ago (2013-03-06 17:46:41 UTC) #2
piman
Also, Nat should be involved in the discussion
7 years, 9 months ago (2013-03-06 17:47:04 UTC) #3
hshi1
On 2013/03/06 17:47:04, piman wrote: > Also, Nat should be involved in the discussion backer@ ...
7 years, 9 months ago (2013-03-11 23:21:24 UTC) #4
hshi1
Never mind, I just did a few experiments. It appears that setting ui-max-frames-pending=1 makes the ...
7 years, 9 months ago (2013-03-11 23:32:20 UTC) #5
piman
I thought more about this CL. The logic for the GPU-bound detection is pretty broken, ...
7 years, 9 months ago (2013-03-13 15:55:22 UTC) #6
jonathan.backer
7 years, 9 months ago (2013-03-13 16:55:02 UTC) #7
jonathan.backer
https://codereview.chromium.org/12540003/diff/1/content/renderer/gpu/compositor_output_surface.cc File content/renderer/gpu/compositor_output_surface.cc (right): https://codereview.chromium.org/12540003/diff/1/content/renderer/gpu/compositor_output_surface.cc#newcode69 content/renderer/gpu/compositor_output_surface.cc:69: capabilities_.max_frames_pending = 1; On 2013/03/13 15:55:22, piman wrote: > ...
7 years, 9 months ago (2013-03-13 16:55:28 UTC) #8
piman
lgtm
7 years, 9 months ago (2013-03-13 17:21:17 UTC) #9
DaveMoore
LGTM Modulo nits https://codereview.chromium.org/12540003/diff/9001/cc/thread_proxy.cc File cc/thread_proxy.cc (right): https://codereview.chromium.org/12540003/diff/9001/cc/thread_proxy.cc#newcode1043 cc/thread_proxy.cc:1043: int maxFramesPending = m_layerTreeHostImpl->outputSurface()->capabilities().max_frames_pending; Nit: Line ...
7 years, 9 months ago (2013-03-13 17:49:06 UTC) #10
jonathan.backer
https://codereview.chromium.org/12540003/diff/9001/cc/thread_proxy.cc File cc/thread_proxy.cc (right): https://codereview.chromium.org/12540003/diff/9001/cc/thread_proxy.cc#newcode1043 cc/thread_proxy.cc:1043: int maxFramesPending = m_layerTreeHostImpl->outputSurface()->capabilities().max_frames_pending; On 2013/03/13 17:49:06, DaveMoore wrote: ...
7 years, 9 months ago (2013-03-13 18:00:25 UTC) #11
piman
On Wed, Mar 13, 2013 at 11:00 AM, <backer@chromium.org> wrote: > > https://codereview.chromium.**org/12540003/diff/9001/cc/**thread_proxy.cc<https://codereview.chromium.org/12540003/diff/9001/cc/thread_proxy.cc> > File ...
7 years, 9 months ago (2013-03-13 18:16:14 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/backer@chromium.org/12540003/9001
7 years, 9 months ago (2013-03-13 19:36:24 UTC) #13
commit-bot: I haz the power
Failed to apply patch for cc/thread_proxy.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-13 19:36:26 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/backer@chromium.org/12540003/33001
7 years, 9 months ago (2013-03-13 19:45:07 UTC) #15
zel
lgtm
7 years, 9 months ago (2013-03-13 19:55:41 UTC) #16
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 9 months ago (2013-03-13 22:04:23 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/backer@chromium.org/12540003/33001
7 years, 9 months ago (2013-03-13 23:20:40 UTC) #18
commit-bot: I haz the power
Retried try job too often on ios_rel_device for step(s) compile http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=ios_rel_device&number=33533
7 years, 9 months ago (2013-03-14 09:13:45 UTC) #19
jonathan.backer
7 years, 9 months ago (2013-03-14 10:55:52 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 manually as r188038 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698