pc lag spikes while playing games

vtmB10

Honorable
Mar 11, 2017
60
0
10,530
Hi, in some games i have terrible lag spikes and freezes, when the game freezes, i hear a fan from the pc speeding up or something like that, sometimes even in windows i experience freezes for 3-4 seconds.
my components are : i5 4460
Gtx 750ti
8 gb ram
windows 10 64 bit
i tried to check the hdd for bad sectors, no bad sectors and i ran memtest but i had no errors..
 

vtmB10

Honorable
Mar 11, 2017
60
0
10,530


also some months ago my cpu was at 100 degrees for 2-3 hours because my fan disconnected, could it be damaged?i recently tried a stress cpu and the result was fine, no error