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

Issue 489293002: cc: Don't infinitely throttle large raster tasks (Closed)

Created:
6 years, 4 months ago by enne (OOO)
Modified:
6 years, 4 months ago
Reviewers:
reveman
CC:
chromium-reviews, cc-bugs_chromium.org
Project:
chromium
Visibility:
Public.

Description

cc: Don't infinitely throttle large raster tasks Previously, if a raster task had a resource size that was larger than the throttling limit for the raster worker, that task would never get scheduled. This leads to starvation for that task, preventing tree activation, and causing freezes. The fix is to always allow such large tasks if it is the first task. R=reveman@chromium.org BUG=403446 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=291484

Patch Set 1 #

Total comments: 14

Patch Set 2 : reveman comments #

Total comments: 2

Patch Set 3 : Remove unused member OOPS #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -6 lines) Patch
M cc/resources/pixel_buffer_raster_worker_pool.cc View 1 1 chunk +5 lines, -2 lines 0 comments Download
M cc/resources/raster_worker_pool_unittest.cc View 1 2 3 5 chunks +30 lines, -4 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
enne (OOO)
6 years, 4 months ago (2014-08-20 23:53:29 UTC) #1
reveman
https://codereview.chromium.org/489293002/diff/1/cc/resources/pixel_buffer_raster_worker_pool.cc File cc/resources/pixel_buffer_raster_worker_pool.cc (right): https://codereview.chromium.org/489293002/diff/1/cc/resources/pixel_buffer_raster_worker_pool.cc#newcode519 cc/resources/pixel_buffer_raster_worker_pool.cc:519: // but if it's the first task allow it ...
6 years, 4 months ago (2014-08-21 01:15:47 UTC) #2
enne (OOO)
https://codereview.chromium.org/489293002/diff/1/cc/resources/pixel_buffer_raster_worker_pool.cc File cc/resources/pixel_buffer_raster_worker_pool.cc (right): https://codereview.chromium.org/489293002/diff/1/cc/resources/pixel_buffer_raster_worker_pool.cc#newcode519 cc/resources/pixel_buffer_raster_worker_pool.cc:519: // but if it's the first task allow it ...
6 years, 4 months ago (2014-08-21 01:34:16 UTC) #3
reveman
lgtm after removing unused member variable https://codereview.chromium.org/489293002/diff/20001/cc/resources/raster_worker_pool_unittest.cc File cc/resources/raster_worker_pool_unittest.cc (right): https://codereview.chromium.org/489293002/diff/20001/cc/resources/raster_worker_pool_unittest.cc#newcode278 cc/resources/raster_worker_pool_unittest.cc:278: size_t throttle_bytes_; unused, ...
6 years, 4 months ago (2014-08-21 02:07:00 UTC) #4
enne (OOO)
https://codereview.chromium.org/489293002/diff/20001/cc/resources/raster_worker_pool_unittest.cc File cc/resources/raster_worker_pool_unittest.cc (right): https://codereview.chromium.org/489293002/diff/20001/cc/resources/raster_worker_pool_unittest.cc#newcode278 cc/resources/raster_worker_pool_unittest.cc:278: size_t throttle_bytes_; On 2014/08/21 02:07:00, reveman wrote: > unused, ...
6 years, 4 months ago (2014-08-21 17:10:52 UTC) #5
enne (OOO)
The CQ bit was checked by enne@chromium.org
6 years, 4 months ago (2014-08-21 17:11:03 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/489293002/40001
6 years, 4 months ago (2014-08-21 17:12:42 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-21 23:23:00 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-21 23:26:42 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/8858)
6 years, 4 months ago (2014-08-21 23:26:43 UTC) #10
enne (OOO)
The CQ bit was checked by enne@chromium.org
6 years, 4 months ago (2014-08-22 17:14:29 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/489293002/40001
6 years, 4 months ago (2014-08-22 17:16:08 UTC) #12
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_chromium_rel_swarming on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 17:18:47 UTC) #13
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-22 17:26:55 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/9099)
6 years, 4 months ago (2014-08-22 17:26:56 UTC) #15
enne (OOO)
The CQ bit was checked by enne@chromium.org
6 years, 4 months ago (2014-08-22 17:54:40 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/enne@chromium.org/489293002/60001
6 years, 4 months ago (2014-08-22 17:57:18 UTC) #17
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_dbg_tests_recipe on tryserver.chromium.linux ...
6 years, 4 months ago (2014-08-22 18:56:09 UTC) #18
commit-bot: I haz the power
6 years, 4 months ago (2014-08-22 19:53:19 UTC) #19
Message was sent while issue was closed.
Committed patchset #4 (60001) as 291484

Powered by Google App Engine
This is Rietveld 408576698