SRCDS Steam group


recommendations for configuring a srcds
#1
Hi guys,

I'm getting a bit confused by the google results concerning the configuration of an srcds server to max out the performance.

I have a 16.000kbit down / 1024kbit up internet connection and want to run a 16 slot server. The Server will be running on a AMD 2600XP/512kb and 1GB of Ram. OS will be Linux. I also want to install the mani-mod plugin.

I guess that my hardware should be capable of running a lag free server - the bottleneck might be the internet connection - but I'm ready to give it a go and see how it works.

I want the server to be at least a tick 66 server - if all works fine I'd like to try it as a tick 100 server.

What values would you recommend for the following settings? Is there anything that I should not configure or vice versa, anything that I defenately need to configure?

sv_minrate
sv_maxrate
sv_minupdaterate
sv_maxupdaterate
sv_unlag
sv_maxspeed
fps_max

Thank for helping me - it's the first time that I'l be setting up a server...
Reply
#2
Hello gandalf,

You will want to remember to set the tickrate on the command line, as it's the only place you can set it. Also set fps_max there as well. So your command line to run could look like this:

Code:
./srcds_run -game cstrike -ip x.x.x.x -port 27015 +map de_dust -secure -maxplayers 16 -tickrate 66 +fps_max 250 +sv_lan 0

As far as the settings you asked about, specify them inside your cstrike/cfg/server.cfg - for a 66 tick server, they should be set at the following:

Code:
sv_minrate 8000
sv_maxrate 20000
sv_minupdaterate 30
sv_maxupdaterate 66
sv_unlag 1
sv_maxspeed 320
fps_max 250

ALSO don't forget to add sv_maxcmdrate etc to your server.cfg.

Code:
sv_mincmdrate 30
sv_maxcmdrate 66

Give all that a go and see how it runs. Note that on any server, what really matters is your upload speed, not necessarily your download speed, since you are mainly sending out to people not obtaining data from people.

Hope that helps!
Reply
#3
"ALSO don't forget to add sv_maxcmdrate etc to your server.cfg.

Code:
sv_mincmdrate 30
sv_maxcmdrate 66
"

Why if i can ask? What does that command do?
Reply
#4
Those control how high or low that clients can set their cl_cmdrate. This is how fast data gets sent back and forth to the server. If you have a 66 tick server, you will want to set these.

TurboPiston Wrote:"ALSO don't forget to add sv_maxcmdrate etc to your server.cfg.

Code:
sv_mincmdrate 30
sv_maxcmdrate 66
"

Why if i can ask? What does that command do?
Reply
#5
Hi,

thank you very much for your hints! I'm using your values and it seems to be working.
As a first test, I filled the server with ten bots to see how it is doing. On de_aztec it has a short jump to 50% cpu load and goes down quickly to an average of 20-30%. "stats" shows an Idle fps rate of 247 (with fps_max 250).

Increasing the fps_max value doens't make a change to the fps shown in "stats". Do you think that the P4-2.66Ghz CPU isn't capable of more fps? Is 247 enough for a good play?

I'll have a proper test with real players tonight. I'm expecting something between 8-10 real players. If we're less players, we might want bots to join us. After our first test, I'll publish the servers adress and invite you to play on it. Would be nice to get your comments on it - I'm sure that further improvements can be made!

Thanks a lot so far
cheers
Reply
#6
Gandalf,

Bots will raise the CPU easily, especially with a lot of them. When you raise your fps_max, be sure to raise it both in the server.cfg and on the command line. I personally think 250 is fine for a 66 tick server, especially since most people don't actually get over 250 FPS. But, if you need higher FPS, you will need to raise your Kernel Timer on your Linux Kernel. If you search these forums about "Linux kernel timer", you should find enough info to do it yourself. I have mine at 1000 HZ, and I am able to get about 997 FPS on my Gentoo Linux server.

Hope this helps,

Ryan
Reply
#7
You won't be able to run a 16 slots 66 tick on 1mbit, 33 tick pretty much maxes the connection already.
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
#8
Are you sure about that? I run a 10Slot 100Tick CSS server on a 3mb/s bandwith, but the server only uses 125 KB/s when it's full.
I would think that 1mb bandwith is more than enough ?
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)