GpuChannelHost::CreateViewCommandBuffer blocks UI thread |
||||
Issue descriptionTracing startup on 1GiB Android Go I routinely see GpuChannelHost::CreateViewCommandBuffer() blocking UI thread for ~100ms. It looks like it waits until GpuChannelMsg_CreateCommandBuffer completes on InProcGpuThread. Can we do what GpuChannelMsg_CreateCommandBuffer does ahead of time, so that GpuChannelHost::CreateViewCommandBuffer() doesn't wait that long?
,
Dec 13 2017
,
Dec 27 2017
,
Jan 12 2018
Ping. It would be nice to get rid of this in Q1.
,
Mar 6 2018
Taking a look at this.
,
May 10 2018
A bit of data. That call, GpuChannelHost::Send, seems to be waiting on something to happen on IO thread, so when IO thread is busy we block for longer. For example see attached case where it took 267ms, because IO thread was busy processing socket events. That was abnormal (normally the call takes ~80ms), but shows how the call acts like a sync point between UI and IO threads - something that we should avoid, especially during startup. |
||||
►
Sign in to add a comment |
||||
Comment 1 by dskiba@chromium.org
, Dec 13 201729.7 KB
29.7 KB View Download