SRCDS Steam group


RT KErnel 100 hZ?
#1
hi guyz. I will recompile new kernel my css server but i want to ask a question. While compile kernel, what must i choice kernel hz 100-250-300-1000 ? which kernel hz good pls say me... ( i thin 100hz not good, can be ping... )
Reply
#2
I found you some information regarding this:
http://www.ulrich-block.de/?page_id=282&lang=en

I recommend the 2.6.33.5-rt23-ub-1000hz because it is a nice kernel.
Download both the headers and the image and run this command:
dpkg -i linux-image-2.6.33.5-XXX-ub-XXXhz_bitversion.deb
update-grub
Reply
#3
enable hrtimers (i.e. high resolution timers kernel option). kernel HZ will then not limit fps, so 100 HZ will be the optimal choice (minimal cpu load). 1000 hz might be better for hlds, but not for srcds.
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
hmm thank you brothers ! i will choice 100Hz... Thanks !
Reply
#5
i installed 100Hz kernel to my ubuntu server but no player and hlds cpu usage %2-3., when players joined to game cpu usage %50-60 (24 players full). Is this normal??
Reply
#6
Well you havnt listed any specs of the system, so nobody can say if its normal.

But it is normal for load to increase the more players are on the server.
Reply
#7
joe, while i use centos 5.5 default pae kernel 32 slot full players cpu usage %30-35 but after compile kernel it being 50-60-70 Smile) i think it is normal Smile
Reply
#8
As it has been written a couple of times. RT patches might give you a bit more stable fps but the downside is always a higher load on the system. Depending on the systems it can be larger or minimal.

I read (but do not know it for sure) that parts of the RT patch are in the current kernel versions so that there is no need for patching anymore if you use the vanilla kernel and set it to low latency desktop.

Anyway if I were you I would try the latest 2.6.36 kernel since I do not like using 2.x.xx.0 versions and make two kernels to see which runs better:
- 100hz, no preemtion, dyn tic and high res timer on
- 100hz, low latency desktop, dyn tic and high res timer on

I am using the first setup and having no performance issues. I am running the servers with fps_max 100 and get ~80-90 fps if I do not use rescheduling or similar for priorising the processes.
I do not use taskset since it often messes with system performance gameserver wise. At least on my systems. I only use it if I want to limit a process like apache, voice software or mysql.
Interactive web based config creator for CS, CSS, TF2 and DODS
Creates server and client configs in an explained dialog.

You`ll also find precompiled debian gameserver kernels for download
Reply
#9
http://wiki.fragaholics.de/index.php/EN:Server_FAQ#My_CPU_usage_is_too_high.2C_what_can_I_do_about_it.3F
(last section)

cpu usage is basically a random number
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: 2 Guest(s)