Lag spikes and High CPU performance when Gaming

theRTT

Honorable
Jul 25, 2016
408
5
10,865
Hello, I have lag spikes when I am gaming. I've figured it out, that it's not the RAM or the heat of my processor. I have installed all of my drivers and there is barely dust in my PC.

So I'm gonna take Star Wars Battlefront as an example:

Every time when I start up the game, my CPU percentage gets up to around 96% (sometimes even 99%).

After starting up, I am in the menus (of course). Than my CPU is around 50%.

When in the loading screen, it takes up to 60%-70% again.

So, just before the level is loaded completely, the CPU gets up to 80%/90%.

When the level is loaded, it shows the menu where you can pick your weapon etc. Just the first 2 seconds when that screen/menu appears, the CPU gets up to 96%/99%.

So if I press "START" (when you spawn in the game), it also gets to 96%/99%.

Playing the game, the CPU usage is around the 66%-86%, but peeks up sometimes to 96%/99%.

The lag spikes appear when loading, sometimes spawning and when I die, and see the kill cam. I think all of these are points of loading. Sometimes I've also lag spikes when something "big" happens, like a big explosion. And sometimes the lag spikes are just really random in the middle of walking around or looking to another direction.

It's not that I have the lag spikes every 1 minute or so, but particularly on these points.

However, when I have the lag spikes, there are no big frame drops what ever, the screen just freezes for around 0.5/1 second or so.

Does anyone know if the high CPU usage causing the lag spikes? Or if that high CPU usage when gaming is a problem?
It's not only in Battlefront, it's in all the games I play (also GTA V and Battlefield 4, even Minecraft sometimes).

My PC:
Intel i5 4460.
MSI Nvidia Geforce GTX 960 4 GB.
8GB Ram.
MSI H97 Gaming 3 Motherboard.
1000 GB HDD.
250 EVO Samsung SSD.
 

theRTT

Honorable
Jul 25, 2016
408
5
10,865


Here are the screenshots:

1.png


And this is what happened when I opened paint: (I quickly saved the screenshots in that program)

whenopeningpaint.png
 

theRTT

Honorable
Jul 25, 2016
408
5
10,865


When my system is idle, my cpu is around 2% / 3%. With the AV turned on. When I play games, all the CPU usage goes to the game. Nothing else at the background is taking high CPU usage. Only origin for 2% or so.
 

octavecode

Distinguished
Download unigine heaven and run it, It's light on the cpu side so it will help you understand how your system works and if there is an actual problem.
Use msi afterburner or any other software monitor the cpu usage over time.
Games are supposed to suck your cpu but not all the time and ofc it depends on the game you are running. MMO, strategy and open world games need more cpu.
 

theRTT

Honorable
Jul 25, 2016
408
5
10,865


So, I ran the program and here are the results.

outcome.png


This program is especially for my GPU right?
So that makes me think that the problem is not my CPU, but my GPU?
I have a frame rate counter in my left upper corner of my screen and it's from the Nvidia Geforce Experience. All the time when I had the lag spikes, I didn't notice a frame drop. But that FPS counter from nvidia, is far from accurate as the one from the Unigine Heaven.

As I said: I have the lag spikes especially when loading. But may this be cause by the CPU or the GPU, rendering the game or so?

Take a look at the results and see what you can find.
 

theRTT

Honorable
Jul 25, 2016
408
5
10,865


Here are the screenshots:

3.png


4.png
 

octavecode

Distinguished
In task manager "performance" tab you need to mark the "CPU" (before running the test) so i can see the graph
Anyways the score you are getting looks normal so i don't think there is something wrong with your cpu or gpu.
Maybe what you think of "lag spikes" its just your HDD loading the game?
 

theRTT

Honorable
Jul 25, 2016
408
5
10,865


Okay I will do that. It's not only when loading, it also happens pretty often in game when bigger things happen and also just randomly. I have it on my Battlefront on my SSD.
 

theRTT

Honorable
Jul 25, 2016
408
5
10,865


Here is a screenshot:

5.png
 

theRTT

Honorable
Jul 25, 2016
408
5
10,865


Okay, I did that and it didn't help.. I don't even know if it's my CPU or GPU.. They're both at full usage when I game, but I don't think that's actually a problem.. I have really no idea what the problem is..