Counter-Strike 2

Counter-Strike 2

View Stats:
RivØlta Dec 16, 2021 @ 7:15am
2
Thread Starvation (Performance Issue.)
Hello everyone,

- I'm having an issue for quite some time.
And i was wondering what does this error mean and what triggers it?
I've recently installed CS:GO on my PC, which had Windows 11 and i encountered this issue after starting the game.
I tried ignoring it and playing for a bit, but the gameplay is just unplayable.
I saw, that my FPS was dropping constantly below 20, i've had minimum of 35 to maximum of 40-50 in matchmaking before a year.
As i said i recently installed the game again after vanishing from the internet for a year and a half before.

I had dual boot with Windows 11 and Ubuntu, but i had to reinstall the PC today.
What i am saying is... even if my PC had any kind of Malware/Worms/Trojans/RATs before - i reinstalled the entire OS today and the error is still the same... which sucks.

- Did you update graphics drivers? - Yes
- Did you update Windows ? - Yes
- Did you scan for viruses ? - No viruses it's fresh install of Windows.
- Have you debloated the junk of Windows ? - Yes



I'm wondering if someone had encountered this error too?

I'm up for suggestions and tips on resolving the error!
Feel free to share below.

The error is as follows:

"SteamNetworkingSockets lock held for 6.2ms. (Performance warning.)
ServiceThread, RecvUDPPacket
This is usually a symptom of general performance problem such as thread starvation." :csgoct:
< >
Showing 121-135 of 356 comments
bonkmaykr Feb 23, 2022 @ 11:16am 
software rot then?
bonkmaykr Feb 23, 2022 @ 7:21pm 
I forgot to mention, but this seems to happen alongside this "Async" error of some kind where something goes wrong with the renderer, i forget the exact error message, but i did manage to record it and it's pretty much the same laggy BS but for a totally different reason. alt-tabbing out made it go away for a bit

Also, the Lock held error that causes extreme frame dips and stuttering (subject of this thread) seems to be happening in TF2 as well: https://steamcommunity.com/sharedfiles/filedetails/?id=2763067657 Like, a lot. It was almost unplayable at times because it would begin to stutter during combat. It wasn't until i checked the console that I realized what was happening. Could this be a Steam update causing this then?
Last edited by bonkmaykr; Feb 23, 2022 @ 7:40pm
Marlfox Feb 23, 2022 @ 9:49pm 
Here's all my errors:

Resource materials\panorama\images\icons\equipment\.svg failed to load.

ConVarRef voice_chat_bubble_show_volume doesn't point to an existing ConVar
ConVarRef voice_vox_current_peak doesn't point to an existing ConVar

Tried to look up command say_team as if it were a variable.

C_EconWearableGib must never render without parent (models/weapons/w_models/arms/w_glove_slick.mdl) models/weapons/w_models/arms/w_glove_slick.mdl slick_jaguar_yellow

DispatchAsyncEvent backlog, failed to dispatch all this frame. 1263 of 1267 remaining

SteamNetworkingSockets lock held for 142.9ms. (Performance warning.) ServiceThread,PostConnectionStateUpdateForDiagnosticsUI,ThinkPingProbes,ThinkSelectServer,EnsureDataCenterRoutesValid
This is usually a symptom of a general performance problem such as thread starvation.

In addition, I have this issue: https://steamcommunity.com/app/730/discussions/0/2794999575671722972/
Last edited by Marlfox; Feb 23, 2022 @ 9:53pm
bonkmaykr Feb 24, 2022 @ 3:05am 
Originally posted by Marlfox:
SteamNetworkingSockets lock held for 142.9ms. (Performance warning.) ServiceThread,PostConnectionStateUpdateForDiagnosticsUI,ThinkPingProbes,ThinkSelectServer,EnsureDataCenterRoutesValid
This is usually a symptom of a general performance problem such as thread starvation.

There it is!

Originally posted by Marlfox:
DispatchAsyncEvent backlog, failed to dispatch all this frame. 1263 of 1267 remaining

There's the other one too.

Yeah, these both seem to show up around the same time for some reason. CS:GO is the only one with the DispatchAsyncEvent problem from what I've noticed, but both CS and TF2 are giving me this Lock held error and it's causing microstutters, it doesn't spam me with them and tank my framerate anymore like it used to when Insertion 2 came out, but that AsyncEvent one still does
Last edited by bonkmaykr; Feb 24, 2022 @ 3:06am
bonkmaykr Feb 26, 2022 @ 6:44am 
Originally posted by magikk:
Originally posted by Pacifist Coi:
Hi,

I am facing the same issue, this thread helped me a lot.
I have a Ryzen 5 3600 and the Support told me that maybe my hardware is to old.

How ever, after some this threat and remembering the Set affinity feature of the task manager (Taskmanager->Details->Rightclick on a process->Set affinity)[www.itechtics.com], I found something interesting for me: The lags stopped, as I forced all the Steam Client Processes (steam, steamservice and all steamwebhelper) to one single Core. As mentioned by some of you, the problem is the Steam Client (again), not the Game. After I did that, I played now for hours free of lags since weeks.
I hope I don't have to do this every time and maybe it will help somebody as well.
What application do you use the affinity feature in and how do you set it? Also, do you include steam.exe?
He literally just said he used Task Manager.
Right click > Go To Details
Right click > something along the lines of "processor affinity"
Rafalock85 Feb 27, 2022 @ 7:57pm 
Hi, I don't know if its coincidence, because the steam has updated, but I solved my problem.
Tired to get this problem in CS I was thinking of migrating to Valorant, but there I got the same issues with FPS dropping.
So, I noticed that my GPU is going up to 88 celsius degrees and when this happens, my FPS goes down, so I configured some things like Power management and limited my GPU to 60 fps (I have an old monitor of 60htz) and I could play a short competitive math without any issues.

Has anyone noticed the problem solving?
Just to check if was not coincidence with my adjustments and steam update
bonkmaykr Feb 28, 2022 @ 2:43am 
Originally posted by Rafalock85:
Hi, I don't know if its coincidence, because the steam has updated, but I solved my problem.
Tired to get this problem in CS I was thinking of migrating to Valorant, but there I got the same issues with FPS dropping.
So, I noticed that my GPU is going up to 88 celsius degrees and when this happens, my FPS goes down, so I configured some things like Power management and limited my GPU to 60 fps (I have an old monitor of 60htz) and I could play a short competitive math without any issues.

Has anyone noticed the problem solving?
Just to check if was not coincidence with my adjustments and steam update
We already observed this wasn't a hardware issue. Your problem is entirely different.
󠀁 Feb 28, 2022 @ 3:48am 
Originally posted by Rivolta:
Hello everyone,
-----------------------------------------
:csgoct:


I found a solution:

Press Ctrl + R
Type: "powercfg.cpl"

Find high-performance plan or gaming plan
If you do not find you can create your own Plan (www.youtube.com link):
www.youtube.com/watch?v=8WoAZ4LKVC0

After you create and select this option the CPU will use its true performance
This may cause the computer to overheat if there is no good cooling system

After you've done that
You need to create a .cfg file
If you do not know how to create a .cfg file follow this youtube guide (link from www.youtube.com):
www.youtube.com/watch?v=BcqEgA-KpOQ

In the .cfg file you created you will write the following commands:

sv_cheats 1
rate "786432"
mc_max_yawrate 720
mc_max_pitchrate 720
sv_maxrate 786432.000000
sv_minrate 786432.000000
sv_minupdaterate 128
sv_mincmdrate 128
cl_updaterate "128"
cl_cmdrate "128"
cl_interp "0"
cl_interp_ratio "1"
cl_predict "1"
cl_predictweapons "1"
cl_lagcompensation "1"
sdr_spew_level "5"
net_droponsendoverflow "0"
net_client_steamdatagram_enable_override "0"


After saving the commands in your .cfg file log in to
Steam Library and open Launch Options (link from www.youtube.com):
www.youtube.com/watch?v=BcqEgA-KpOQ&t=100s

In the Launch Options bar
Write: -novid -fullscreen -softparticlesdefaultoff -tickrate 128 -cl_cmdrate 128 -cl_updaterate 128 +tickrate 128 +cl_cmdrate 128 +cl_updaterate 128 -nojoy +cl_forcepreload 1 +mat_queue_mode 2 -high +fps_max 777 +fps_max_menu 10 +exec X.cfg
These commands will arrange for each server to run on a true 128 tick

Do not forget to add at the end write "exec X.cfg"
(X = your .cfg name)


If I solved your problem
You can mark my answer as a solution And that way people could use the solution

If my solution is really good I will post it in the guides And on YouTube
Last edited by 󠀁; Feb 28, 2022 @ 3:59am
bonkmaykr Feb 28, 2022 @ 5:53am 
Originally posted by :
Originally posted by Rivolta:
Hello everyone,
-----------------------------------------
:csgoct:


I found a solution:

Press Ctrl + R
Type: "powercfg.cpl"

Find high-performance plan or gaming plan
If you do not find you can create your own Plan (www.youtube.com link):
www.youtube.com/watch?v=8WoAZ4LKVC0

After you create and select this option the CPU will use its true performance
This may cause the computer to overheat if there is no good cooling system

After you've done that
You need to create a .cfg file
If you do not know how to create a .cfg file follow this youtube guide (link from www.youtube.com):
www.youtube.com/watch?v=BcqEgA-KpOQ

In the .cfg file you created you will write the following commands:

sv_cheats 1
rate "786432"
mc_max_yawrate 720
mc_max_pitchrate 720
sv_maxrate 786432.000000
sv_minrate 786432.000000
sv_minupdaterate 128
sv_mincmdrate 128
cl_updaterate "128"
cl_cmdrate "128"
cl_interp "0"
cl_interp_ratio "1"
cl_predict "1"
cl_predictweapons "1"
cl_lagcompensation "1"
sdr_spew_level "5"
net_droponsendoverflow "0"
net_client_steamdatagram_enable_override "0"


After saving the commands in your .cfg file log in to
Steam Library and open Launch Options (link from www.youtube.com):
www.youtube.com/watch?v=BcqEgA-KpOQ&t=100s

In the Launch Options bar
Write: -novid -fullscreen -softparticlesdefaultoff -tickrate 128 -cl_cmdrate 128 -cl_updaterate 128 +tickrate 128 +cl_cmdrate 128 +cl_updaterate 128 -nojoy +cl_forcepreload 1 +mat_queue_mode 2 -high +fps_max 777 +fps_max_menu 10 +exec X.cfg
These commands will arrange for each server to run on a true 128 tick

Do not forget to add at the end write "exec X.cfg"
(X = your .cfg name)


If I solved your problem
You can mark my answer as a solution And that way people could use the solution

If my solution is really good I will post it in the guides And on YouTube
Stop spreading misinformation.

90% of these console commands have absolutely nothing to do with system performance and are subjective changes designed to assist in network issues which are different for each person. The rest are individual preferences that you should not copy off of other people because they are, again, subjective. You clearly have zero idea what any of these commands do and are just copying it off of some random pro cfg thinking it's as simple as "do this, solve every problem". Only one of these commands actually improves performance (mat_queue_mode) and even then, we have already said dozens of times that this is not an actual hardware bottleneck, so that command will not help us.

The CPU tweaks will not work because as we've already established this is not a true performance issue and has to do with a Lock File held by Steam which the Source Engine can't control. Windows tweaks also exclude the minority of Unix users, so you're not helping everyone.

Your reply is absolutely useless and is further taking away from the conversation, similar things have already been suggested dozens of times with no effect.
Last edited by bonkmaykr; Feb 28, 2022 @ 5:56am
󠀁 Feb 28, 2022 @ 6:32am 
Originally posted by bonkmaykr:
Originally posted by :
-----------------------------------------------------------
-------------------------------------------
Do not know what to tell you
I had the same problem in the past
And my computer is an FPS monster
But I had drop FPS because of incorrect settings

And these "Network" commands
Rate commands are for community servers and servers on the player's computer
These commands automatically change on valve servers according to the server request

The additional commands
Allow you to lower the PING
And use the maximum speed of the Internet
Most people in the world have 5 Mb download and upload and I doubt it has internet from the 80s

For me it has improved the connection to the servers
It improved my community server experience

I think these commands are suitable for everyone except people with slow internet (5-3Mb speed of network)


Maybe if you try my advice you will find that these commands only improve Ping, FPS, Latency.

If you can prove me wrong I will delete my post and apologize to you
I would love to learn and even said thank you
Last edited by 󠀁; Feb 28, 2022 @ 6:35am
bonkmaykr Feb 28, 2022 @ 6:36am 
Originally posted by :
Do not know what to tell you
I had the same problem in the past
And my computer is an FPS monster
But I had drop FPS because of incorrect settings

And these "Network" commands
Rate commands are for community servers and servers on the player's computer
These commands automatically change on valve servers according to the server request

The additional commands
Allow you to lower the PING
And use the maximum speed of the Internet
Most people in the world have 5 Mb download and upload and I doubt it has internet from the 80s

For me it has improved the connection to the servers
It improved my community server experience

I think these commands are suitable for everyone except people with slow internet (5-3Mb speed of network)


Maybe if you try my advice you will find that these commands only improve Ping, FPS, Latency.

If you can prove me wrong I will delete my post and apologize to you
I would love to learn and even said thank you
Yeah, well if you paid attention to the thread, you would know that this wasn't the problem. Nobody here was complaining about network latency or consistent FPS problemsーthis is a much tougher problem involving microstutters caused by something related to Steam which we don't have a complete explanation for yet.
Čajíček Feb 28, 2022 @ 6:39am 
:P
Noire Feb 28, 2022 @ 6:53am 
Originally posted by bonkmaykr:
Originally posted by :
Do not know what to tell you
I had the same problem in the past
And my computer is an FPS monster
But I had drop FPS because of incorrect settings

And these "Network" commands
Rate commands are for community servers and servers on the player's computer
These commands automatically change on valve servers according to the server request

The additional commands
Allow you to lower the PING
And use the maximum speed of the Internet
Most people in the world have 5 Mb download and upload and I doubt it has internet from the 80s

For me it has improved the connection to the servers
It improved my community server experience

I think these commands are suitable for everyone except people with slow internet (5-3Mb speed of network)


Maybe if you try my advice you will find that these commands only improve Ping, FPS, Latency.

If you can prove me wrong I will delete my post and apologize to you
I would love to learn and even said thank you
Yeah, well if you paid attention to the thread, you would know that this wasn't the problem. Nobody here was complaining about network latency or consistent FPS problemsーthis is a much tougher problem involving microstutters caused by something related to Steam which we don't have a complete explanation for yet.
tired of these people who dont read the entire thread and just blindly comment
󠀁 Feb 28, 2022 @ 6:57am 
Good luck :D
Hope each one solves his problems ( ͡• ͜ʖ ͡• )
Noire Feb 28, 2022 @ 7:01am 
Originally posted by :
Good luck :D
Hope each one solves his problems ( ͡• ͜ʖ ͡• )
right
< >
Showing 121-135 of 356 comments
Per page: 1530 50

Date Posted: Dec 16, 2021 @ 7:15am
Posts: 355