SRCDS Steam group


Lag
#1
Hi guys

I've recently set up a TF2 dedicated server on Windows Server 2008 64bit.

Core2Duo 2ghz
2GB RAM
160GB HD

This machine resides on an 7Mb ADSL with 400Kb upload.

Here's my main server config:

hostname "xx"

// RCON STUFF
sv_rcon_banpenalty "0"
sv_rcon_log "1"
sv_rcon_maxfailures "5"
sv_rcon_minfailures "2"
sv_rcon_minfailuretime "30"
rcon_password "xx"

//REGION
sv_region "3"

//PURE
sv_pure "1"
sv_pure_kick_clients "1"

//LAG and SPEED
sv_maxrate "4688"
sv_minrate "0"
sv_maxupdaterate "16"
sv_minupdaterate "0"
sv_maxcmdrate "16"
sv_mincmdrate "0"
sv_lan "0"

tf_flag_caps_per_round "5"
tf_playergib "1"
tf_stats_track "1"
tf_stats_verbose "1"
sv_alltalk "1"
sv_pausable "0"
sv_cheats "0"
sv_consistency "1"
sv_allowupload "1"
sv_allowdownload "1"
sv_timeout "0"

//SERVER CVARS
mp_allowNPCs "1"
mp_allowspectators "1"
mp_autocrosshair "1"
mp_autoteambalance "0"
mp_autoteambalance_delay "15"
mp_autoteambalance_warning_delay "5"
mp_bonusroundtime "30"
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 "0"
mp_forcerespawn "1"
mp_forcerespawnplayers "cmd"
mp_forcewin "cmd"
mp_fraglimit "0"
mp_friendlyfire "0"
mp_idledealmethod "1"
mp_idlemaxtime "3"
mp_maxrounds "0"
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 "0"
mp_waitingforplayers_cancel "0"
mp_waitingforplayers_restart "0"
mp_weaponstay "0"
mp_winlimit "0"

phys_pushscale 15

sv_allow_color_correction "1"
sv_allow_wait_command "1"
sv_allowdownload "1"
sv_allowupload "1"
sv_alltalk "1"
sv_alternateticks "0"

sv_cacheencodedents "1"
sv_cheats "0"
sv_clearhinthistory "cmd"
sv_client_cmdrate_difference "20"

sv_client_max_interp_ratio "2"
sv_client_min_interp_ratio "1"
sv_client_predict "-1"
sv_consistency "1"
sv_enableoldqueries "1"
sv_filterban "1"

sv_forcepreload "0"

sv_gravity "800"

sv_lan "0"
sv_log_onefile "0"
sv_logbans "0"
sv_logblocks "0"
sv_logdownloadlist "1"
sv_logecho "1"
sv_logfile "1"
sv_logflush "0"
sv_logsdir "0"
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_noclipspeed "5"
sv_npc_talker_maxdist "1024"

sv_parallel_packentities "1"
sv_parallel_sendsnapshot "1"
sv_pausable "0"
sv_specaccelerate "5"
sv_specnoclip "1"
sv_specspeed "3"
sv_stats "1"

sv_timeout "60"
sv_turbophysics "0"

sv_voiceenable "1"
----------

And I use this to start SRCDS:

srcds.exe -console -game tf -tickrate 33 +fps_max 600 +map cp_dustbowl +maxplayers 16

I do apologize if any of the above is a bit FUBAR, I've copied most it from other people's configs. However, I did use a rates calculator to calculate those figures from: http://www.reece-eu.net/drekrates.php so thought that would be ok.

Basically, when I'm in the server I have around a 60-70 ping which I don't classify as bad and others are similar (only tried it with a max of 2 people at the moment). I'm jumping and running around and every 10-15 seconds I'll lag so bad I skip back around 5 steps, but only once every 10-15 seconds (same for other person).

After doing a net_graph 4, there was a couple of loss's and chokes.

Has anyone got any idea how I can make it a bit more playable? Granted I know I haven't got much bandwidth to play with, but even for 5-6 people I thought it would be acceptable?

Btw, I've tried it on Windows Vista and get the same results. Haven't got round to running a linux distro yet, not sure if that would help in this circumstance? I'm also running that srcdsfpsbooster to which boosts it up to 500fps server side.

Cheers!
Reply
#2
First off you dont need half the stuff in your config, here is is modified:
ollie2001 Wrote:hostname "xx"

// RCON STUFF
sv_rcon_banpenalty "0"
sv_rcon_log "1"
sv_rcon_maxfailures "5"
sv_rcon_minfailures "2"
sv_rcon_minfailuretime "30"
rcon_password "xx"

//REGION
sv_region "3"

//PURE
sv_pure "1"
sv_pure_kick_clients "1"

//LAG and SPEED
sv_maxrate "4688"
sv_minrate "0"
sv_maxupdaterate "16"
sv_minupdaterate "0"
sv_maxcmdrate "16"
sv_mincmdrate "0"
sv_lan "0"

tf_flag_caps_per_round "5"
tf_playergib "1"
tf_stats_track "1"
tf_stats_verbose "1"
sv_alltalk "1"
sv_pausable "0"
sv_cheats "0"
sv_consistency "1"
sv_allowupload "1"
sv_allowdownload "1"
sv_timeout "0"

//SERVER CVARS
mp_allowNPCs "1"
mp_allowspectators "1"
mp_autocrosshair "1"
mp_autoteambalance "0"
mp_autoteambalance_delay "15"
mp_autoteambalance_warning_delay "5"
mp_bonusroundtime "30"
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 "0"
mp_forcerespawn "1"
mp_forcerespawnplayers "cmd"
mp_forcewin "cmd"
mp_fraglimit "0"
mp_friendlyfire "0"
mp_idledealmethod "1"
mp_idlemaxtime "3"
mp_maxrounds "0"
mp_restartgame "0"
mp_restartround "0"
mp_showrespawntimes "1"
mp_stalemate_timelimit "240"
mp_teamlist "0"
mp_teamoverride "1"
mp_teamplay "0"
mp_teams_unbalance_limit "1"
mp_time_between_capscoring "30"
mp_timelimit "0"
mp_waitingforplayers_cancel "0"
mp_waitingforplayers_restart "0"
mp_weaponstay "0"
mp_winlimit "0"

sv_allowdownload "1"
sv_allowupload "1"
sv_alltalk "1"



sv_gravity "800"

sv_lan "0"
sv_log_onefile "0"
sv_logbans "0"
sv_logblocks "0"
sv_logdownloadlist "1"
sv_logecho "1"
sv_logfile "1"
sv_logflush "0"
sv_logsdir "0"

sv_specaccelerate "5"
sv_specnoclip "1"
sv_specspeed "3"
sv_stats "1"

sv_timeout "60"

sv_voiceenable "1"

Even now, there is a lot of stuff I wouldnt bother with in there... But should perform a bit better.

Finally, I dont know that you'll get much mileage from that upload speed....
[Image: sig_spam.JPG]
Reply
#3
Thanks for the swift response, I've copied the config back and started the server again. Still getting the same prob, even playing in the server on my own.

I've remotely connected to the server and running task manager shows the CPU is staying under 10%, network upload is about 200k. Anything else I should be checking/tweaking?

Thanks again
Reply
#4
400k will hardly hold anything at all (maybe 4 slots)

Using that maxrate of ~5000, it means the max amount of bandwidth one slot = 5KB/s where TF2 uses 10KB/s per player on average so that will cause quite some lag (and choke) because it needs more bandwidth.
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#5
Drocona Wrote:400k will hardly hold anything at all (maybe 4 slots)

Using that maxrate of ~5000, it means the max amount of bandwidth one slot = 5KB/s where TF2 uses 10KB/s per player on average so that will cause quite some lag (and choke) because it needs more bandwidth.

Cheers for the advise, have increased the rates to min 10000 and max 25000.

Will see if that improves it when I get home.

4-6 people should be enough slots anyway for mucking about.

Thanks
Reply
#6
ollie2001 Wrote:However, I did use a rates calculator to calculate those figures from: http://www.reece-eu.net/drekrates.php so thought that would be ok.

Orange Box uses more power then normal SRCDS servers. So those calculations could be wrong.
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)