AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   Solved server wide choking (https://forums.alliedmods.net/showthread.php?t=330004)

iGANGNAM 01-16-2021 14:26

server wide choking
 
Hello,

We are facing an issue with server-wide lags. Does anyone know how to identify the issue?

Dedicated server info:
Ram: 16gb used / 32gb total
CPU: AMD Ryzen 7 3800X 8-Core Processor ( 16 threads)
Linux kernel: 5.10.7-xanmod1
Tuned-adm profile: latency-performance
Linux load: load average: 4.19, 4.42, 4.45
14 CS:GO servers
MySQL instance is hosted there too
Using SSD.
1Gbit network
Map download files are on separate host
Playerbase around 80-120 at once on all 14 servers

We mostly see choke like 45-48% when there are 28-40 players on the server is it possible to fix it somehow?
Time from time var increase to 2 but doesn't feel any lag.

https://i.imgur.com/dkIRMl4.png

xSLOW 01-16-2021 18:24

Re: server wide choking
 
same problems. i switched to 64 tick and everything seems better
and added those settings to server.cfg:

// Tickrate
sv_maxrate "0"
sv_minrate "0"
sm_cvar sv_maxcmdrate "64"
sv_mincmdrate "64"
sv_minupdaterate "64"
sm_cvar sv_maxupdaterate "64"

does anybody have any ideea? the choke gets bigger when there are more players.
I noticed that changing from my csgo client console the rate to the biggest rate fixed the issue, but i cant increase sv_minrate to that number because of the clients with poor connections.

iGANGNAM 01-17-2021 07:40

Re: server wide choking
 
Quote:

Originally Posted by xSLOW (Post 2732882)
same problems. i switched to 64 tick and everything seems better
and added those settings to server.cfg:

// Tickrate
sv_maxrate "0"
sv_minrate "0"
sm_cvar sv_maxcmdrate "64"
sv_mincmdrate "64"
sv_minupdaterate "64"
sm_cvar sv_maxupdaterate "64"

does anybody have any ideea? the choke gets bigger when there are more players.
I noticed that changing from my csgo client console the rate to the biggest rate fixed the issue, but i cant increase sv_minrate to that number because of the clients with poor connections.

For us 64 tickrate is not solution.

paulo_crash 01-17-2021 08:52

Re: server wide choking
 
Quote:

Originally Posted by iGANGNAM (Post 2732856)
Hello,

We are facing an issue with server-wide lags. Does anyone know how to identify the issue?

Dedicated server info:
Ram: 16gb used / 32gb total
CPU: AMD Ryzen 7 3800X 8-Core Processor ( 16 threads)
Linux kernel: 5.10.7-xanmod1
Tuned-adm profile: latency-performance
Linux load: load average: 4.19, 4.42, 4.45
14 CS:GO servers
MySQL instance is hosted there too
Using SSD.
1Gbit network
Map download files are on separate host
Playerbase around 80-120 at once on all 14 servers

We mostly see choke like 45-48% when there are 28-40 players on the server is it possible to fix it somehow?
Time from time var increase to 2 but doesn't feel any lag.

https://i.imgur.com/dkIRMl4.png

As I understand it has 14 servers, correct that?

If you try to shut down all servers and connect 5 to the total see if it already solves.

I'm finding this processor weak for 14 servers, I may be mistaken, but do the test, connect only 5 servers and see if it improves, go on one by one until.

ThePwnt 01-17-2021 09:21

Re: server wide choking
 
Does it lag still, if you are running standard kernel without xanmod?

iGANGNAM 01-17-2021 12:43

Re: server wide choking
 
Choking was fixed by changing one cvar
sv_minrate 786432
it was 198k before

Quote:

Originally Posted by paulo_crash (Post 2732962)
As I understand it has 14 servers, correct that?

If you try to shut down all servers and connect 5 to the total see if it already solves.

I'm finding this processor weak for 14 servers, I may be mistaken, but do the test, connect only 5 servers and see if it improves, go on one by one until.

Processor load is 4.0 so it's not really bad. If it was 8.0+ yes thats is bad.

asdfxD 01-17-2021 13:37

Re: server wide choking
 
Bad idea to force players rate to the highest, lol.. it's not very good for players with a bad connection.

Sincronic 01-17-2021 16:37

Re: server wide choking
 
There is a fix for Choking server with 32+ slots ? on 128 tickrate ?
Now i have:
Code:

// 128 tick
sv_minrate "0" // Min Rate Value
sv_minrate "786432" // Min Rate Value
sv_maxrate "0" // Max Rate Value
sv_mincmdrate "128" // Min CmdRate
sv_minupdaterate "128" // Min UpdateRate Value
sv_maxupdaterate "128" // Max UpdateRate Value
sm_cvar sv_client_min_interp_ratio "2"
sm_cvar sv_client_max_interp_ratio "2"
sm_cvar net_maxcleartime 0.001

There is like 3-8% choke with ~32 players and more for over 32 players.
Beside on client side at 99999 there is another fix ? For server ?

ThePwnt 01-17-2021 16:42

Re: server wide choking
 
Quote:

Originally Posted by Sincronic (Post 2733009)
There is a fix for Choking server with 32+ slots ? on 128 tickrate ?
Now i have:
Code:

// 128 tick
sv_minrate "0" // Min Rate Value
sv_minrate "786432" // Min Rate Value
sv_maxrate "0" // Max Rate Value
sv_mincmdrate "128" // Min CmdRate
sv_minupdaterate "128" // Min UpdateRate Value
sv_maxupdaterate "128" // Max UpdateRate Value
sm_cvar sv_client_min_interp_ratio "2"
sm_cvar sv_client_max_interp_ratio "2"
sm_cvar net_maxcleartime 0.001

There is like 3-8% choke with ~32 players and more for over 32 players.
Beside on client side at 99999 there is another fix ? For server ?

Do you have 2x "minrate" setup? o_o

asdfxD 01-17-2021 16:52

Re: server wide choking
 
just use

sv_minrate "196608" // Min Rate Value
sv_maxrate "786432" or "0"

players who set their own rates wrong, will have choke......

just google it. if i remember, net_splitrate 2 and 2-3 more other cvars fix all choke issues.


All times are GMT -4. The time now is 11:28.

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