Speed: low performance on a high end pc
Reported by
orev...@gmail.com,
Oct 5 2017
|
||||||||
Issue descriptionWhen Chrome is slow to startup, load a page, respond to your actions, uses too much memory, drains the device's battery quickly, becomes warm with use (or non-use), is eating up your bandwidth, or generally not performing how you would like, this is the right place to file a bug. For any other issues, please use a different template. When filing a Speed bug, it's important to attach a trace (https://www.chromium.org/developers/how-tos/submitting-a-performance-bug) so that we can better investigate the issue. Please specify the type of device and operating system (and version) where the problem occurs. By using this template, you ensure it will be looked at by the right folks triaging Speed bugs. However, there is no SLA/SLO for fixing bugs or delivering features. Prioritization of this report is at the discretion of the Speed team. If you disagree with the assessment, please state your case in the bug so we can reassess. on the last couple of weeks I've noticed a big latency with chrome basics commands. such as open new tab, closing an open tab, switching between tabs etc.. This issue came out of nowhere and not affect the internet browsing speed. just the chrome application behavior. This is the system I run: Intel I7-6700 Gigabyte Z170x Gaming 5 Kingston HyperX DDR4 32GB 2133MHz Gigabyte Aorus 1080Ti 11GB DDR5x Samsung NVMe m.2 512GB Thanks
,
Oct 7 2017
Thanks for investigating! So I created another trace file, while recording this trace I was doing the following actions: 1. initial state: the browser was opened with only one tab open (chrome://tracing) 2. stated recording 3. opened a new tab (with the '+' button on the top) => this action was taking long then usual 4. type in google.com and enter 5. google.com site was loaded fast as expected 6. close google.com tab with the 'x' button on the top of the tab (this action also took too long) 7. created new tab with the '+' button (this action took too long) 8. switched to the first tab (chrome://tracing) (this action took too long) 9. resize the window from full screen to window (this action took too long) 10. resize the window again to full screen (this action took too long) 11. closed the new tab from step 7 with the 'x' button (this action took too long) 12. stopped recording
,
Oct 7 2017
Thank you for providing more feedback. Adding requester "brucedawson@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 9 2017
It looks like you forgot to share the trace that you recorded. Also, for a problem like this I suspect that less-is-more. You could probably stopped after step 6 in your list of steps, to keep the trace small. And, you don't mention it so don't forget to enable all categories, to improve our odds of understanding what is going on. If you want to do all the steps (it's not a bad idea) then maybe record two traces - one that stops after step 6, and another that goes all the way.
,
Oct 10 2017
,
Oct 15 2017
sorry for missing the file on the last comment and also for being super late.. we had some holidays and I had no time to deal with it... anyway i cut the trace into two: first file named short is doing the script from last comment up until level 6 (where you suggested to stop) and the second file named long is the whole script from level 1 to 12. thanks a lot!
,
Oct 15 2017
Thank you for providing more feedback. Adding requester "brucedawson@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 16 2017
Thanks! I just looked at the short trace since that seemed to have enough information, for now anyway. It shows heavy CPU usage from just after 1,800 ms to just before 3,800 ms, so almost two seconds. It looks like this excessive CPU time is correlated with CompositorTileWorker1/11012 in the browser process, doing things like OneCopyRasterBuffer::Playback. One of these calls takes ~183 ms (the target for an entire frame is < 16 ms) and, judging by the v-blank data, it looks like one frame ends up taking over a second. The full task stack is SingleThreadTaskGraphRunner::RunTaskWithLockAcquired calls RasterizerTaskImpl::RunOnWorkerThread which calls RasterTask which calls OneCopyRasterBuffer::Playback - so, the results are consistent with the previous trace (which just showed SingleThreadTaskGraphRunner::RunTaskWithLockAcquired because not enough categories were enabled) The GPU process looks mostly idle during this time. It is in some pretty long calls to GLES2DecoderImpl::DoLinkProgram but "pretty long" in this context ~18 ms, so it's not clear that this is really the issue. Shader compilation is known to take a while, especially early during program execution, so this may be "normal and expected". Ultimately execution in OneCopyRasterBuffer::Playback goes down to OneCopyRasterBuffer::Playback and various child functions that are not instrumented. I can ask the rendering experts if they know anything about this but I suspect that an ETW trace would also be very helpful. If you can grab an ETW trace - with the GPU tracing checkbox checked - using the instructions at https://randomascii.wordpress.com/2015/09/01/xperf-basics-recording-a-trace-the-ultimate-easy-way/ then I think that would be very helpful. This ultimately may be a GPU driver problem so you should make sure that your drivers are up-to-date. It could also be a CPU/GPU overheating problem so using Intel Power Gadget or similar to monitor your CPU temperature could be useful. But, these are just speculation. An ETW trace is likely to reveal the truth. The ~two seconds of heavy CPU usage seemed to be caused by opening the new tab (it started about 300 ms before the new tab opened). Next time maybe shorten the scenario even more and just record opening a new tab.
,
Oct 19 2017
Can you get an ETW trace (see previous comment)? Perhaps check your drivers and CPU/GPU temperatures as well, but mostly I think we need an ETW trace o understand what is going on.
,
Oct 20 2017
sorry, but i gave up and re-installed windows with full disk format and now everything is back to normal... thanks a lot for your time and patient
,
Oct 20 2017
Thank you for providing more feedback. Adding requester "brucedawson@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 20 2017
I'm glad things are back to normal. I guess we'll never know what was wrong, but presumably some Windows/graphics issue. I will close as WontFix. |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by brucedaw...@chromium.org
, Oct 6 2017