SRCDS Steam group


Member
#1
Member
Reply
#2
1 server per core is always the optimal situation, typically you can run more, but that depends on the CPU. the GHz alone does not say anything about it's speed, so post the output of "cat /proc/cpuinfo" please...

I strongly recommend against running srcds and hlds on the same machine. That creates virtually always problems. On the other hand mixing different mods based on the same engine (e.g. css and dods) does not present a problem.

the orangebox games (css, dods, tf2 etc.) shall run with fps equal the tickrate. all other srcds games (e.g. hl2mp & mods) and all hlds games (cs 1.6) should run with 1000 fps (approximately -> 900 fps is as good as well!).

if hldsupdatetool does not run, I suspect you are on 64 bit (which is good for at least srcds-based games) and did not install the 32 bit compatibility libraries. I don't remember the name of the package, sorry...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#3
hm, I don't actually have a clue how good those i3 cpus are for game hosting... most people having a cpu of that generation use at least an i5... I think you will have to try it out... I would start with few servers only and increase until you the quality starts decreasing.

fps can be limited using fps_max. always use a limit slightly higher than the fps you want. for css I recommend using fps_max 70, so the server runs with 66 fps. higher fps only (!) increase the cpu load and thus actually decrease the quality (if something changes at all).

nevertheless some system optimizations might help. see my signature for a howto.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#4
(02-02-2011, 08:27 PM)newn Wrote:  I'm interested, why is your signature tells how to make a 1000 FPS server, and you're saying, that I should limit it to 70?
because the howto is out-of-date, and I don't find the time to update it...

Quote:Also a question: how do I specify, which core to use? Or it takes it automatically, not like Windows?
you can use taskset to do this, but I would try without first. that is described in the "playing around" section of the howto.

Quote:Information: I measured the quality of my server with your FPS meter, it was 100% with ~860-880 FPS (on different servers). Server was empty though, I will redo it, when the server have players.
Measured it 2 times for the whole test from your signature. It had around 10-20 players and around 12-15 lag spikes both times. (measured 2 times)
Lag Spike - Fps drop to 10-15, if fps_max is set to 70. If not - to ~60-70.
ok what conclusion do you derive? be careful: if you use ~1000 fps, most frames do not actually have influence on the server quality, as only every 15th frame is used for actual calculations (all other 14 frames in between do nothing useful). unfortunately the fps-meter does not know whether the frame was a "real" one or not. if you have e.g. 500 data points in the measurement, only 33 of them have a meaning for the game play at 1000 fps. and also only those 33 frames do real calculations which take time and eventually lead to a fps drop... it's more difficult to see those drops if your server runs at 1000 fps than if it runs at 66 fps! so please don't jump to the conclusion that 1000 fps is better as the drops are still above the tickrate. that's not true, 1000 fps simply prevents you from seeing the same drops you saw at 66 fps.

Quote:Same happens, when there's only 1 server on, and when there's 4 servers on.
of course, as each server cannot use more than 1 cpu. so until you have one server per cpu you won't notice any performance degradation...

Quote:Only 1 of them has players though. CPU usage doesn't seem to go up more than 1.2-1.4, so my guess is that, I need to configure something, as the PC has ton of rams and a nice HDD, nice internet too.
don't look at the cpu usage. the OS cannot measure it reliable for fundamental reasons. it's basically a random number and has little to do with reality.

Quote:I've also checked your guide. Many new versions of the Kernel has been released, I'm wondering, which Kernel should I install? Currently 2.6.32-28-server this is installed.
yes, my howto is out-dated, but most of the stuff didn't change. use a recent kernel, maybe the most recent ZEN patches. the fundamental settings are still the same... and also important is setting the scheduling ("resched.sh" in my howto).
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#5
then you probably have grub2. try running update-grub. it will list all kernels it can find. if the one you want to boot is not the first, run "grub-set-default <number>" and replace <number> with the number of the kernel in that list, counting from 0 (!).

I hope that's right, I myself do not have grub2...
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#6
You can change/install/remove the kernels as well, if you have root access.
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply
#7
Hey.. I have been thinking of something.. Have you tried to turn off acpi (or apci, cant remember. Smile)
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply
#8
(02-06-2011, 05:55 AM)lol554 Wrote:  Hey.. I have been thinking of something.. Have you tried to turn off acpi (or apci, cant remember. Smile)

you beat me to it
Reply
#9
(02-06-2011, 05:55 AM)lol554 Wrote:  Hey.. I have been thinking of something.. Have you tried to turn off acpi (or apci, cant remember. Smile)

Ahh damn, he beat me too it too, lets post about it Big Grin
Looking for a game server? Visit fullfrag.com and pick one up as low as $2.50 / mo!
Reply
#10
compiling a kernel has always an inherent risk that it will not boot. there is no real alternative in having some rescue option, if you want to do it. I virtually always make something wrong if I do it on a new machine, even though I did it quite often now...

some hint that might help: make sure that the SATA driver (or with whatever your disk is connected) is compiled fixed into the kernel (not as a module, so mark it with [*] instead of [M]). same is important for the file system driver (ext3, reiserfs or whatever you use). if those drivers are in the kernel, the kernel will be able to mount the rootfs and load other modules, so it's ok for all other drivers (like network) to be compiled as a module.
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#11
Add panic=5 to the kernel line, make sure you have grub to set default once on your 'test' kernel.
http://leaf.dragonflybsd.org/~gary

“The two most common elements in the universe are hydrogen and stupidity.”








Reply
#12
(02-06-2011, 11:21 AM)loopyman Wrote:  
(02-06-2011, 05:55 AM)lol554 Wrote:  Hey.. I have been thinking of something.. Have you tried to turn off acpi (or apci, cant remember. Smile)

Ahh damn, he beat me too it too, lets post about it Big Grin

Don't be rude.... Sad

@Ontopic: host_framerate does not do anything, it just fools srcds to believe it has eg. 800 fps if i set host_framerate to 800. Keep it at 0, and you should be good to go. Ive heard that the 2.6.38 kernel builds (not stable yet) should be really good if you hve multiple servers running so you might try that out.
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)