Drek's HLDS / SRCDS rate calculator
This handy little chappy will calculate the recommended number of slots your HLDS or SRCDS server can run with rates, as recommended by Drek.
All calculations are directly from Drek's guidelines "setting rates for small home servers" (formerly "running a lag free server"), but since nobody can be bothered to read his highly useful and well structured advice, I have built this.
This script should work in IE/Opera/Firefox now. Thanks to pizzahut for help on getting it to work in Firefox.
Not got a clue what to enter? Here's some help.
Application
Select the server application you are running.
- HLDS (GoldSrc engine) - this includes games such as:
- Half-Life Deathmatch
- Counter-Strike 1.6
- Counter-Strike: Condition Zero
- Team Fortress Classic
- Day of Defeat
- Deathmatch Classic
- Firearms
- Natural Selection
- Sven Co-op
- Digital Paintball
- Science and Industry
- Any other mod based on the Half-Life engine
- SRCDS (Source engine) - this includes games such as:
- Half-Life 2 Deathmatch
- Counter-Strike: Source
- Team Fortress 2
- Day of Defeat: Source
- Left 4 Dead
- Fortress Forever
- Any other mod based on the Source (Half-Life 2) engine
Throughput (wrongly aka bandwidth)
Simply the lowest amount of throughput you have available to the Internet. If your downstream speed is 4 megabits, and your upstream speed is 512 kilobits, enter 512.
If you honestly have no idea, try the speed test. Do 2 or 3 tests on the recommended testing server to get an accurate result, then take the lowest figure out of downstream/upstream and enter it in the box.
5% of the value you give us will be taken off mainly to leave a gap that may be required for other protocols.
Finally, I call this throughput rather than bandwidth because bandwidth is a term used in radio frequencies. As computer scientists we should be using the correct term throughput to determine the amount of data we can put through a logical link within a certain time lapse.
Hardware
We now need to know details about the server computer.
- MHz CPU: How fast the server processor is in megahurtz (MHz). Do not multiply this by the number of processors/cores you have.
- Cores: The number of processors your server has (or number of cores). If you have 2 processors with 4 cores each, enter 8. Currently disabled as we're working out a new formula to include the number of CPU cores effectively.
- MB of physical RAM: The amount of physical primary memory (RAM) the server has. Do not include virtual memory. 1 GB = 1024 MB, 2 GB = 2048 MB, 4 GB = 4096 MB, etc.
Once you enter your server processor speed, number of processors/cores, and total primary memory, the script will recommend how many slots it can handle.
Either take the recommended slots and type it in the player(s) including reserved slots box, or type in your own figure.
If you are recommended more than 32 slots, don't worry -- it isn't broken. This means you can run multiple servers up to the player count shown. For example if you are told 50 players, you could run 2 servers at 25 players each, or you could run 3 servers at 20/20/10 players.
Calculate
Once you've filled in the throughput and players, you can calculate the rates recommended for your server configuration file. Simply copy and paste the results in to your server.cfg file.
If you would prefer to have an application for Windows that does this, see my original creation of this tool.
Page last updated Sunday, 10th January 2010 at 11:48 PM, executed in 0.051 seconds using 9 queries. It has been viewed 97228 time(s).
Template and content © copyright Adam Reece 2003-2010. All rights reserved.
Please send any problems you encounter on this website to the manager Adam Reece, thank you.

Go back to the top...