Raised This Month: $32 Target: $400
 8% 

Server Optimization


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
recar
Junior Member
Join Date: Feb 2018
Old 02-03-2018 , 06:47   Server Optimization
Reply With Quote #1

Hi my server cfg:

PHP Code:
sv_parallel_packentities 1
sv_parallel_sendsnapshot 0

sv_massreport 0
sv_master_share_game_socket 1
sv_max_queries_sec 3
sv_max_queries_sec_global 60
sv_max_queries_window 30

net_splitrate 2
net_maxcleartime 0.001

sv_client_predict 
-1


sv_minrate 50000.000000
sv_maxrate 128000.000000


sv_minupdaterate 64
sv_maxupdaterate 64

sv_mincmdrate 64
sv_maxcmdrate 64  



// Hibernation
sv_hibernate_ms 0
sv_hibernate_ms_vgui 0
sv_hibernate_postgame_delay 0
sv_hibernate_when_empty 0

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

// Ragdolls / Props
g_ragdoll_important_maxcount 1
g_ragdoll_maxcount 1
phys_enable_experimental_optimizations 1
prop_active_gib_limit 1
prop_active_gib_max_fade_time 1
sv_turbophysics 1

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

// Experimental Async / MultiThreading
occlusion_test_async 1
host_threaded_sound 1
host_threadmode 2
sv_threaded_init 1
mod_load_anims_async 1
mod_load_mesh_async 1
mod_load_vcollide_async 1
vprof_server_thread 1
g_ai_threadedgraphbuild 1 
32 online players => %80 - %90 cpu usage
What do I need to do for 64 players


Server Information:
RAM: 16 GB DDR4
NETWORK: 100 Mbps/s
CPU: i7700k 8 core 4.2 ghz

Last edited by recar; 02-03-2018 at 10:47.
recar is offline
AuricYoutube
Senior Member
Join Date: Aug 2016
Location: Here
Old 02-03-2018 , 09:40   Re: Server Optimization
Reply With Quote #2

wish i could get 32 players xd

i dont think the cvars will do anything, try upgrading if thats an option

Last edited by AuricYoutube; 02-03-2018 at 09:41.
AuricYoutube is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 02-03-2018 , 10:52   Re: Server Optimization
Reply With Quote #3

Quote:
Originally Posted by AuricYoutube View Post
wish i could get 32 players xd
From what I've seen, the trick is to lower your tickrate to 64, but make sure it still sucks at 64 tick (so OP is doing well with the 80% CPU usage), play really loud ads every two minutes, and put 300 different plugins on the server, such as colored tracers and skin plugins.
__________________
Boycott ESEA
My servers
ghostofmybrain is offline
recar
Junior Member
Join Date: Feb 2018
Old 02-03-2018 , 10:57   Re: Server Optimization
Reply With Quote #4

Quote:
Originally Posted by AuricYoutube View Post
wish i could get 32 players xd

i dont think the cvars will do anything, try upgrading if thats an option
how to upgrade ?
recar is offline
AuricYoutube
Senior Member
Join Date: Aug 2016
Location: Here
Old 02-03-2018 , 11:06   Re: Server Optimization
Reply With Quote #5

upgrade the specs of the server (if thats an option) if not then idk
AuricYoutube is offline
recar
Junior Member
Join Date: Feb 2018
Old 02-03-2018 , 11:15   Re: Server Optimization
Reply With Quote #6

Quote:
Originally Posted by AuricYoutube View Post
upgrade the specs of the server (if thats an option) if not then idk
are you kidding me ?

I Have I7700K 4.2 GHZ CPU 8 CORE
64 tickrate server
recar is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 02-03-2018 , 11:24   Re: Server Optimization
Reply With Quote #7

What OS?

Why is your sv_maxrate set so low?
__________________
Boycott ESEA
My servers

Last edited by ghostofmybrain; 02-03-2018 at 11:25.
ghostofmybrain is offline
recar
Junior Member
Join Date: Feb 2018
Old 02-03-2018 , 13:00   Re: Server Optimization
Reply With Quote #8

Quote:
Originally Posted by ghostofmybrain View Post
What OS?

Why is your sv_maxrate set so low?
what to do ?
recar is offline
sphinx
Senior Member
Join Date: Jun 2005
Location: E.U. / localhost
Old 02-03-2018 , 13:14   Re: Server Optimization
Reply With Quote #9

add:
Code:
sm_cvar sv_occlude_players 0
sm_cvar host_threaded_sound 1
sm_cvar net_queued_packet_thread 1
sm_cvar occlusion_test_async 1
sm_cvar phys_enable_experimental_optimizations 1
sm_cvar prop_active_gib_limit 1
sm_cvar pvs_min_player_distance 1
sm_cvar sv_server_verify_blood_on_player 0
sm_cvar throttle_expensive_ai 1
delete:
Code:
net_minroutable 1000
change to:
Code:
sv_minrate 196608
sv_maxrate 0
you should successfully host a server with much more slots, something is fishy.
all custom settings must be placed in a cfg file that is executed after the gamemode_<MODE>.cfg, like in gamemode_<MODE>_server.cfg
that's why you have to double-check if is these settings are indeed applied.

Last edited by sphinx; 02-03-2018 at 13:23.
sphinx is offline
ghostofmybrain
Veteran Member
Join Date: Mar 2010
Old 02-03-2018 , 15:19   Re: Server Optimization
Reply With Quote #10

Quote:
Originally Posted by recar View Post
what to do ?
I would suggest answering the question.

What operating system are you using?

Why is sv_maxrate set so low?
__________________
Boycott ESEA
My servers
ghostofmybrain 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 07:18.


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