Description was changed from ========== scheduler: Make virtual time expiration deterministic Since the execution order ...
3 years, 8 months ago
(2017-04-24 16:23:28 UTC)
#1
Description was changed from
==========
scheduler: Make virtual time expiration deterministic
Since the execution order of tasks across task queues is not
guaranteed[1], the task that controls the expiration of the virtual time
budget can run in a random order w.r.t. the tasks virtual time is
actually controlling. This patch makes the ordering deterministic by
using the control task queue (i.e., always the highest priority) to
reset the virtual time policy when the budget expires.
BUG=696001,701223
[1] https://codereview.chromium.org/2786083005/
==========
to
==========
scheduler: Make virtual time expiration deterministic
Since the execution order of tasks across task queues is not
guaranteed[1], the task that controls the expiration of the virtual time
budget can run in a random order w.r.t. the tasks virtual time is
actually controlling. This patch makes the ordering deterministic by
using the control task queue (i.e., always the highest priority) to
reset the virtual time policy when the budget expires.
BUG=696001,701223
[1] https://codereview.chromium.org/2786083005/
==========
https://codereview.chromium.org/2841463003/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc File third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc (right): https://codereview.chromium.org/2841463003/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc#newcode1861 third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc:1861: control_task_runner_->SetTimeDomain(time_domain); I'm a little nervous about that, generally we ...
3 years, 8 months ago
(2017-04-25 11:53:17 UTC)
#6
https://codereview.chromium.org/2841463003/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc File third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc (right): https://codereview.chromium.org/2841463003/diff/20001/third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc#newcode1861 third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc:1861: control_task_runner_->SetTimeDomain(time_domain); On 2017/04/25 11:53:17, alex clarke wrote: > I'm ...
3 years, 8 months ago
(2017-04-25 16:58:21 UTC)
#7
https://codereview.chromium.org/2841463003/diff/20001/third_party/WebKit/Sour...
File
third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc
(right):
https://codereview.chromium.org/2841463003/diff/20001/third_party/WebKit/Sour...
third_party/WebKit/Source/platform/scheduler/renderer/renderer_scheduler_impl.cc:1861:
control_task_runner_->SetTimeDomain(time_domain);
On 2017/04/25 11:53:17, alex clarke wrote:
> I'm a little nervous about that, generally we don't ever expect the control
task
> queue to be throttled / disabled. Do we need a second lazily created control
> task queue?
That's a great point, I agree that we should be a little careful here. Added a
secondary queue instead.
Try jobs failed on following builders: linux_chromium_tsan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_tsan_rel_ng/builds/61521)
3 years, 8 months ago
(2017-04-26 16:05:38 UTC)
#14
Try jobs failed on following builders: android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_compile_dbg/builds/257938)
3 years, 7 months ago
(2017-04-27 15:48:55 UTC)
#18
CQ is committing da patch. Bot data: {"patchset_id": 100001, "attempt_start_ts": 1493720892581820, "parent_rev": "252666c9c21919c74b0cbf1c4893f0aecfa41798", "commit_rev": "6b5d2e208a399b53facc7ab80fca62b35f427c46"}
3 years, 7 months ago
(2017-05-02 12:03:14 UTC)
#22
CQ is committing da patch.
Bot data: {"patchset_id": 100001, "attempt_start_ts": 1493720892581820,
"parent_rev": "252666c9c21919c74b0cbf1c4893f0aecfa41798", "commit_rev":
"6b5d2e208a399b53facc7ab80fca62b35f427c46"}
commit-bot: I haz the power
Description was changed from ========== scheduler: Make virtual time expiration deterministic Since the execution order ...
3 years, 7 months ago
(2017-05-02 12:03:25 UTC)
#23
Message was sent while issue was closed.
Description was changed from
==========
scheduler: Make virtual time expiration deterministic
Since the execution order of tasks across task queues is not
guaranteed[1], the task that controls the expiration of the virtual time
budget can run in a random order w.r.t. the tasks virtual time is
actually controlling. This patch makes the ordering deterministic by
using the control task queue (i.e., always the highest priority) to
reset the virtual time policy when the budget expires.
BUG=696001,701223
[1] https://codereview.chromium.org/2786083005/
==========
to
==========
scheduler: Make virtual time expiration deterministic
Since the execution order of tasks across task queues is not
guaranteed[1], the task that controls the expiration of the virtual time
budget can run in a random order w.r.t. the tasks virtual time is
actually controlling. This patch makes the ordering deterministic by
using the control task queue (i.e., always the highest priority) to
reset the virtual time policy when the budget expires.
BUG=696001,701223
[1] https://codereview.chromium.org/2786083005/
Review-Url: https://codereview.chromium.org/2841463003
Cr-Commit-Position: refs/heads/master@{#468604}
Committed:
https://chromium.googlesource.com/chromium/src/+/6b5d2e208a399b53facc7ab80fca...
==========
commit-bot: I haz the power
Committed patchset #6 (id:100001) as https://chromium.googlesource.com/chromium/src/+/6b5d2e208a399b53facc7ab80fca62b35f427c46
3 years, 7 months ago
(2017-05-02 12:03:26 UTC)
#24
Issue 2841463003: scheduler: Make virtual time expiration deterministic
(Closed)
Created 3 years, 8 months ago by Sami
Modified 3 years, 7 months ago
Reviewers: alex clarke (OOO till 29th), dgozman
Base URL:
Comments: 6