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

Issue 592950 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jul 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Chrome high CPU with blocked social network category

Reported by scastel...@gmail.com, Mar 8 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36

Steps to reproduce the problem:
1. Network with firewall or proxy that blocks social network categories
2. Chrome installed in a shared environment su as Terminale server or Citrix with roaming profile
3. Chrome runs in a Virtual Machine hosted on VmWare or Xenserver ( hyper-V not tested )
4. working with chrome cause an unxepected usage of CPU per user
5: Disabling firewall or proxy blocking feature set chrome CPU usage per user as expected

What is the expected behavior?
It seems  like that Chrome needs a connection to some social network to works fluently, when firewall or proxy blocking this category the CPU goes very High

What went wrong?
In a shared environment such as Citrix or Terminal Server I need at least a core/processor assigned for 2 user max

Did this work before? N/A 

Chrome version: 48.0.2564.116  Channel: stable
OS Version: 
Flash Version: Shockwave Flash 20.0 r0

It seems that this behavior is independet  by the version of Chrome
 
Components: Internals>Network>Proxy

Comment 2 by mmenke@chromium.org, Mar 10 2016

Labels: Needs-Feedback
When you go to More Tools->Task Manager in Chrome, what process does it say is consuming all that CPU time
scastelli7@: Please respond to the question in comment #2 so that we can further assist you.
HI Jkarlin, I've asked to my customer some screenshot in order to get the more information I can.
By now I have only one screenshot ( attached ) where Chrome uses 14% of CPU after a translation.

b1.jpg
34.4 KB View Download

Comment 5 by mmenke@chromium.org, Mar 24 2016

Components: -Internals>Network>Proxy Blink
Tentatively attaching the blink label - that's the renderer process, and the network stack doesn't do anything there, though more goes on in the renderer process than running Blink.
Attach you could find some other screenshot, the first one is with google sheet and the second one shows the impact of it on the hypervisor.


Project Member

Comment 7 by sheriffbot@chromium.org, Mar 25 2016

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

For more details visit https://sites.google.com/a/chromium.org/dev/issue-tracking/autotriage - Your friendly Sheriffbot
Could you create a trace as per instructions in https://www.chromium.org/developers/how-tos/submitting-a-performance-bug and attach it to this bug? Thank you!
Here is a trace from google sheet
Thanks
trace_Sheets-Prototipi.json.gz
1.2 MB Download
Cc: cbiesin...@chromium.org
Components: -Blink Internals>Network
Hmm, some activity on the IO thread... putting this in networking for now
Owner: ----
Unassigning from myself
 cbiesinger:  How are you getting the IO Thread from that? Trace claims it only spent 150ms of CPU time.  CrBrowserMain (UI thread?) spent more like 4 seconds, looks like.  
Cc: mmenke@chromium.org
mmenke: I focused on the events *after* the main load of the page. But actually maybe that was a mistake.

scastelli7: To clarify, are you concerned about CPU usage while the page is loading, or while it's "idle" afterwards?
That 150ms of CPU time on the IO thread is for the entire duration of the trace, before, after, and during the page being loaded.  Zoom out, highlight everything on the Chrome_IOThread, look at the total time.  Am I missing something?
Components: -Internals>Network Blink
I think you're right, and I just failed to read the trace. I'll leave this to someone else for triage.
The cpu stay High after the page is loaded
scastelli7:  Could you please provide another trace?  This time, load the page first.  Then start tracing and leave the browser running a minute or two before stopping the trace.  That should hopefully give us a stronger signal of what's going on.
Just to be clear, only start the trace after the page has finished loading, so we don't capture the page loading at all.
Here you are.
thanks
trace_ProtoclloAttivitCOMM.json.gz
1.2 MB Download
Other 2 example
trace_AttiCOMM2.json.gz
2.5 MB Download
trace_SchedaAttComm.json.gz
2.7 MB Download
Components: -Blink Blink>JavaScript>Performance Blink>Paint
In the first trace (trace_ProtoclloAttivitCOMM):

IO Thread: 182 ms
UI Thread: 383 ms
Renderer main thread: 1,891 ms (Mostly V8.Execute and ResourceDispatcher:OnReceivedData)
Dedicated worker thread: 1,5591 ms (Mostly V8.GCIncrementalMarking)

Second trace (trace_AttiCOMM2) again shows most of the CPU time spend in the renderer, but it mostly shows time spent painting.

Third trace (trace_SchedaAttComm) shows time spent running V8 and painting.

Do you have any extensions installed?  Suggest you try disabling them, if so.
No extension installed
Components: -Blink>Paint
This is not a paint bug, it's something else.
How could we proceed to investigate deeper?
Cc: hpayer@chromium.org mlippautz@chromium.org
Components: -Blink>JavaScript>Performance Blink>JavaScript>GC
Status: Available (was: Unconfirmed)
Long shot: is it possible that incremental marking gets confused on a shared environment like Citrix?
Labels: -Needs-Review M-52
Tagging with current Dev milestone for tracking purpose.
is there any further test that i can make in order to debug this issue? As business we works whit Citrix every day and we deploy many VDI in different scenarios, only Chrome is so aggressive with the CPU and we could not understand why...
Cc: -mmenke@chromium.org
I don't see how Citrix (or any other virtualization environment) would have an influence on incremental marking.

I can see that incremental marking is running on a dedicated worker thread. So marking is probably not able to keep up with the allocation rate. I am only guessing here because we don't have a workload.

Any chance to try that on a current Dev release? Black allocation (just landed recently) should help with this behavior.

Comment 30 Deleted

Project Member

Comment 31 by sheriffbot@chromium.org, Jun 1 2016

Labels: -M-52 M-53 MovedFrom-52
Moving this nonessential bug to the next milestone.

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

Comment 32 by sheriffbot@chromium.org, Jul 15 2016

Labels: -M-53 MovedFrom-53
This issue has been moved once and is lower than Pri-1. Removing the milestone.

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

Comment 33 by sheriffbot@chromium.org, Jul 17 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: WontFix (was: Untriaged)
Closing this issue because it is not actionable.

Sign in to add a comment