New CentOS kernel for game server
I am helping a friend set up a Counter Strike server using CentOS Server 4.2. We want to optimize the kernel for the highest possible FPS on the server, which I found after searching is affected by the clock resolution. In the newer 2.6 kernels, this I believe can be edited in the CONFIG_HZ variable (ie, setting it to 1000 instead of 250). However, this version of CentOS uses the 2.6.9-22.EL kernel, which apparently is to old to have this option.
I tried downloading a vanilla kernel from kernel.org (2.6.16, the latest version), running make oldconfig, and then changing the variable, but it resulted in a kernel panic with the error "attempted to kill init." After more searching I found that the CentOS kernels are heavily patched.
So, I have two questions. First of all, is there another parameter, or something else I can edit to make the 2.6.9-22.EL kernel source compile a kernel with the different clock resolution? Or second, is there a copy of the latest (or a later) kernel source that has the CentOS patches? I've searched, but the 2.6.9-22.EL source was the latest I could find.
|