Raised This Month: $12 Target: $400
 3% 

CS:GO Server Lag Spikes


Post New Thread Reply   
 
Thread Tools Display Modes
ItsCEED
Member
Join Date: Jun 2016
Old 12-12-2017 , 20:31   Re: CS:GO Server Lag Spikes
Reply With Quote #21

Quote:
Originally Posted by DJPlaya View Post
>Nononononono, never force a Rate depending on the Tickrate, and also dont force them to have the same min/maxrate! 128 means 128kbs/s, you know someone with a connection that bad? Set the maxrate to 0, its bullsheet to force Players to this.
>Also the mincmd/update Rate should be lower, else Clients will get in trouble when having bad Computers that cant hold up that Tickrate
>Settings sv_unlag is totally useless, its allways enabled and disabling it will never be usefull in any way beside Hacking.

This is my Networking Config for CSGO 128Tick
Code:
// ********** Rates **********

sv_minrate 0 // Min Bandwidth 0=unlimited
sv_maxrate 0 // Max Bandwidth 0=unlimited

// Min Updates per Sec to the Client
// 128TICK: sv_minupdaterate 70
// 66TICK: sv_minupdaterate 40
// 33TICK: sv_minupdaterate 15
sv_minupdaterate 70

// Max Updates per Sec to the Client
// Should be the Tickrate
sv_maxupdaterate 128

// Min Updates of the Client per Sec
// 128TICK: sv_minupdaterate 70
// 66TICK: sv_mincmdrate 40
// 33TICK: sv_mincmdrate 15
sv_mincmdrate 70

// Max Updates of the Client per Sec
// Should be the Tickrate
sm_cvar sv_maxcmdrate 128

sm_cvar sv_client_cmdrate_difference 30 // Max Difference between cmd and updaterate
sm_cvar cl_updaterate 128 // Should be the Tickrate
sm_cvar cl_cmdrate 128 // Should be the Tickrate

sm_cvar sv_client_min_interp_ratio 0 // Min Value of cl_interp_ratio
sm_cvar sv_client_max_interp_ratio 0 // Max Value of cl_interp_ratio


// ********** Network internal **********

sv_lan 0 // Lan Mode

sv_parallel_packentities 1
sm_cvar net_compresspackets 0
sm_cvar sv_enable_delta_packing 1
sv_parallel_sendsnapshot 0 // Can cause up to 15% Package Loss!
sm_cvar net_earliertempents 1

sm_cvar sv_maxunlag 0.1
sm_cvar net_minroutable 1200
net_splitrate 2
sm_cvar net_maxcleartime 0.001
sm_cvar net_queued_packet_thread 1 // Use a high priority Thread to send queued Packets out instead of sending them each Frame.

net_threaded_socket_burst_cap 1024
net_threaded_socket_recovery_rate 6400
net_threaded_socket_recovery_time 60
Love your config.
ItsCEED is offline
Send a message via Skype™ to ItsCEED
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 12-15-2017 , 19:18   Re: CS:GO Server Lag Spikes
Reply With Quote #22

Quote:
Originally Posted by ItsCEED View Post
Love your config.
TY, I spend much time collecting the best Values and special Cvars
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux
DJPlaya is offline
Send a message via Skype™ to DJPlaya
sphinx
Senior Member
Join Date: Jun 2005
Location: E.U. / localhost
Old 12-15-2017 , 23:41   Re: CS:GO Server Lag Spikes
Reply With Quote #23

it seems that net_threaded_socket_burst_cap 1024 had side effects on my server (voice chat affected ), so i had to return to default value (256).
net_threaded_socket_recovery_rate 6400 and net_threaded_socket_recovery_time 60 are default values, no need to use in config.
sphinx is offline
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 12-16-2017 , 04:50   Re: CS:GO Server Lag Spikes
Reply With Quote #24

Quote:
Originally Posted by sphinx View Post
it seems that net_threaded_socket_burst_cap 1024 had side effects on my server (voice chat affected ), so i had to return to default value (256).
net_threaded_socket_recovery_rate 6400 and net_threaded_socket_recovery_time 60 are default values, no need to use in config.
>You mean your chat shuttered or what do you mean?

>Indeed there is no use, but i like collecting all Cvars so i have them saved in a Place. Its totally useless as Example sv_enableoldqueries which enables the HL1 Query Protocol ^^
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux
DJPlaya is offline
Send a message via Skype™ to DJPlaya
sphinx
Senior Member
Join Date: Jun 2005
Location: E.U. / localhost
Old 12-16-2017 , 14:17   Re: CS:GO Server Lag Spikes
Reply With Quote #25

Quote:
Originally Posted by DJPlaya View Post
>You mean your chat shuttered or what do you mean?
yeah, something like that, changing that convar's value wasn't beneficial.

Last edited by sphinx; 12-17-2017 at 00:49.
sphinx is offline
ZASTRELIS
Veteran Member
Join Date: Nov 2010
Location: Siberia, Irkutsk
Old 12-18-2017 , 22:08   Re: CS:GO Server Lag Spikes
Reply With Quote #26

I've same problem on i5-650 @3.2, GHz
Is srcds needs singlecore performance? I thought that cstrike engine is a multithreaded..

Last edited by ZASTRELIS; 12-18-2017 at 22:10.
ZASTRELIS is offline
sphinx
Senior Member
Join Date: Jun 2005
Location: E.U. / localhost
Old 12-18-2017 , 23:59   Re: CS:GO Server Lag Spikes
Reply With Quote #27

srcds in single core, indeed, but only some components are multithreaded.
if you start a heavy populated single server on a multicore server, you will see load on more than one core, but not equally.
one core will be like 100% (main srcds) and the other one will be like 10-15% (particle effects and other things).
you will not see srcds running on 2 cores, 50% load on each core.
the problem is that the main srcds process won't run across multiple cores in multiple threads, that's why you will see only one core having load 100%, that's why you will face the same problem, that's why for best results you need a better single thread performance processor
sphinx is offline
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 12-19-2017 , 17:08   Re: CS:GO Server Lag Spikes
Reply With Quote #28

Quote:
Originally Posted by ZASTRELIS View Post
I've same problem on i5-650 @3.2, GHz
Is srcds needs singlecore performance? I thought that cstrike engine is a multithreaded..
To be exact SRCDS has many Threads running, and the main Load is split into 3 Threads, Physics - Network - Calucations, meaning at least 3 Cores can be used (hyperthreading is also a thing).
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux
DJPlaya is offline
Send a message via Skype™ to DJPlaya
headline
SourceMod Moderator
Join Date: Mar 2015
Old 12-19-2017 , 17:23   Re: CS:GO Server Lag Spikes
Reply With Quote #29

Quote:
Originally Posted by DJPlaya View Post
To be exact SRCDS has many Threads running, and the main Load is split into 3 Threads, Physics - Network - Calucations, meaning at least 3 Cores can be used (hyperthreading is also a thing).
Can you supply some type of reference as to where you're getting this information? No one, to my knowledge, has ever said anything remotely similar to what you are saying right now.
headline is offline
DJPlaya
Senior Member
Join Date: Nov 2014
Location: Germany
Old 12-19-2017 , 17:47   Re: CS:GO Server Lag Spikes
Reply With Quote #30

Quote:
Originally Posted by Headline View Post
Can you supply some type of reference as to where you're getting this information? No one, to my knowledge, has ever said anything remotely similar to what you are saying right now.
Get ProcessExplorer and see yourself
__________________
My biggest Projects: Kigen AC Redux, Forlix Floodcheck Redux
DJPlaya is offline
Send a message via Skype™ to DJPlaya
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:24.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode