Kernel timer frequency help
Sorry for the wall of text but i hope someone has the time to help me :D
Have spent many days trying to get this working so maybe someone can help me out with this issue. Lately i have tried to built some game servers (counter-strike 1.6) where the timer frequency should run 1000 Hz to insure smooth gameplay.
Started out with minimal version of debian and recompiled the kernel to run 1000Hz, Disable tickless system and enable high resolution timers. (Since iam a new user i cant post a link the the guide i have followed but if you search on google for EN:Linux Kernel Optimization you can find it and check all the .config settings)
Played with a lot of different kernel versions and compilation settings and found out that kernel 2.6.26.1 gave 1000Hz pretty stable (Version 2.6.18.x also gave 1000 Hz). But these are pretty old kernel version so i tried 2.6.33.1, 3.0.x, 3.2x and other newer kernel versions that i cant remember. The result was the same from the newer kernel versions, they were all fluctuating between 850-980Hz.
And the funny thing with the newer kernels are that compiling the kernels with 100,250 or 1000Hz gives 850-980Hz as a result in all cases.
If i recompile the older kernels 100Hz=100Hz and 1000Hz =1000Hz
So my question is what sets/decides the timer frequency in the newer kernel versions? Because my conclusion is that something has changed at some point between the versions.
Have tested this on 3 different computers and tried both debian and centos distributions.
Systems: AMD64 3700+, AMD64 3200+, intel E8500