SRCDS Steam group


Server Tweaks
#1
Hey guys, I have a server running in Suse 9.3 on a 10mbit downstream 1mbit upstream connection. I'm just wondering if there is any tweaks or anything that might help the pings a bit or things I can do to improve performance. Thanks ahead of time, NoYd
Reply
#2
well optimizing kernel latency helps alot, there are a few ways to do this, low-latency patch and the kernel-preemtion patch are a good addition to a custom compiled kernel, if you are running a 2.4 kernel there is a patch by robert love that that takes the internal timer from 100 hz to 1 khz wich will allow your srcds to run at its full potential rather than being stuck at 50 fps it will run full boar, also setting the nice value when you launch srcds_run to something with better priority will ensure that it gets adequate processor time, just add "nice -n -10" infront of your srcds_run when you launch it, like
"nice -n -10 ./srcds_run -tickrate 33 -console -game cstrike -port 27015 +map de_dust +maxplayers 18" -20 is the highest priority 20 is the lowest,i dont recomend you run at -20, only root can change priority so another alternative is to renice an already running server with "renice" or "top" SU root

obviosly these tweaks are not for the linux noob, but if you are farmilliar with building a custom kernel then you should be able to figure it out, theres plenty of howtos on the subject. also makesure you HD's working at its full potential, usually they arent, "hdparm" allows you to set dma and io flags like "hdparm -d1 /dev/hda", "hdparm -c3 /dev/hda" to turn on dma and 32bit W/sync io.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)