EVACUATE_COPY step is sometimes using as little as 25% CPU (all workers idle) |
||||||
Issue descriptionAs seen in some traces, e.g. https://docs.google.com/document/d/1bdlWAWeP3j2yo2DYfeok6URqFCrt57yx-nucGMybGGQ/edit#heading=h.1baa99zf8jc0 https://drive.google.com/file/d/1kLfH1dM5TOJbiD2v_KJsxWXakpd2k-7q/view on android nexus5x.
,
Feb 21 2018
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/2c1b6d383e5891aca3c2ddd451790fad0e286219 commit 2c1b6d383e5891aca3c2ddd451790fad0e286219 Author: Gabriel Charette <gab@chromium.org> Date: Wed Feb 21 18:50:12 2018 [v8] Even finer grain trace events for EVACUATE_COPY step. Fine grain events are showing that LiveObjectVisitor::VisitBlackObjectsNoFail is the suspiciously slow step, breaking it down further. https://docs.google.com/document/d/1bdlWAWeP3j2yo2DYfeok6URqFCrt57yx-nucGMybGGQ/edit#heading=h.97pqg2eosnw8 https://drive.google.com/file/d/1FKZHkXtWK2fZCk_3PClPcbpzKilnbuOr/view R=mlippautz@chromium.org Bug: chromium:813824 Change-Id: Idcebcbb268d3e00f5f1e304c66564b4b9c85a064 Reviewed-on: https://chromium-review.googlesource.com/929161 Reviewed-by: Hannes Payer <hpayer@chromium.org> Commit-Queue: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#51447} [modify] https://crrev.com/2c1b6d383e5891aca3c2ddd451790fad0e286219/src/heap/mark-compact.cc
,
Feb 22 2018
As expected these trace events (even the first set) regresses these stats on their own (when v8.gc tracing is active that is) [1] Looks like VisitBlackObjectsNoFail -> Visit() can be problematic as well as LiveObjectRange<kBlackObjects>++. Still waiting for next batch of trace events to come in to diagnose further. [1] https://chromeperf.appspot.com/report?sid=44032e8e4b0384fa037af66ba7cdb2b5944521647e2555f18b6157f42d688a3a
,
Feb 23 2018
,
Feb 23 2018
@simonhatch: in this issue I'm adding trace events so that I can't extract fine grain details from traces @ https://chromeperf.appspot.com/report?sid=44032e8e4b0384fa037af66ba7cdb2b5944521647e2555f18b6157f42d688a3a While I can easily "View traces from this run", I can't seem to find a way to download the JSON trace file? Is there a way? I also tried to "Request a Debug trace" with extra tracing categories but I don't see where those land..? It said job submitted with a link to https://chromeperf.appspot.com/job/14b2e120440000 but that 404s for me (at the moment of submission..).
,
Feb 23 2018
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/3856d8d57d6f2798277182f20cd3a9810eae56ea commit 3856d8d57d6f2798277182f20cd3a9810eae56ea Author: Gabriel Charette <gab@chromium.org> Date: Fri Feb 23 10:49:16 2018 Revert "[v8] Add finer grain trace events to EVACUATE_COPY step." This reverts commit f64a87c45a3070088eaaba1162ffbabdadacb928. Revert "[v8] Even finer grain trace events for EVACUATE_COPY step." This reverts commit 2c1b6d383e5891aca3c2ddd451790fad0e286219. Traces have been gathered by the bots. I'm still analyzing the results but let's revert these for now to soothe the poor bots which are running with v8.gc tracing enabled and regressing like crazy because of this crbug.com/814800 . R=hpayer@chromium.org Bug: chromium:814800 , chromium:813824 Change-Id: If97c1ff5d14de18414c3b8d65ecb3aaf4f1bb32d Reviewed-on: https://chromium-review.googlesource.com/934131 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#51502} [modify] https://crrev.com/3856d8d57d6f2798277182f20cd3a9810eae56ea/src/heap/mark-compact.cc
,
Feb 23 2018
re: #c5 To clarify, you don't want the html file but the original trace itself? If that's the case, I have no idea. I could look into it for you if that's what you're looking for. Yeah sorry about that! Had a version that wasn't generating the url names properly and had to roll it back. Your job is at: https://pinpoint-dot-chromeperf.appspot.com/job/14b2e120440000. Looks like it's still pending so there may be a lot of jobs running at the moment.
,
Feb 23 2018
Thanks for the link to the job. Yes the original trace is what I'm after (surprised there isn't a Save button in the tracing UI it brings up). Thanks!
,
Feb 23 2018
+benjhayden Any idea if there is actually a save button somewhere in the trace ui for getting at the original trace?
,
Feb 24 2018
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/8bd7a2a8ccea4c1915c9b5cc162ccd777e1e528b commit 8bd7a2a8ccea4c1915c9b5cc162ccd777e1e528b Author: Gabriel Charette <gab@chromium.org> Date: Sat Feb 24 22:27:28 2018 Reland top-level breakdown trace events for EVACUATE_COPY. I think those are safe to keep and add useful information to highlight the type of evacuate copy step being performed. This is a prerequisite for https://chromium-review.googlesource.com/c/v8/v8/+/934263 as it will drop tracing individual work items and will leave it to top-level item trace events like these to highlight individual work item's work. Will reland after reverting them all however to confirm the re-adding these doesn't cause regressions as the fine grain trace events initially did. R=hpayer@chromium.org Bug: chromium:813824 Change-Id: I8e53b880ce0aeae08afa7a2c0f36a455f645bcfa Reviewed-on: https://chromium-review.googlesource.com/934248 Reviewed-by: Hannes Payer <hpayer@chromium.org> Commit-Queue: Gabriel Charette <gab@chromium.org> Cr-Commit-Position: refs/heads/master@{#51543} [modify] https://crrev.com/8bd7a2a8ccea4c1915c9b5cc162ccd777e1e528b/src/heap/mark-compact.cc
,
Feb 25 2018
#9: That's a vulcanized trace, so it doesn't contain the x-timeline-view-buttons that contains the Save button. However, there is a script to extract the trace json from the vulcanized html file: catapult/tracing/bin/html2trace
,
Feb 26 2018
@benjhayden, hmmm okay, I don't have that codebase. I'm trying to extract the trace from [1] before it's deleted from the logs (I'm even afraid it already is.... but I have it open in my browser... anything I can do to save it...?) [1] https://00e9e64bac4b27284a09da73062c31e1df234e74f28d71eda6-apidata.googleusercontent.com/download/storage/v1/b/chrome-telemetry-output/o/browse_social_facebook_2018-02-22_23-12-42_13479.html?qk=AD5uMEtRAV5QKFzhYtZEOXzss3EbHa7C84TLnpNmIoJpAqJwohO_bPtbi3fiOhTW-V599bmJtcJ1lhbZ2cFmqd4nibBCCry64FMYmO04FviiFFkUWjeQd6187A4W4i0ZYR9Hpd4--O0Fv9EtRR-tGZgRMNWo-4-uxQNcMwpXNPdfTgseWHFjXoM0yG4ihMXghOrhY7D7rwhsJKyHHXSpSBebiToy8t0Fq_OUDEkvb03lX3BCPZztr6v-WJdJmkANtzn8Xkdot5sgZUbwh28q07_pnOWeNX_ONsGhA7zruktByJdlbNBTGYgiFGJ9xJ9KkRvBpO1pUGcVuHQBgWM4ivMCOU3if-tppOGWmeET23VWDcbdpG4TdVsokxubspWIbgAu7ZNcGWJXaPh6IcoDgde5S8GX5DOICEac42EmvMevaQVIfw6aGeFA2hcim8BI7IPR79QYZCnPz2l9zt21b97SHm7oCOKW4HP1cyTqs_9nJudt-E54OFmZsmcGtUdZkQ9PE6UO3grS2DObAWqzZ6ZLeYYBWq0ZDFDKbvCHkkQjsZ0KdXGeS1RBamAdBz7gTTbpRIlGYPfq3NrL2ZgIRZM1krGODG_lto1AOenXBZkL7GZseO51_yREZQBH4sCYuy69LyMCko4eYrWVGDTyp1FKQlg5tdK-8GG14ZDWhNFF614G_SP2prZIjVeVWCclfGTcyPBxLhDP-VwKwK5XjiewJk0gp_hIQBAtfc96wB4vEyK7ZMXZ9zaUgY9BeMYs8ziBB4nWPnmn0ixkuDJwMJr_Nh-b9yRbra5Ap2g-yUx9Z29nAdbvwcM
,
May 4 2018
I will not realistically keep investigating this now that my Chrome Envoy is complete.
,
May 8 2018
,
Jun 27 2018
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by bugdroid1@chromium.org
, Feb 20 2018