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

Issue 1690023005: Revert of Refactor signaling in RWP (Closed)

Created:
4 years, 10 months ago by Sami
Modified:
4 years, 10 months ago
Reviewers:
reveman, avi.rohit, no sievers, ericrk
CC:
blink-worker-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, kinuko+watch, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Refactor signaling in RWP (patchset #9 id:180001 of https://codereview.chromium.org/1666283002/ ) Reason for revert: Broke the thread_times.tough_scrolling_cases test (verified with a local revert): https://build.chromium.org/p/chromium.perf/builders/Linux%20Perf%20%281%29/builds/10247 Original issue's description: > Refactor signaling in RWP > > A previous patch had moved RasterWorkerPool to make heavy use of > broadcast in order to simplify logic a bit. It turns out that broadcast > is not ideal in performance critical situations, as it increases lock > contention (see > https://code.google.com/p/chromium/codesearch#chromium/src/base/synchronization/condition_variable.h&l=34). > > This change removes all uses of broadcast other than in Shutdown, where > performance is less of a concern and we actually need all threads to > wake up. > > To achieve this, we need to re-factor RWP to use: > - N foreground threads > - 1 background thread > rather than N threads which may be able to run foreground/background tasks. > > In order to ensure that we don't overload the system, this change > introduces a limiting system where the background priority thread can only > run tasks if no other threads are doing so. > > BUG= > CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel TBR=reveman@chromium.org,sievers@chromium.org,avi.rohit@gmail.com,ericrk@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG= Committed: https://crrev.com/a1c7eb7f23d0a275d223144a1cffbf3714d8982f Cr-Commit-Position: refs/heads/master@{#375195}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -164 lines) Patch
M cc/raster/task_graph_work_queue.h View 3 chunks +4 lines, -21 lines 0 comments Download
M cc/raster/task_graph_work_queue.cc View 5 chunks +14 lines, -21 lines 0 comments Download
M content/renderer/raster_worker_pool.h View 4 chunks +12 lines, -21 lines 0 comments Download
M content/renderer/raster_worker_pool.cc View 10 chunks +38 lines, -101 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Sami
Created Revert of Refactor signaling in RWP
4 years, 10 months ago (2016-02-12 17:12:45 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1690023005/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1690023005/1
4 years, 10 months ago (2016-02-12 17:13:14 UTC) #2
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-02-12 17:14:18 UTC) #4
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:43:33 UTC) #6
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/a1c7eb7f23d0a275d223144a1cffbf3714d8982f
Cr-Commit-Position: refs/heads/master@{#375195}

Powered by Google App Engine
This is Rietveld 408576698