SRCDS Steam group

[TF2] 32 player lag.
Xeon 3430, 2.4ghz Quad core
2GB ram
Windows Server 2008 (Web Edition)

I've tried setting affinity to a specific core and on 2 cores and when it gets full there is a lot of random jerkiness, that seems to increase when more action happens. It's set for standard fps (256 I think?) It's not a heavily modified server. I've disabled QoS and monitored the cores, which the affinity is currently set to core 1 and core 3. When it was on a single core I noticed some spikes up to about 80% or so. Not sure what to do here..

Here's the command line.

-game tf -console +ip xxxxxxxxxxxxxx -port 27015 +maxplayers 32 +sv_password changeme +map cp_dustbowl +exec server.cfg

Here is server.cfg

// this is your server name as shown in the server list
hostname "xxxxxxxxxxxxxxxxxxxxxxx"

sv_password ""
// your server password. a pair of double quotes means it is not set and anyone can join

// start rcon settings

rcon_password "xxxxxxxxxxxxxxxxxxxxx"
// your rcon password to log into the dev rcon console or HLSW rcon console
sv_rcon_banpenalty 5
// Number of minutes to ban users who fail rcon authentication
sv_rcon_maxfailures 10
// Max number of times a user can fail rcon authentication before being banned

// end rcon settings

// start cvars for balancing un-even teams

mp_autoteambalance 1
// 0 is off and 1 is on. if 1 then should be used in conjunction with the following 3 commands
mp_autoteambalance_delay 60
// Time (in seconds) after the teams become unbalanced to attempt to switch players
mp_autoteambalance_warning_delay 30
// Time (in seconds) after the teams become unbalanced to print a balance warning
mp_teams_unbalance_limit 1
// Teams are unbalanced when one team has this many more players than the other (0 disables)

// end cvars for balancing un-even teams
mp_forcechasecam 0
// start cvars for round and game times

mp_enableroundwaittime 1
// Enable or disable timers to wait between rounds. 0 is off 1 is on
mp_bonusroundtime 20
// Time after round win until round restarts (in seconds)
mp_restartround 20
// Time the current round will restart (in seconds)
mp_stalemate_timelimit 120
// Timelimit (in seconds) of the stalemate round
mp_timelimit 300
// game time per map in minutes

// end cvars for round and game times

// start cvars for win conditions

mp_maxrounds 0
// Max number of rounds to play before server changes maps
mp_winlimit 0
// Max number of rounds one team can win before a server changes maps

// end cvars for win conditions

// start client specific cvars

mp_forcecamera 1
// force dead clients to first person mode disabling freelook. 0 is off 1 is on
mp_allowspectators 1
// enable or disable spectators on the server. 0 is off 1 is on
mp_friendlyfire 0
// 0 is off and clients can do harm to team mates. 1 is on and players can kill or injure team mates
mp_footsteps 1
// footsteps on or off. 0 is off and 1 is on
sv_cheats 0
// allow cheats to be used by the client. 0 is off 1 is on
sv_timeout 300
// the amount of time in seconds that a client is booted for no input
sv_maxspeed 320
// the maximun speed a client can move at
sv_consistency 1
// Force clients to pass a consistency check for critical files before joining server. 0 is off 1 is on
decalfrequency 10
// the pause in seconds between a decal being sprayed

// end client specific cvars

// start cvars for communication

sv_voiceenable 1
// allow players to use a microphone. 0 is off 1 is on
sv_alltalk 0
// toggles whether both teams can hear each others voice comms or not. 0 is off 1 is on. recommend it being off
mp_chattime 10
// players can chat for this amount of time (in seconds) after a game is over

// end cvars for communication

// start download cvars

sv_allowupload 1
// allow custom decals to be uploaded. 0 is off 1 is on
sv_allowdownload 1
// allow files to be downloaded from the server. 0 is off 1 is on
net_maxfilesize 15
// Max download file size. Default is 15

//redirect download location

// end download cvars

// start bandwidth rates/settings

sv_minrate 20000
sv_maxrate 30000
decalfrequency 10
sv_maxupdaterate 100
sv_minupdaterate 66
sv_mincmdrate 66
sv_maxcmdrate 100

// end bandwidth rates/settings

// start server logging

// Logging
log on //Enable or disable server logging
sv_logbans 1 //Log server bans in the server logs
sv_logecho 1 //Echo log information to the console. 0 is off 1 is on
sv_logfile 1 //Log server information in the log file. 0 is off 1 is on
logaddress_delall // Removes all previous log destinations
logaddress_add xxxxxxxxxxxxxxxxx // Sends logs to your HLstatsX CE daemon

// end server logging

// start cvars for general operation

sv_lan 0
// is this an internet or LAN server. 0 is internet 1 is LAN
sv_region 0 //Server location. Don't change this. Default: 0 (U.S. East)
sv_allowupload 1 //Allow custom decals to be uploaded
sv_allowdownload 1 //Allow files to be downloaded from the server
sv_downloadurl "xxxxxxxxxxxxxxxxxxxxxxx"
// contact email for sysop
sv_pausable 0
// enables or disables whether the server can be paused. 0 is off 1 is on
sv_pure 1
// forces all clients on the server to use content that matches what is on the server. 0 is off 1 is on
sv_pure_kick_clients 1
// kicks clients that do not have content that matches what is on the server

// 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 1

// end cvars for general operation

// start execute ban files

exec banned_user.cfg
exec banned_ip.cfg

// Communications //

// enable voice communications
sv_voiceenable 1

// Players can hear all other players, no team restrictions 0=off 1=on
sv_alltalk 0

// amount of time players can chat after the game is over
mp_chattime 15
Is it possible that a x3430 just can't handle a 32 player server on one core? What about a x3460?
You have a powerful quad core it should not lag. Also why you have to set cpu affinity. The OS will automatically do that. DO you have another app or server that takes a lot of cpu as your run tf2?
I got Xeon E3110 with 24 players and when full, the cpu usage for that server goes to 5% the most since srcds servers are single cores. So srcds should not be reaching 80% spikes.

Your ram seems to be on the low side, how much free ram you have? Check that out. Try to disable other use servers that you don't need in server 2008.
Also what is your upload speed?

Forum Jump:

Users browsing this thread: 1 Guest(s)