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

Optimization for a CS:GO server[Zombie Escape/Zombie Reloaded]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bchewy
AlliedModders Donor
Join Date: Nov 2014
Old 04-22-2017 , 07:25   Optimization for a CS:GO server[Zombie Escape/Zombie Reloaded]
Reply With Quote #1

Hi all, I've been trying to optimize my server the past week without any luck. This is my server's CPU, and Memory information.

CPU : Intel Xeon E3-1245v5 4Cores/8Threads 3.5-3.8 GHz
RAM : 32GB DDR4 ECC 2133 MHz

OS : Ubuntu 16.04 LTS

Current optimization settings

sv_minrate 0
sv_maxrate 21250
sv_minupdaterate 10
sv_maxupdaterate 64


The server is also on 64tick (Pretty sure this matters.)

But I've also played around with
sm_cvar sv_hibernate_ms 0
sm_cvar sv_hibernate_ms_vgui 0
sm_cvar sv_hibernate_postgame_delay 0
sm_cvar sv_hibernate_when_empty 0
sm_cvar sv_parallel_sendsnapshot 1
sm_cvar sv_enable_delta_packing 1
sm_cvar sv_maxunlag 0.1
sm_cvar net_maxcleartime 0.001
sm_cvar net_minroutable 1000
sm_cvar net_earliertempents 1
sm_cvar net_compresspackets 0
sm_cvar g_ragdoll_important_maxcount 1
sm_cvar g_ragdoll_maxcount 1
sm_cvar phys_enable_experimental_optimizations 1
sm_cvar prop_active_gib_limit 1
sm_cvar prop_active_gib_max_fade_time 1
sm_cvar fps_max 0
sm_cvar host_framerate 0
sm_cvar host_syncfps 0
sm_cvar pvs_min_player_distance 1
sm_cvar sv_alternateticks 1
sm_cvar sv_force_transmit_ents 0
sm_cvar sv_force_transmit_players 0
sm_cvar sv_forcepreload 1
sm_cvar sv_stats 0
sm_cvar sv_parallel_packentities 1
sm_cvar sv_multiplayer_maxtempentities 1


To no luck, I still get high choke on my server sometimes, ping fluctuations and sometimes high var & sv.. I'm trying to run a 50 slot zombie escape server.

Thank you in advance!
Solutions!
https://www.reddit.com/r/GlobalOffen...y_servers_and/
Quote:
Linux Limitation & Other Small Things
I’ve e-mailed Valve multiple times about a Linux limitation which highly decreases server performance on popular CS:GO Linux servers. Somewhat expectedly, I received no response as usual. There have been other things I and many others have suggested to Valve. It goes without saying that our thoughts have been ignored.
Quote:
Originally Posted by brunoronning View Post
I was also having high var/choke issues on my ZE 42 slot, and we managed to slow the lag by 45% by redoing the hitbox of human skins (38 skins), readjusting bullets convars and removing blood decals.

- Hitbox: https://forums.alliedmods.net/showthread.php?t=288277
- Bullet ConVars:


ps: sorry for my english (google translate).
Quote:
Originally Posted by Neuro Toxin View Post
net_compresspackets 0

99% of the time a NIC interfaces CPU compresses network packets. Set this back to 1.

If you dont have your CPU maxing out this should lower choke on a 50 slot server.

You should also disable bullet penetration.
Quote:
Originally Posted by arne1288 View Post

It won't ever work if you don't try the things you're being suggested 100%.

sv_maxrate should be higher roequal to sv_minrate.

With 128 tick, as your latest code block shows, you will need rate settings on at least 102400.

But you're never going to be able to do 50 players at 128 tick!


With tickrate 64, try:

Code:
sv_maxrate 0
sv_maxupdaterate 64
sv_minupdaterate 64
sv_maxcmdrate 64
sv_mincmdrate 64
sv_minrate 52800
__________________

Last edited by Bchewy; 08-23-2017 at 15:39.
Bchewy is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 04-23-2017 , 18:38   Re: Optimization for a CSGO server.[ZE]
Reply With Quote #2

net_compresspackets 0

99% of the time a NIC interfaces CPU compresses network packets. Set this back to 1.

If you dont have your CPU maxing out this should lower choke on a 50 slot server.

You should also disable bullet penitration.
__________________
Neuro Toxin is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 04-24-2017 , 00:28   Re: Optimization for a CSGO server.[ZE]
Reply With Quote #3

Quote:
Originally Posted by Bchewy View Post
Current optimization settings

sv_minrate 0
sv_maxrate 21250
Isn't that sv_maxrate a bit low too?

I have seen several maps in my time, where a "too" low sv_maxrate would cause issues. Some maps were causing issues until the rate settings were up on 70-80.000.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Bchewy
AlliedModders Donor
Join Date: Nov 2014
Old 04-25-2017 , 22:10   Re: Optimization for a CSGO server.[ZE]
Reply With Quote #4

Will try both your settings and let you know!
__________________
Bchewy is offline
Bchewy
AlliedModders Donor
Join Date: Nov 2014
Old 04-30-2017 , 06:34  
Reply With Quote #5

Update:

My current settings, but it's still choking & sv-var is yellowish (most of the time).

What else can be changed? :<
Quote:
// Optimiziation
sv_minrate "70"
sv_maxrate "100000"

//default for maxrate 128000
sv_minupdaterate "128"
sv_mincmdrate "128"
sv_maxusrcmdprocessticks "0"

# Hibernation
sm_cvar sv_hibernate_ms 0
sm_cvar sv_hibernate_ms_vgui 0
sm_cvar sv_hibernate_postgame_delay 0
sm_cvar sv_hibernate_when_empty 0

# Network / Throughput
sm_cvar sv_parallel_sendsnapshot 1
sm_cvar sv_enable_delta_packing 1
sm_cvar sv_maxunlag 0.1
sm_cvar net_maxcleartime 0.001
sm_cvar net_minroutable 1000
sm_cvar net_earliertempents 1
sm_cvar net_compresspackets 1

# Ragdolls / Props
sm_cvar g_ragdoll_important_maxcount 1
sm_cvar g_ragdoll_maxcount 1
sm_cvar phys_enable_experimental_optimizations 1
sm_cvar prop_active_gib_limit 1
sm_cvar prop_active_gib_max_fade_time 1

# CPU Tweaks
sm_cvar fps_max 0
sm_cvar host_framerate 0
sm_cvar host_syncfps 0
sm_cvar pvs_min_player_distance 1
sm_cvar sv_alternateticks 1
sm_cvar sv_force_transmit_ents 0
sm_cvar sv_force_transmit_players 0
sm_cvar sv_forcepreload 1
sm_cvar sv_stats 0
sm_cvar sv_parallel_packentities 1
sm_cvar sv_multiplayer_maxtempentities 1

sv_maxupdaterate 64
sv_minupdaterate 32
sm_cvar sv_maxcmdrate 64
sv_mincmdrate 32
sv_parallel_sendsnapshot 1
sv_parallel_packentities 1
sv_max_queries_sec_global 300
sm_cvar net_maxcleartime 0.00001
net_splitrate 2
host_players_show 2
host_info_show 2
sv_max_queries_sec 20
sv_force_transmit_players 0
sm_cvar net_compresspackets 1
sv_occlude_players 0

sm_cvar ff_damage_reduction_bullets 0.33
Bump, really need help with this! I'd appreciate if anyone could help me out!
More information :
> Choke goes up to about 50%
> SV goes up 19-110 +- 1.0ms-1.00-6.0ms
> Var goes from 1.400ms to about 5-6.00ms when laggy
> Ping is usually stable at 5-20 ms but it jumps up to 80ms

I'd really appreciate any help at this point!
Thank you.
__________________

Last edited by DarkDeviL; 05-07-2017 at 04:43. Reason: Merge posts with useful infromation
Bchewy is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 05-07-2017 , 05:03   Re: Optimization for a CSGO server.[ZE]
Reply With Quote #6

The AlliedModders Rules also applies to you!

It won't ever work if you don't try the things you're being suggested 100%.

sv_maxrate should be higher roequal to sv_minrate.

With 128 tick, as your latest code block shows, you will need rate settings on at least 102400.

But you're never going to be able to do 50 players at 128 tick!

With tickrate 64, try:

Code:
sv_maxrate 0
sv_maxupdaterate 64
sv_minupdaterate 64
sv_maxcmdrate 64
sv_mincmdrate 64
sv_minrate 52800
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Bchewy
AlliedModders Donor
Join Date: Nov 2014
Old 05-12-2017 , 09:04   Re: Optimization for a CSGO server.[ZE]
Reply With Quote #7

Quote:
Originally Posted by arne1288 View Post
The AlliedModders Rules also applies to you!

It won't ever work if you don't try the things you're being suggested 100%.

sv_maxrate should be higher roequal to sv_minrate.

With 128 tick, as your latest code block shows, you will need rate settings on at least 102400.

But you're never going to be able to do 50 players at 128 tick!

With tickrate 64, try:

Code:
sv_maxrate 0
sv_maxupdaterate 64
sv_minupdaterate 64
sv_maxcmdrate 64
sv_mincmdrate 64
sv_minrate 52800
I'd like to apologize for doing so annndd

these are some updates:
I've been using the following settings for the past week, and so far I have seen a huge increase in performance*, although it still can be improved(I believe)
> I am going to try changing fire particles
> Looking into bullet penetration as mentioned by Neuro Toxin
> Some plugins that may help? :

* Huge performance increase in terms of sv-var, choke is still there sometimes. and the sv-var MAY occasionally jump up.

I will also update the main post to help others who may be facing the same problem on a similar CPU,or etc.
__________________

Last edited by Bchewy; 05-12-2017 at 09:22.
Bchewy is offline
servers.csgo.cfg
BANNED
Join Date: Sep 2016
Old 05-24-2017 , 15:52   Re: Optimization for a CSGO server.[ZE]
Reply With Quote #8

https://forums.alliedmods.net/showthread.php?t=296790

maybe help for preformance cs go zm servers
servers.csgo.cfg is offline
brunoronning
Senior Member
Join Date: Jan 2014
Location: Brazil
Old 05-25-2017 , 13:42   Re: Optimization for a CS:GO server[Zombie Escape/Zombie Reloaded]
Reply With Quote #9

I was also having high var/choke issues on my ZE 42 slot, and we managed to slow the lag by 45% by redoing the hitbox of human skins (38 skins), readjusting bullets convars and removing blood decals.

- Hitbox: https://forums.alliedmods.net/showthread.php?t=288277
- Bullet ConVars:
Quote:
ff_damage_bullet_penetration "1"
ff_damage_reduction_grenade "0"
ff_damage_reduction_other "0"
ff_damage_reduction_bullets "0"
ff_damage_reduction_grenade_self "0"
ps: sorry for my english (google translate).

Last edited by brunoronning; 05-25-2017 at 14:55.
brunoronning is offline
Bchewy
AlliedModders Donor
Join Date: Nov 2014
Old 07-15-2017 , 09:44   Re: Optimization for a CS:GO server[Zombie Escape/Zombie Reloaded]
Reply With Quote #10

Quote:
Originally Posted by brunoronning View Post
I was also having high var/choke issues on my ZE 42 slot, and we managed to slow the lag by 45% by redoing the hitbox of human skins (38 skins), readjusting bullets convars and removing blood decals.

- Hitbox: https://forums.alliedmods.net/showthread.php?t=288277
- Bullet ConVars:


ps: sorry for my english (google translate).
Works great so far.. except it's still pretty bad when the server is 70% <

Player count : -/60
Tickrate : 64

Current settings:
Quote:
// Optimiziation
sv_maxusrcmdprocessticks "0"

//# Hibernation
sm_cvar sv_hibernate_ms 0
sm_cvar sv_hibernate_ms_vgui 0
sm_cvar sv_hibernate_postgame_delay 0
sm_cvar sv_hibernate_when_empty 0

//# Network / Throughput
sm_cvar sv_parallel_sendsnapshot 1
sm_cvar sv_enable_delta_packing 1
sm_cvar sv_maxunlag 0.1
sm_cvar net_maxcleartime 0.001
sm_cvar net_minroutable 1000
sm_cvar net_earliertempents 1
sm_cvar net_compresspackets 1

//# Ragdolls / Props
sm_cvar g_ragdoll_important_maxcount 1
sm_cvar g_ragdoll_maxcount 1
sm_cvar phys_enable_experimental_optimizations 1
sm_cvar prop_active_gib_limit 1
sm_cvar prop_active_gib_max_fade_time 1

//# CPU Tweaks
sm_cvar fps_max 0
sm_cvar host_framerate 0
sm_cvar host_syncfps 0
sm_cvar pvs_min_player_distance 1
sm_cvar sv_alternateticks 1
sm_cvar sv_force_transmit_ents 0
sm_cvar sv_force_transmit_players 0
sm_cvar sv_forcepreload 1
sm_cvar sv_stats 0
sm_cvar sv_parallel_packentities 1
sm_cvar sv_multiplayer_maxtempentities 1


sv_maxrate "0"
sv_minrate "196608"
sm_cvar sv_maxcmdrate "64"
sv_mincmdrate "64"
sv_minupdaterate "64"
sm_cvar sv_maxupdaterate "64"

sv_max_queries_sec_global 300
//sm_cvar net_maxcleartime 0.00001
net_splitrate 2
sv_max_queries_sec 20
sv_occlude_players 0
Greatly appreciate if anyone can help.
Brian.
__________________

Last edited by Bchewy; 07-15-2017 at 09:56.
Bchewy is offline
Reply



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 03:12.


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