05-29-2008, 05:28 PM
lvnv Wrote:I've been using CentOS 5.1, but I'm willing to try something else because this is quite bloated. What about Gentoo?
Is there any particular distro that makes it easier?
No distro is better than the other when it comes to compiling the kernel.
For me it's all the same what the distro is as long as it's got package manager which can download all the dependencies automatically, or then it's slackware which assumes the user knows what he's doing. People get enthuastic about distros, so asking which one would be better is usually bad question. You'll get 10 different answers.
Try to set the process affinity for one core only by "taskset -c 0 ./srcds_run -game ...". This FPS question is also answered million times and every time many users tell you to install "1000 tick kernel", but I don't think many of the people giving the instructions have even installed a new kernel by themselves. They just repeat what they've seen in the 'net.
I've seen that when I set "fps_max 0", I get FPS around 600-900. Then if I set "fps_max 500", I get 350-500.
Nephyrin Zey has also investigated very well about the FPS thing. He's tampered with sleep() function and has achieved FPS over 30000 (yes 30000!):
Nephyrin Zey: "Note the CPU usage. This means that the server isn't sleeping more when it's overshooting its FPS goal, nor is it staying awake longer when its not quite getting there." (you need to register on the mailing list before you can read it).