CPU snapshots doesn't show chrome |
||||||||
Issue descriptionThanks to ziqi@'s work, we know have snap shots of cpu usages by processes in our trace. However, I notice that none of those snapshots show Chrome as the top consumer. For example: https://console.developers.google.com/m/cloudstorage/b/chrome-telemetry-output/o/trace-file-id_0-2016-08-23_04-35-04-41475.html (from https://chromeperf.appspot.com/report?sid=f7c2b4ecf59717c213266ce1183724ad81edb8d32717dd2847a7514fe962b612) I worry that the cpu snapshotting mechanism has some problem with collecting data on the bot, and cannot be trusted yet. Hence we should still explain what's going on.
,
Aug 26 2016
,
Sep 13 2016
,
Sep 13 2016
I spent sometimes looking into this. I think this is a bug with how he parse the ps's commandline: https://github.com/catapult-project/catapult/blob/0f569374f5240627e47aaf7cd8c66a692674e6b8/telemetry/telemetry/internal/platform/tracing_agent/cpu_tracing_agent.py#L55 Code: token_list = line.strip().split() a line here could looks s.t like: PID COMMAND %CPU %MEM 22818 python 31.9 0.2 ..... 22384 Google Chrome He 2.3 1.2 # <- bug!
,
Sep 13 2016
With a hacky fix, I got some interesting insights on my Mac, e.g: web-page-replay server was taking a lot of CPU usage on my Mac. Can someone take over this bug?
,
Sep 13 2016
Charlie, since this is pretty critical for understanding how background processes impact our power metrics, can someone on your team take it? Ned, maybe you could post your hacky fix in a not-for-submission-cl to point folks in the right direction?
,
Sep 13 2016
Here is my hacky fix for Mac https://codereview.chromium.org/2333133002/
,
Oct 19 2016
This is still on our radar, and will likely become more relevant now that the bots are (hopefully) running more stably.
,
Feb 10 2017
,
Feb 10 2017
,
Jun 22 2017
This is fixed - Chrome is now showing up. |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by sheriffbot@chromium.org
, Aug 24 2016