Jump to content

Random apps spike in CPU usage

Go to solution Solved by RTX 3071,
On 8/27/2021 at 2:34 AM, zvmurai said:

My train of thought here is either dodgy drivers, antivirus doing scans and clashing, throttling, or it's struggling with disk I/O.

You were right, after I fixed my erroring HyperX Cloud 2 driver (thanks kingston, or HP wharever) problem went away. 

I'm on Windows 11 Beta, this will probably be helpful.
One day my apps started to spike in CPU usage. Random apps spike in CPU usage and get to the top. Most interesting thing is, when Task Manager shows 100% CPU usage, reported app CPU usages won't make 100% if I add them. Process Explorer, HWiNFO, MSI Dragon Center and Kaspersky's process explorer says that this reported 100% usage is wrong. I scanned my PC for malware with Malwarebytes, HitmanPro and Kaspersky and nothing here found a problem. I don't know what's happening, I don't know if this is something with the Beta or not, can someone guide me?

Link to comment
https://linustechtips.com/topic/1368361-random-apps-spike-in-cpu-usage/
Share on other sites

Link to post
Share on other sites

1 hour ago, RTX 3071 said:

I'm on Windows 11 Beta, this will probably be helpful.
One day my apps started to spike in CPU usage. Random apps spike in CPU usage and get to the top. Most interesting thing is, when Task Manager shows 100% CPU usage, reported app CPU usages won't make 100% if I add them. Process Explorer, HWiNFO, MSI Dragon Center and Kaspersky's process explorer says that this reported 100% usage is wrong. I scanned my PC for malware with Malwarebytes, HitmanPro and Kaspersky and nothing here found a problem. I don't know what's happening, I don't know if this is something with the Beta or not, can someone guide me?

Beta is beta after all. Sounds like something that could be gone by release.

Might not though.  Mac is gaining more and more traction with me. If I can get one I can play games on and it’s not insanely expensive I’ll likely buy one at this point.  Has to exist first of course and something like that hasn’t existed for a long time.

Not a pro, not even very good.  I’m just old and have time currently.  Assuming I know a lot about computers can be a mistake.

 

Life is like a bowl of chocolates: there are all these little crinkly paper cups everywhere.

Link to post
Share on other sites

Have you installed all your drivers or checked for updates on them since you upgraded?

What apps are affected? is this affecting Windows processes too?

What AntiViruses have you got installed, and have they all got "realtime protection" (or similar) enabled? If so, pick one and disable the others, this can cause issues.

Have you monitored your temperatures?

Also how old/full are your drives, and is your C: drive a HDD?

 

My train of thought here is either dodgy drivers, antivirus doing scans and clashing, throttling, or it's struggling with disk I/O.
If it is truly affecting all apps randomly, it's normally an issue with I/O that has locked up a thread, and the spike in usage is the program processing stuff that has queued up while its been locked up.

 

Also, CPU usage and RAM usage across diagnostical apps can be quite different because there are a few ways to calculate these values. For example, even Task manager can misreport RAM usage, as I found out myself when debugging memory leaks in my application. In terms of CPU, sometimes an application can have sub processes that are/aren't included in the calculations, or they might be doing some long running system calls, where the load is actually counted under a windows process.

Link to post
Share on other sites

8 hours ago, zvmurai said:

Have you installed all your drivers or checked for updates on them since you upgraded?

Yes.

8 hours ago, zvmurai said:

What apps are affected? is this affecting Windows processes too?

dvm.exe, explorer.exe, Chrome, svchost.exe, Windows Update (checked for updates a lot of times) and some more. 

 

I went into safe mode with cmd and problem wasn't there. And then as soon as I started explorer.exe, this started happening again. However in safe mode only dvm.exe and explorer.exe does this. CPU on 100% usage reported by task manager, sometimes explorer jumps in usage but a lot of the times all of them are on 0% CPU usage but total shows 100%. This means two things, either my explorer.exe is infected (I highly doubt that because its size is same with the Windows 11's explorer in my VM) or there's a huge bug in Windows 11 about it.

8 hours ago, zvmurai said:

What AntiViruses have you got installed, and have they all got "realtime protection" (or similar) enabled? If so, pick one and disable the others, this can cause issues.

Only Kaspersky which has real time protection on.

8 hours ago, zvmurai said:

Have you monitored your temperatures?

Yes, all fine.

8 hours ago, zvmurai said:

Also how old/full are your drives, and is your C: drive a HDD?

Both are 1 year old, I have a 970 Evo Plus NVMe SSD for C: drive and 1 TB HDD for E: drive. Weird thing is, Windows reported 18% fragmentation with its drive defragmenting tool on HDD yesterday and I fixed it with that tool. Worth noting maybe. 

8 hours ago, zvmurai said:

If it is truly affecting all apps randomly, it's normally an issue with I/O that has locked up a thread, and the spike in usage is the program processing stuff that has queued up while its been locked up.

Is it possible to debug for this?

Link to post
Share on other sites

  • 3 weeks later...
On 8/27/2021 at 2:34 AM, zvmurai said:

My train of thought here is either dodgy drivers, antivirus doing scans and clashing, throttling, or it's struggling with disk I/O.

You were right, after I fixed my erroring HyperX Cloud 2 driver (thanks kingston, or HP wharever) problem went away. 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×