AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Full Server Causes lag (https://forums.alliedmods.net/showthread.php?t=329822)

Ynet 01-09-2021 13:32

Full Server Causes lag
 
i have been having a problem with my server recently whenever the server is about to fill up lets say 26 players+ the lags start the less players alive the less lag there is
i tried checking the error logs and i haven't found anything that pointed me in the right direction
i was hoping there is a way to find out which plugin uses the most resources or something like that
ty.


my server has been getting ddosed aswell however i am not sure if that is the cause for the lags today

loiraolhosazul 01-09-2021 15:03

Re: Full Server Causes lag
 
it may be a bad plugin, try setting your server rates, leave '-pingboost 3'

LithuanianJack 01-10-2021 12:06

Re: Full Server Causes lag
 
Quote:

Originally Posted by loiraolhosazul (Post 2731970)
it may be a bad plugin, try setting your server rates, leave '-pingboost 3'

What are good rates? And what's the difference between "-pingboost 3" and "-pingboost 2"? Thank you.

loiraolhosazul 01-10-2021 12:21

Re: Full Server Causes lag
 
Quote:

Originally Posted by LithuanianJack (Post 2732095)
What are good rates? And what's the difference between "-pingboost 3" and "-pingboost 2"? Thank you.

PHP Code:

sv_unlag "1"
sv_maxunlag "0.1"
sv_unlagsamples "1"
sv_minrate "50000"
sv_maxrate "100000"
sv_minupdaterate "30"
sv_maxupdaterate "100"
sys_ticrate "1000.0" 

pingboost 3 uses all cpu core / threads.

fysiks 01-10-2021 19:42

Re: Full Server Causes lag
 
Quote:

Originally Posted by loiraolhosazul (Post 2732098)
PHP Code:

sv_unlag "1"
sv_maxunlag "0.1"
sv_unlagsamples "1"
sv_minrate "50000"
sv_maxrate "100000"
sv_minupdaterate "30"
sv_maxupdaterate "100"
sys_ticrate "1000.0" 

pingboost 3 uses all cpu core / threads.

HLDS is a single-threaded application and therefore can only use a single core. According to the Valve wiki, pingboost "selects between optimized HLDS network code stack".

loiraolhosazul 01-10-2021 20:05

Re: Full Server Causes lag
 
Quote:

Originally Posted by fysiks (Post 2732144)
HLDS is a single-threaded application and therefore can only use a single core. According to the Valve wiki, pingboost "selects between optimized HLDS network code stack".

already done the test ?, I already, don't say what you don't know.

fysiks 01-10-2021 20:30

Re: Full Server Causes lag
 
Quote:

Originally Posted by loiraolhosazul (Post 2732149)
already done the test ?, I already, don't say what you don't know.

The game itself is single threaded unless you can prove otherwise. The documentation clearly says it's about the network code stack. If it's just the network code stack that is multithreaded, I guess that's possible, do you have any proof of this?


All times are GMT -4. The time now is 03:27.

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