SRCDS Steam group


[help] rebuilding kernel/tickrate
#1
Hi all. Just know right off the bat, I am a linux newb. I've been running/hosting game servers for over 5 years but it's all been on windows NT/2000/2k3, and I have finally decided to take the plunge.

Alright, so here's my minor problem - the server host I am going through has set up my box with Red Hat Enterprise 3 - maybe not the best flavor of nix to use, but it's what they offer and I aint gonna argue Wink Now, when I set the tickrate for my cs:s server to 100, in-game, the net_graph value that relates to what the servers tickrate is wont go above 50, and it feels much like a lower tickrate server as well (to make sure I wasnt having issues on my end, I logged into one of my still-existing windows-based tickrate 100 servers, and net_graph showed the right value).

So I asked around a bit and was told that I may need to rebuild the OS kernel so that it's internal clock runs at 1000 Hz vs the default 100 Hz it's probably at, this way I can take full advantage of running at a higher tickrate.

OK - 1) how the hell do I rebuild the kernel Wink
2) what cmd can I issue in an SSH session to see what the internal clock setting is at?

Oh yeah... useful info on my end:

gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-52)
ldd (GNU libc) 2.3.2
kernel - 2.4.21-32.0.1.ELsmp (05/17/2005)

Hrm... do I want/need to upgrade to a 2.6.* kernel? And is there even one out for my flavor of Red Hat?

Thx in advance for any help ya'll can provide
Reply
#2
IIRC 2.6.11 takes advantage of being able to set the internal timer.

this should help you

http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html

basically yiou wanna set support for hardware you have. (lspci) and remove hardware support you don't have.

you also want support for your hard drives filesystem, its more than likely ext2, ext3 or reiserfs
[Image: userbar_wow.jpg]
starting 9/24/2006 if your problem has been solved please edit your first post and add [solved] to the begining of the title. Thanks.
Reply
#3
Thx a lot cryotek... great reference. I'll give it a go and we'll see what happens. Dont be surprised to see me back here asking more questions Wink
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)