SRCDS Steam group


Linux optimizations for better performance
#1
Well I'm currently hosting a server on my Linux machine.
Specs:
http://playline.dk/status
::
Ubuntu Server 9.10 64BIT
2.3GHz Dual Core.

Server(s):
A 27 slot 33tick server with 1 slot for SourceTV. And a 11slot war server, usually never online.
Well the fps_max is 0 and the fps is horrible I had better performance on Windows Server 2008.

Measurement
http://www.fpsmeter.org/p,view;64869.html

I've failed to setup several kernels, just got kernel panic etc. So what would you recommend?

-realchamp.
Reply
#2
windows > shit ^^ but i dont know yet > somebody told me that 2008 is very good but i have no experience with it.

if i compare with linux....

disable sourcetv > you dont need it for public server and it gives more worse fpsmeter results.
compile a new kernel ^^ have fun > use the one of BehartesEtwas and use ur actuall .config.
when the server is full i think the mhz of the cpu is too low to manage the 1000 fps, try 500 fps with deactivating hres in the kernel under processor options > high resolution timer.
-peter
Reply
#3
well, the "trick" to avoid those kernel panics is to know which drivers you need for the boot process. the most probable problem is the HDD controller. this driver must be compiled into the kernel (not as module, i.e. make it [*] instead of [M]). also the file system driver for your root partition must be in the kernel. all other drivers probably can be a module, because once the kernel can access the disk and the root file system it can load modules.

virtually all linux distributors have to use another "trick" for their default kernel, because they cannot know which driver is required (the distro should run on any system). they compile all drivers as modules (the kernel would be way too big if they'd compile all into the kernel) and then place all modules into a so-called inititial ram disk ("initrd", "initramfs" or so). that ram disk is loaded by the boot loader (e.g. grub) together with the kernel, so the kernel can access the modules even before it can read the root file system. but this method is more complicated, because every distribution has it's own tools to create those initial ram disks.

so I recommend finding the required drivers and compiling them into the kernel. that way it will also be much easier to do kernel updates, because you don't need to create the initrd every time.

if you need help identifying the required drivers, post the output of lspci and your exact kernel version you intent to use.
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
I need SourceTV. My server can easily hold this. It's barely above 17% usage when the server is full - based on Windows.

Which kernel would you recommend?
Reply
#5
see my signature ;-)
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
i would recommend 2.6.32-ck2 - i have achieved 997 stable fps
Slå den med jeres fiberforbindelser...

[Image: 1308107839.png]
Reply
#7
(04-20-2010, 06:29 PM)BehaartesEtwas Wrote:  see my signature ;-)

^^ trying.
Reply
#8
Even at 17% core load, you can have very in stable FPS with Linux, its down to the buggy engine. Also I wouldn't say 2.3ghz is too low for a stable 1000fps, make sure you experiment with RT scheduling and idlers, they seem to affect peoples systems differently.
Reply
#9
(04-21-2010, 08:33 AM)BloodAngel Wrote:  Even at 17% core load, you can have very in stable FPS with Linux, its down to the buggy engine. Also I wouldn't say 2.3ghz is too low for a stable 1000fps, make sure you experiment with RT scheduling and idlers, they seem to affect peoples systems differently.
Yes and that were on Windows. Well it failed agian. -__-
Reply
#10
(04-21-2010, 04:59 PM)realchamp Wrote:  Well it failed agian. -__-

be a little more precise please. linux virtually always has some error message that can help identifying the problem (very unlike windoze Toungue). do you have physical access to the server and can see what is printed on the monitor?

and what exactly did you try?
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


Forum Jump:


Users browsing this thread: 6 Guest(s)