The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

If you can read me, I'm broken!

Views: 683     Votes:  3     ✅ Solution
Tags: google-chrome   cpu   conky  
Link: 🔍 See Original Question on Ask Ubuntu ⧉ 🔗

Title: How to narrow down what is taking 100% CPU on alternating cores
ID: /2018/01/06/How-to-narrow-down-what-is-taking-100_-CPU-on-alternating-cores
Created: January 6, 2018    Edited:  June 12, 2020
Upload: September 20, 2023    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false

Whilst watching video one core will spike to 100% for a few moments drop off and then another core will spike to 100%.

30 second htop .gif

one cpu 100%.gif

30 second conky .gif

one cpu conky 100%.gif

Other points:

Narrowing it down

While writing this question I accidentally closed the chrome tab with the video on external monitor. CPU frequencies and load dropped to normal. I’ve noticed before how apt-get will spike a single CPU to 100% but this problem is nothing like that.

The process causing abnormal behaviour is chrome but what steps can be taken to narrow it down? ie Can a certain sub-process be identified within video codec-land (whatever you call it) and targeted for bug reporting?

Chrome Version

Version 63.0.3239.132 (Official Build) (64-bit)

⇧ Difference between Legacy BIOS and UEFI What is Ubuntu's status on the Meltdown and Spectre vulnerabilities?  â‡©