shader cache off
high performance power mode in controlpanel>hardware>power options.
make sure your cpu is set to gaming mode if you have an msi motherboard and that its not on silent mode or any kind of silent mode with other motherboards. Otherwise turn off the function in bios that makes the core mhz go up and down, i forget what its called.. c-states i think?
hyperthreading off in bios
intel turbo boost off in bios
HPET high precision event timer on/off see whats best.
Oh if you have any launch options like threads delete them
If you still have problems try to dl 'nvidiainspector' and apply the csgo profile.
But honestly man... sometimes when i have that problem the only thing that helps is a steam+csgo deletion + making new config(not copy pasting old one) and worst case scenario a pc format lmao. csgo things