New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 856158 link

Starred by 1 user

Issue metadata

Status: Started
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac
Pri: 1
Type: Task



Sign in to add a comment

Blink Scheduler: Prioritize same-origin frames over cross-origin ones.

Project Member Reported by farahcharab@chromium.org, Jun 25 2018

Issue description

Experiment with different priorities of frame task queues depending on their origin type. In particular, (during loading or at all times)

1- Increase the priority of the loading task queue to high for same-origin frame tasks. 

2- Decrease the priority of cross origin task queues to low. 


 
Components: Blink>Scheduling
Summary: Blink Scheduler: Prioritize same-origin frames over cross-origin ones. (was: Blink Scheduler: Prioritize same-origin frames over cross-origin.)
Project Member

Comment 2 by bugdroid1@chromium.org, Jul 23

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/bf2c477e5d5171d1e2c7d0f73b1f47e7e2d9e3ae

commit bf2c477e5d5171d1e2c7d0f73b1f47e7e2d9e3ae
Author: Farah Charab <farahcharab@google.com>
Date: Mon Jul 23 21:11:08 2018

Scheduler: Experiment with setting priorities based on frame origin.

Set the priority of same-origin loading task to high and the priority of
cross-origin tasks to low depending on the feature enabled.

Bug: 856158
Change-Id: I5bc2e17cf512ccae0cdd7a62d1afc61cc5b53cb7
Reviewed-on: https://chromium-review.googlesource.com/1112252
Commit-Queue: Farah Charab <farahcharab@chromium.org>
Reviewed-by: Robert Kaplow (OOO until 0730) <rkaplow@chromium.org>
Reviewed-by: Alex Clarke <alexclarke@chromium.org>
Reviewed-by: Alexander Timin <altimin@chromium.org>
Reviewed-by: Sami Kyöstilä <skyostil@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577256}
[modify] https://crrev.com/bf2c477e5d5171d1e2c7d0f73b1f47e7e2d9e3ae/testing/variations/fieldtrial_testing_config.json
[modify] https://crrev.com/bf2c477e5d5171d1e2c7d0f73b1f47e7e2d9e3ae/third_party/blink/renderer/platform/scheduler/child/features.h
[modify] https://crrev.com/bf2c477e5d5171d1e2c7d0f73b1f47e7e2d9e3ae/third_party/blink/renderer/platform/scheduler/main_thread/frame_scheduler_impl.cc
[modify] https://crrev.com/bf2c477e5d5171d1e2c7d0f73b1f47e7e2d9e3ae/third_party/blink/renderer/platform/scheduler/main_thread/frame_scheduler_impl_unittest.cc
[modify] https://crrev.com/bf2c477e5d5171d1e2c7d0f73b1f47e7e2d9e3ae/third_party/blink/renderer/platform/scheduler/main_thread/main_thread_scheduler_impl.cc
[modify] https://crrev.com/bf2c477e5d5171d1e2c7d0f73b1f47e7e2d9e3ae/third_party/blink/renderer/platform/scheduler/main_thread/main_thread_scheduler_impl.h

Status: Started (was: Assigned)
Cc: altimin@chromium.org
Labels: Merge-Request-69 OS-Android OS-Chrome OS-Linux OS-Mac OS-Windows
This is a non-risky internal scheduling change which is not user-facing and with no UX/privacy/security implications.

It has been submitted since July 23, and no Crashes have been reported. 
Project Member

Comment 5 by sheriffbot@chromium.org, Aug 3

Labels: -Merge-Request-69 Hotlist-Merge-Reject Merge-Reject-69
The bug is marked as P3 or Feature. It should not be merged as M69 is in beta. 
Please contact the approriate milestone owner if you have questions.
Owners: amineer@(Android), kariahda@(iOS), cindyb@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Pri-3 Pri-1
Labels: -Hotlist-Merge-Reject -Merge-Reject-69 Merge-Request-69
Project Member

Comment 8 by sheriffbot@chromium.org, Aug 3

Labels: -Merge-Request-69 Merge-Review-69 Hotlist-Merge-Review
This bug requires manual review: M69 has already been promoted to the beta branch, so this requires manual review
Please contact the milestone owner if you have questions.
Owners: amineer@(Android), kariahda@(iOS), cindyb@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Merge-Review-69 Merge-Approved-69
Approving merge to M69 branch 3497 based on comment #4. Please merge ASAP. Thank you.
Please merge your change to M69 branch 3497 by 4:00 PM PT, Monday (08/06) so we can pick it up for next week M69 beta release. Thank you.
Project Member

Comment 11 by bugdroid1@chromium.org, Aug 6

Labels: -merge-approved-69 merge-merged-3497
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1028eac6a0b1749c0a3b0b14b1d14af5e75060a8

commit 1028eac6a0b1749c0a3b0b14b1d14af5e75060a8
Author: Alexander Timin <altimin@chromium.org>
Date: Mon Aug 06 10:17:52 2018

Scheduler: Experiment with setting priorities based on frame origin.

Set the priority of same-origin loading task to high and the priority of
cross-origin tasks to low depending on the feature enabled.

TBR=farahcharab@google.com

(cherry picked from commit bf2c477e5d5171d1e2c7d0f73b1f47e7e2d9e3ae)

Bug: 856158
Change-Id: I5bc2e17cf512ccae0cdd7a62d1afc61cc5b53cb7
Reviewed-on: https://chromium-review.googlesource.com/1112252
Commit-Queue: Farah Charab <farahcharab@chromium.org>
Reviewed-by: Robert Kaplow (OOO until 0730) <rkaplow@chromium.org>
Reviewed-by: Alex Clarke <alexclarke@chromium.org>
Reviewed-by: Alexander Timin <altimin@chromium.org>
Reviewed-by: Sami Kyöstilä <skyostil@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#577256}
Reviewed-on: https://chromium-review.googlesource.com/1163514
Cr-Commit-Position: refs/branch-heads/3497@{#412}
Cr-Branched-From: 271eaf50594eb818c9295dc78d364aea18c82ea8-refs/heads/master@{#576753}
[modify] https://crrev.com/1028eac6a0b1749c0a3b0b14b1d14af5e75060a8/testing/variations/fieldtrial_testing_config.json
[modify] https://crrev.com/1028eac6a0b1749c0a3b0b14b1d14af5e75060a8/third_party/blink/renderer/platform/scheduler/child/features.h
[modify] https://crrev.com/1028eac6a0b1749c0a3b0b14b1d14af5e75060a8/third_party/blink/renderer/platform/scheduler/main_thread/frame_scheduler_impl.cc
[modify] https://crrev.com/1028eac6a0b1749c0a3b0b14b1d14af5e75060a8/third_party/blink/renderer/platform/scheduler/main_thread/frame_scheduler_impl_unittest.cc
[modify] https://crrev.com/1028eac6a0b1749c0a3b0b14b1d14af5e75060a8/third_party/blink/renderer/platform/scheduler/main_thread/main_thread_scheduler_impl.cc
[modify] https://crrev.com/1028eac6a0b1749c0a3b0b14b1d14af5e75060a8/third_party/blink/renderer/platform/scheduler/main_thread/main_thread_scheduler_impl.h

Sign in to add a comment