[MBI] Visualizing per-ASG task queue migration progress

7 views
Skip to first unread message

Minoru Chikamune

unread,
Feb 18, 2021, 7:35:33 AM2/18/21
to scheduler-dev, Blink Isolation discussions, platform-architecture-dev

Hi,


We implemented some metrics to visualize the per-ASG migration progress.

These metrics will help us to understand our progress and also hopefully

will inspire us which part is more problematic.


TL;DR is that 85% of renderer main thread tasks will run on AgentGroupScheduler

or FrameScheduler managed task queues with ToT with MBI flag enabled.


Please check the document below if you are interested.

https://docs.google.com/document/d/1aE76rsDwaH7zN7GoUv2Y2BUd4JqqCJEfJubGeuFoiy8/edit#


[The animation below shows our progress.]


Kentaro Hara

unread,
Feb 18, 2021, 8:37:33 AM2/18/21
to Minoru Chikamune, scheduler-dev, Blink Isolation discussions, platform-architecture-dev
Thanks for the results, Minoru-san!

TL;DR is that 85% of renderer main thread tasks will run on AgentGroupScheduleror FrameScheduler managed task queues with ToT with MBI flag enabled.

This is amazing progress! I believe the task migration will contribute to make BFcache & Prerendering behave more correctly :)

If you can add UMA to track the metrics, it's awesome (though I'm not sure it's high priority).


--
You received this message because you are subscribed to the Google Groups "Blink Isolation discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-isolation...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-isolation-dev/CAL4s8FEQefwG3_KEg8tQ79dsOL9PyKY1cU7hKjd4Fk3UyLUqqw%40mail.gmail.com.


--
Kentaro Hara, Tokyo

Dave Tapuska

unread,
Feb 18, 2021, 8:42:53 AM2/18/21
to Kentaro Hara, Minoru Chikamune, scheduler-dev, Blink Isolation discussions, platform-architecture-dev
I haven't dived into the document too much just yet. Is there a comparison between desktop and mobile? I presume a bunch of extension work uses the inappropriate task runner and I'd expect desktop to be much higher than mobile. 

Dave

You received this message because you are subscribed to the Google Groups "platform-architecture-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to platform-architect...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/platform-architecture-dev/CABg10jzEMog5vfXNdNQ5JBT5Z%3D1Ssvkf7zWiKfP771O6BP%3De7Q%40mail.gmail.com.

Minoru Chikamune

unread,
Feb 18, 2021, 7:48:19 PM2/18/21
to Dave Tapuska, Kentaro Hara, scheduler-dev, Blink Isolation discussions, platform-architecture-dev
> This is amazing progress!

Thanks :-)


> If you can add UMA to track the metrics, it's awesome (though I'm not sure it's high priority).

Yeah, this is also a good idea. But probably I guess this is not a high priority.


> Is there a comparison between desktop and mobile?

Oh, this is a good point. I took this data from my Linux desktop.
I'm also curious to see the difference between desktop and Android. Thanks!

Kouhei Ueno

unread,
Feb 18, 2021, 7:55:26 PM2/18/21
to Minoru Chikamune, Dave Tapuska, Kentaro Hara, scheduler-dev, Blink Isolation discussions, platform-architecture-dev
Thank you so much for taking the numbers! This is amazing work!

On Fri, Feb 19, 2021 at 9:48 AM 'Minoru Chikamune' via Blink Isolation discussions <blink-iso...@chromium.org> wrote:
> This is amazing progress!

Thanks :-)

> If you can add UMA to track the metrics, it's awesome (though I'm not sure it's high priority).

Yeah, this is also a good idea. But probably I guess this is not a high priority.

I think we should do this, but probably after we've turned on all the flags by default.
 

Minoru Chikamune

unread,
Feb 25, 2021, 11:52:41 PM2/25/21
to Kouhei Ueno, Dave Tapuska, Kentaro Hara, scheduler-dev, Blink Isolation discussions, platform-architecture-dev
> Is there a comparison between desktop and mobile?

FYI: I took the data from android, and updated the document below.


<data comparison (animation)>



You received this message because you are subscribed to the Google Groups "scheduler-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scheduler-de...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/scheduler-dev/CAPVAxLU4NCrYMQ02jqn%2BAccZafHP3gso-1cmPR3iyaEkJMPa3Q%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages