SRCDS Steam group


best optimization for tf2 server?
#1
Hello everyone.
I just switched my tf2 ctf server into a tf2 orange_x3 map only server..
Now it got 23/32 today but it started to lag a little... And i need best optimization.
specs:
line: 100 mbps
ram: 8 gb
processor: xeon 4 core @ 3.00 ghz

config:
Code:
// Server Name
hostname "[games223.com]GFL 24/7 Orangex3 Only|NY|InstantRespawn|Ranks"

sv_rcon_banpenalty "0"
sv_rcon_log "1"
sv_rcon_maxfailures "5"
sv_rcon_minfailures "2"
sv_rcon_minfailuretime "30"
rcon_password "******"
writeid
writeip
exec banned_user.cfg
exec banned_ip.cfg
sv_password ""
tf_flag_caps_per_round "3"
tf_playergib "1"
tf_stats_track "1"
tf_stats_verbose "0"
sv_alltalk "1"
sv_pausable "0"
sv_cheats "0"
sv_consistency "1"
sv_allowupload "1"
sv_allowdownload "1"
sv_timeout "300"
sv_pure "0"
sv_pure_kick_clients "0"
mp_allowNPCs "1"
mp_allowspectators "1"
mp_autocrosshair "1"
mp_autoteambalance "1"
mp_autoteambalance_delay "15"
mp_autoteambalance_warning_delay "5"
mp_bonusroundtime "15"
mp_chattime "5"
mp_clan_ready_signal "0"
mp_clan_readyrestart "0"
mp_decals "200"
mp_defaultteam "0"
mp_enableroundwaittime "1"
mp_fadetoblack "0"
mp_falldamage "0"
mp_flashlight "0"
mp_footsteps "1"
mp_forcecamera "1"
mp_forcerespawn "1"
mp_forcerespawnplayers "cmd"
mp_forcewin "cmd"
mp_fraglimit "0"
mp_friendlyfire "0"
mp_idledealmethod "0"
mp_idlemaxtime "3"
mp_maxrounds "300"
mp_restartgame "0"
mp_restartround "0"
mp_scrambleteams "cmd"
mp_showrespawntimes "1"
mp_stalemate_timelimit "240"
mp_switchteams "cmd"
mp_teamlist "0"
mp_teamoverride "1"
mp_teamplay "0"
mp_teams_unbalance_limit "1"
mp_time_between_capscoring "30"
mp_timelimit "100000"
mp_waitingforplayers_cancel "0"
mp_waitingforplayers_restart "0"
mp_weaponstay "0"
mp_winlimit "300"
phys_pushscale 15

sv_accelerate "10"
sv_airaccelerate "10"
sv_allow_color_correction "1"
sv_allow_wait_command "1"
sv_alternateticks "0"
sv_backspeed "0"
sv_bonus_challenge "0"
sv_bounce "0"
sv_cacheencodedents "1"
sv_cheats "0"
sv_clearhinthistory "cmd"
sv_consistency "1"
sv_enableoldqueries "1"
sv_filterban "1"
sv_footsteps "1"
sv_force_transmit_ents "0"
sv_forcepreload "0"
sv_friction "4"
sv_gravity "800"
sv_ignore_hitboxes "0"
sv_instancebaselines "1"
sv_lagflushbonecache "1"
sv_lan "0"
sv_log_onefile "1"
sv_logbans "1"
sv_logblocks "1"
sv_logdownloadlist "1"
sv_logecho "1"
sv_logfile "1"
sv_logflush "0"
sv_logsdir "1"
sv_log on
sv_massreport "0"
sv_master_legacy_mode "1"
sv_master_share_game_socket "1"
sv_max_queries_sec "3"
sv_max_queries_sec_global "60"
sv_max_queries_window "30"
sv_noclipaccelerate "5"
//sv_noclipduringpause "0"
sv_noclipspeed "5"
sv_npc_talker_maxdist "1024"
sv_pausable "0"
sv_specaccelerate "5"
sv_specnoclip "1"
sv_specspeed "3"
sv_stats "1"
sv_stepsize "18"
sv_stopspeed "100"
sv_timeout "60"
sv_turbophysics "0"
//sv_visiblemaxplayers "25"
//sv_voicecodec "0"
sv_voiceenable "1"
sv_wateraccelerate "10"
sv_waterdist "12"

//important rate settings
//most important
sv_maxrate "35000"
sv_minrate "0"
sv_maxupdaterate "66"
sv_minupdaterate "66"
sv_maxcmdrate "66"
sv_mincmdrate "66"
fps_max 400
//other settings
sv_parallel_packentities "0"
sv_parallel_sendsnapshot "0"
net_splitpacket_maxrate "100000"        // extra setting for fps boost.
net_queued_packet_thread "1"            // extra setting for fps boost.
sv_client_min_interp_ratio "0"             // extra setting for fps boost.
sv_client_max_interp_ratio "1"            // extra setting for fps boost.
sv_client_predict "-1"





sv_lan "0"
sv_allowdownload "1"
sv_allowupload "1"
sv_downloadurl "http://dfn.serveredirect.com/tf/"
sv_region "0"

//game
gamedesc_override "¦ORANGEX3 ONLY¦"        //What is says in the game tag in the broswer


//tags
sv_tags "ctf,capture,the,flag,capture the flag,only,server,gfl,games for life,games,for,life,games223.com,fast,responde,instant,rtd,rpg,ranks,hlstatsx,hl​stats,rankings,awesome,epic,fps,2000,72.5.195.185,27015,port"        //tags for search

//fast respawn
sm_fastrespawn_enabled "1"    //(0/1, def 1) Enable/disable fast respawn for TF2.

sm_fastrespawn_blu "0.25"    //(def 10.0)Respawn time for Blu team in TF2.

sm_fastrespawn_red "0.25"    //(def 10.0)Respawn time for Red team in TF2.







//rtd
sm_rtd_disabled "noclip,godmode"
sm_rtd_chance "0.5"

//advertisements
sm_advertisements_interval "15"

Server fps just stays steady sometimes then drops big time....
Its little lag spikes that drive people crazy...

Slots:
there is a total of 280(just use this number in this case,i think the real slot count can be like 150 or something like that) slots on the server(there must be less, not sure):
1 css 24 slot server
1 tf2 server
and 2 other game servers that are empty all the time.

only mods on server is hlstatsx,rtd,simple chat colors, metamod,sourcemod, and thats it.

You can also join my server in signature to test it.
thanks,
gamemann
GFL(Games For Life) Founder.
Private Message me if you need any help!
Recommend everybody uses NFO
My Group: GFL
[Image: b_560_95_1.png]
[Image: b_560_95_1.png]
Reply
#2
Remove this:
Code:
sv_parallel_packentities "0"
sv_parallel_sendsnapshot "0"
net_splitpacket_maxrate "100000"        // extra setting for fps boost.
net_queued_packet_thread "1"            // extra setting for fps boost.
sv_client_min_interp_ratio "0"             // extra setting for fps boost.
sv_client_max_interp_ratio "1"            // extra setting for fps boost.
sv_client_predict "-1"

And this:
Code:
sv_massreport "0"
sv_master_legacy_mode "1"
sv_master_share_game_socket "1"
sv_max_queries_sec "3"
sv_max_queries_sec_global "60"
sv_max_queries_window "30"

And set the maxrate to 100000 and minrate to 50000
Reply
#3
(10-09-2011, 04:18 PM)Mike Wrote:  Remove this:
Code:
sv_parallel_packentities "0"
sv_parallel_sendsnapshot "0"
net_splitpacket_maxrate "100000"        // extra setting for fps boost.
net_queued_packet_thread "1"            // extra setting for fps boost.
sv_client_min_interp_ratio "0"             // extra setting for fps boost.
sv_client_max_interp_ratio "1"            // extra setting for fps boost.
sv_client_predict "-1"

And this:
Code:
sv_massreport "0"
sv_master_legacy_mode "1"
sv_master_share_game_socket "1"
sv_max_queries_sec "3"
sv_max_queries_sec_global "60"
sv_max_queries_window "30"

And set the maxrate to 100000 and minrate to 50000
thanks Big Grin

Just a small question what does these commands do:
Code:
sv_master_legacy_mode "1"
sv_master_share_game_socket "1"
sv_max_queries_sec "3"
sv_max_queries_sec_global "60"
sv_max_queries_window "30"
sv_parallel_packentities "0"
sv_parallel_sendsnapshot "0"
net_splitpacket_maxrate "100000"        // extra setting for fps boost.
net_queued_packet_thread "1"            // extra setting for fps boost.
sv_client_min_interp_ratio "0"             // extra setting for fps boost.
sv_client_max_interp_ratio "1"            // extra setting for fps boost.

and will those most likely get rid of lag spikes?
GFL(Games For Life) Founder.
Private Message me if you need any help!
Recommend everybody uses NFO
My Group: GFL
[Image: b_560_95_1.png]
[Image: b_560_95_1.png]
Reply
#4
I have absolutely no idea what they do. But best to leave them at VALVE default.
Reply
#5
(10-10-2011, 12:07 AM)Mike Wrote:  I have absolutely no idea what they do. But best to leave them at VALVE default.

k thanks Big Grin
I really hope this gets rid of lag spikes. But is lag spikes caused by processor, or internet? It looks like fps lag because the fps of server goes to 10 when it lag spikes....

and can that processor handle 280 slots?
GFL(Games For Life) Founder.
Private Message me if you need any help!
Recommend everybody uses NFO
My Group: GFL
[Image: b_560_95_1.png]
[Image: b_560_95_1.png]
Reply
#6
Do "cat /proc/cpuinfo" on the host. Post the output here.
Reply
#7
k it looks more optimized ;D thats alot!
It went to 20 players and it looked good...
The thing that i will have to look at is if it gets full and if it lags...
GFL(Games For Life) Founder.
Private Message me if you need any help!
Recommend everybody uses NFO
My Group: GFL
[Image: b_560_95_1.png]
[Image: b_560_95_1.png]
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)