New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 658894 link

Starred by 2 users

Issue metadata

Status: Archived
Owner: ----
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Compat



Sign in to add a comment

High CPU usage when tab is open

Reported by bche...@gmail.com, Oct 24 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36

Example URL:

Steps to reproduce the problem:
We have a specific page on an internal web application that is very DOM-heavy (~2k DOM elements) and uses a lot of CSS shadows and opacity.

When I open the page, CPU usage immediately climbs to ~60%, and stays there. When I switch to a different tab in Chrome, usage drops. When I open the tab again, usage immediately climbs back to 60%.

I have no Chrome extensions, no other tabs open, and no other programs running.

Some data points:

- According to Timeline and CPU profilers in devtools, the page is neither using the CPU or allocation objects when it is left open.
- According to Process Explorer and Performance Monitor, CPU usage is around 60% (around 1/3 of that is kernel mode, 2/3 is user mode)
- According to Chrome Task Manager, the Browser is consistently using 59% CPU, and the guilty tab is consistently using 0-5%

Chrome is running inside of a Xen instance. This issue does not happen on OSX.

Machine params:

- Windows 7 Enterprise x64
- Intel Xeon dual core @2.60GHz
- 8GM RAM

Possibly related:

- https://bugs.chromium.org/p/chromium/issues/detail?id=23523
- https://bugs.chromium.org/p/chromium/issues/detail?id=447583

Attempted fixes:

- Tried toggling all Chrome flags mentioned here: http://superuser.com/a/697573/47999

What is the expected behavior?

What went wrong?
See Devtools timeline (CPU usage spikes when page is loaded, which is expected, but then goes down to zero, while external tools still report it as pegged around 60%).

Also see Process Explorer and Chrome Task Manager screenshots attached.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 54.0.2840.71 m (64-bit)  Channel: stable
OS Version: 7 Enterprise
Flash Version:
 
Screen Shot 2016-10-24 at 2.30.03 PM.png
58.4 KB View Download
Screen Shot 2016-10-24 at 2.36.22 PM.png
110 KB View Download
Screen Shot 2016-10-24 at 1.42.57 PM.png
43.3 KB View Download

Comment 1 by hdodda@chromium.org, Oct 25 2016

Cc: hdodda@chromium.org
Components: Blink>MemoryAllocator
Labels: Needs-Feedback
@bcherny -- Could you please provide us the specific URL / Application where you are observing high CPU Usage, so that it helps us in triaging the issue better.

Note: Tested on Latest Chrome Stable# 54.0.2840.71 and Latest Canary# 56.0.2900.0 on Windows 10 & 7 using Gaming sites, video sites and sites using high definition and did not observe any abnormal CPU usage.

Thank You.

Comment 2 by bche...@gmail.com, Oct 25 2016

@hdodda Here is the simplest repro case I can come up with: https://jsfiddle.net/bcherny/rst1mb0c/. The larger the browser window, the higher the CPU usage.
Project Member

Comment 3 by sheriffbot@chromium.org, Nov 2 2016

Labels: -Needs-Feedback Needs-Review
Owner: hdodda@chromium.org
Thank you for providing more feedback. Adding requester "hdodda@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: tkonch...@chromium.org
Labels: Needs-Feedback
Owner: ----
Unable to reproduce the issue on win10 chrome version 54.0.2840.87 and canary 56.0.2912.0 - Not seeing much difference in CPU usage when switching between tabs

Please find the screenshot

Could you please try the same on a new profile and let us know if issue still exists.

658894.png
165 KB View Download

Comment 6 by bche...@gmail.com, Nov 9 2016

Can you try using a lower spec machine? Is there any additional information I can provide? This is still an issue for us. As a temporary workaround, we are limiting concurrent animations.
Project Member

Comment 7 by sheriffbot@chromium.org, Nov 17 2016

Labels: -Needs-Feedback
Owner: tkonch...@chromium.org
Thank you for providing more feedback. Adding requester "tkonchada@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Needs-Review Needs-Feedback
Owner: ----
bcherny@, Could you please let us know if this is still an issue with latest stable version 55.0.2883.87
Project Member

Comment 9 by sheriffbot@chromium.org, Feb 13 2018

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment