• SRCDS high ping for everyone (except me)
    4 replies, posted
Hey, so I'm having issues with srcds on my server. People's ping from WA is about 140 (speedtest says it should be 90), I'm in Canada, MB, and it's getting really annoying having ping of +50 during this revival era of TF2 servers. The server is hosted on my main PC, a G3258@4.2GHz w/ 12GB RAM. My network up speed is 2Mbps or 256KB/s, and I've set my server to host 24 players. Here's my server.cfg, I run just TF2Items+giveitem, as well as advertisements in SourceMod. [CODE]// General Settings // // Hostname for server. hostname Official FUTURE10S Pub Server [100% Valve Server Ripoff] // Overrides the max players reported to prospective clients sv_visiblemaxplayers 24 // Maximum number of rounds to play before server changes maps mp_maxrounds 5 // Set to lock per-frame time elapse host_framerate 0 // Set the pause state of the server setpause 0 // Control where the client gets content from // 0 = anywhere, 1 = anywhere listed in white list, 2 = steam official content only sv_pure 0 // Is the server pausable sv_pausable 0 // Type of server 0=internet 1=lan sv_lan 0 // Collect CPU usage stats sv_stats 1 // Execute Banned Users // exec banned_user.cfg exec banned_ip.cfg writeid writeip // Contact & Region // // Contact email for server sysop sv_contact ***** // The region of the world to report this server in. // -1 is the world, 0 is USA east coast, 1 is USA west coast // 2 south america, 3 europe, 4 asia, 5 australia, 6 middle east, 7 africa sv_region 255 sv_tags valve // Rcon Settings // // Password for rcon authentication (Remote CONtrol) rcon_password ***** // Number of minutes to ban users who fail rcon authentication sv_rcon_banpenalty 1440 // Max number of times a user can fail rcon authentication before being banned sv_rcon_maxfailures 8 rcon_address 192.168.***.*** // Log Settings // // Enables logging to file, console, and udp < on | off >. log on // Log server information to only one file. sv_log_onefile 0 // Log server information in the log file. sv_logfile 1 // Log server bans in the server logs. sv_logbans 1 // Echo log information to the console. sv_logecho 1 // Rate Settings // // Frame rate limiter fps_max 300 // Min bandwidth rate allowed on server, 0 == unlimited sv_minrate 8000 // Max bandwidth rate allowed on server, 0 == unlimited sv_maxrate 33000 // Minimum updates per second that the server will allow sv_minupdaterate 16 // Maximum updates per second that the server will allow sv_maxupdaterate 67 // Download Settings // // Allow clients to upload customizations files sv_allowupload 1 // Allow clients to download files sv_allowdownload 1 // Maximum allowed file size for uploading in MB net_maxfilesize 15 // Team Balancing // // Enable team balancing mp_autoteambalance 1 // Time after the teams become unbalanced to attempt to switch players. mp_autoteambalance_delay 30 // Time after the teams become unbalanced to print a balance warning mp_autoteambalance_warning_delay 15 // Teams are unbalanced when one team has this many more players than the other team. (0 disables check) mp_teams_unbalance_limit 1 // Allows kicking other players sv_vote_issue_kick_allowed 1 // Round and Game Times // // Enable timers to wait between rounds. WARNING: Setting this to 0 has been known to cause a bug with setup times lasting 5:20 (5 minutes 20 seconds) on some servers! mp_enableroundwaittime 1 // Time after round win until round restarts mp_bonusroundtime 8 // If non-zero, the current round will restart in the specified number of seconds mp_restartround 0 // Enable sudden death mp_stalemate_enable 1 // Timelimit (in seconds) of the stalemate round. mp_stalemate_timelimit 300 // Game time per map in minutes mp_timelimit 35 // Client CVars // // Restricts spectator modes for dead players mp_forcecamera 0 // Toggles whether the server allows spectator mode or not mp_allowspectators 1 // Toggles footstep sounds mp_footsteps 1 // Toggles game cheats sv_cheats 0 // After this many seconds without a message from a client, the client is dropped sv_timeout 300 // Maximum time a player is allowed to be idle (in minutes), made this and sv_timeout equal same time? mp_idlemaxtime 5 // Deals with idle players 1=send to spectator 2=kick mp_idledealmethod 2 // Time (seconds) between decal sprays decalfrequency 20 // Communications // // enable voice communications sv_voiceenable 1 // Players can hear all other players, no team restrictions 0=off 1=on sv_alltalk 1 // Amount of time players can chat after the game is over mp_chattime 10 // Enable party mode tf_birthday 0 tf_forced_holiday 2 // SourceMod features //Ad interval, 60 = 1 minute (actual ad is time*2 because nextmap is alt ad) sm_advertisements_interval 952[/CODE] I've been trying to fix this for two days now, it's pissing me off. Can someone help?
Your upload speed is nowhere near high enough to host a 24player server. 256KBps/24players ~ 10KBps/player. You set a max rate of 33KBps/player. Assuming everyone uses the 33KBps, you're gonna get a max of 7, theoretically. Plus gotta count the overhead... Like, have you put any thought into the calculations for your server settings at all?
[QUOTE=waxrock;50683343]Your upload speed is nowhere near high enough to host a 24player server. 256KBps/24players ~ 10KBps/player. You set a max rate of 33KBps/player. Assuming everyone uses the 33KBps, you're gonna get a max of 7, theoretically. Plus gotta count the overhead... Like, have you put any thought into the calculations for your server settings at all?[/QUOTE] 256KB/s, not Kbps. I have 2Mbps. 2Mbps / 24 players = ~80Kbps/players. I set it to 33Kbps for that specific reason.
I know it's KBps, so hence why I put KBps and not Kbps. Rate is in bytes per second, not bits.
[QUOTE=waxrock;50683364]I know it's KBps, so hence why I put KBps and not Kbps. Rate is in bytes per second, not bits.[/QUOTE] Ohhhhhh, wow that's high for a 2007 game. Okay, so my sv_maxrate should be 8000 (2000*125/24 - speed in kbps * 125 / players + some overhead) and sv_maxupdaterate should be 33 (maxrate / fps_max)? EDIT: I changed it to what [URL="http://www.reece-eu.net/drekrates.php"]this page[/URL] told me, so my upload is 5000 now and max update rate is 13.
Sorry, you need to Log In to post a reply to this thread.