Massive renderer (GC?) pauses on several common websites |
|||||||
Issue descriptionI noticed this happening a few days ago on sites like YouTube and Facebook, and I've managed to get a consistent repro on Google Calendar by simply loading it -- though I guess mileage may vary based on calendar contents. Not sure if the pauses I've been experiencing are all related, but I'd venture a guess that they are. Took a trace during the Calendar hang and it looks like a massive GC pause based on the fact that there is a 9-second main-thread task with src_func="ScheduleIdleGC", but I may be interpreting this incorrectly.
,
Jan 10 2018
There we go!
,
Jan 10 2018
Adding a speed person too, as I think this could use more eyes.
,
Jan 10 2018
This isn't a v8 GC, it's an oilpan GC (I think). CCing some oilpan folks.
,
Jan 10 2018
Can you take another trace with the blink_gc category enabled?
,
Jan 10 2018
Yeah, though it doesn't really add any more data other than probably confirming blink GC within invokePreFinalizers.
,
Jan 10 2018
I can also at least confirm that it appears to be limited to M65+. No success attempting to repro in beta or stable.
,
Jan 10 2018
Why is the CPU time so low? Looks like it's getting consistently descheduled somehow.
,
Jan 10 2018
I am confused by the fact that performIdleGC CPU is consistent with wall time, yet invokePreFinalizers CPU time is not - despite essentially spanning the full extent of performIdleGC. Is that even possible?
,
Jan 10 2018
I'm not seeing what you describe. performIdleGC also appears to have tiny CPU time. Title ThreadState::performIdleGC Category blink_gc User Friendly Category other Start 5,432.827 ms Wall Duration 8,888.681 ms CPU Duration 7.961 ms Self Time 0.268 ms CPU Self Time 0.267 ms
,
Jan 10 2018
You are correct. I'm just bad at reading. So if it's getting descheduled a bunch... IO or lock contention?
,
Jan 10 2018
There's something media related happening: src_file "../../media/base/serial_runner.cc" src_func "RunOnTaskRunner" It's also descheduled though. The CPU usage graph at the top makes it look like there isn't much going on.
,
Jan 11 2018
FWIW invokePreFinalizers should be very lightweight.
,
Jan 12 2018
Who is the right owner for this? Presumably someone with context on Oilpan GC?
,
Jan 12 2018
FWIW it seems like this has disappeared since my last dev channel update.
,
May 21 2018
Plase reopen if this is a still a problem. Component: Blink>MemoryAllocator>GarbageCollection is the right one and should be triaged (we are improving the process right now). |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by roc...@chromium.org
, Jan 10 2018