11-26-2008, 10:18 AM (This post was last modified: 11-27-2008, 07:45 AM by DiSTANT.)
This is for those of you who are striving to create a kernel capable of running at 2000fps. I have been in the process of customizing the linux kernel (using many different methods) to try and get srcds to run at 2000fps. I have NOT yet achieved anything higher than a constant 999.00, but I have a feeling I will soon. So come and share your ideas, or come to learn the things I have found out through all of my struggles.
#sourcekernel @ Gamesurge.net
Cheers,
DiSTANT
P.s Attached is my current kernel config... however you won't be able to use it unless you patch your kernel with the zen patchset
My first attempt at creating a stable kernel has produced a solid 1000fps bouncing between 999.00 and 1000.00. I am willing to share what I have done to get the very stable 1000fps. And I am sure if enough of us put our heads together we can figure this 2000fps out. Please join the cause
We've got our own 1000 FPS kernel thread on this forum. Also Ubuntu Server Edition does 1000 FPS out-of-the-box. Post your kernel config to the 1000 FPS kernel .config thread, please.
CPU In Out Uptime Users FPS Players
63.25 0.00 0.00 3 1 999.00 17
stats
CPU In Out Uptime Users FPS Players
65.00 0.00 0.00 3 1 1000.00 17
stats
CPU In Out Uptime Users FPS Players
65.00 0.00 0.00 3 1 1000.00 17
stats
11-27-2008, 07:06 AM (This post was last modified: 11-27-2008, 07:07 AM by vigor.)
You won't achieve 2000 FPS by simply adjusting the kernel parameters i.e HZ.
You need to make sure you have a timer capable of registering the additional HZ. Those running stock timing or i.e HPET will not be able to achieve anymore than 1000 FPS.
Don't forget, simply changing a variable in your kernel may yield you 1000 FPS. But in most cases it won't be stable unless you take the necessary steps to obtain stability. Don't forget to compile your kernels with flags for optimal builds.
Game Server Administration Services
Linux & Windows performance specialist. http://www.viGeek.net
11-27-2008, 07:41 AM (This post was last modified: 11-27-2008, 07:46 AM by DiSTANT.)
I have actually applied a few different kernel patches. One of them being the popular -ck patchset. I have also tried the zen patchset. I will attach my current config to this post
11-27-2008, 08:17 AM (This post was last modified: 11-27-2008, 08:20 AM by DiSTANT.)
vigor Wrote:Why would you use a discontinued patch such as the ck patchset?
It's been replaced by the rt patchset as well
Patches are dirty imo, your best bet is to understand what they do and implement them yourself if some of the features seem logical
The -ck patchset is being maintained by kamakazi. His latest can be found here http://waninkoko.info/ ... Also I pick and chose the patches I apply (they have broken-out sets).
Are you sure you attached the correct .config file? I see you've got "CONFIG_GENERIC_CPU=y" set. This means you don't have CPU specific optimizations in the kernel.
vigor Wrote:It's being maintained, no longer actively developed. Your best bet would be to install rt which is the most logical transition, as such it's deemed as the replacement for ck as well with better stability.
I have tried the rt kernel, however, I wasn't able to produce stable fps with it.
css Wrote:Are you sure you attached the correct .config file? I see you've got "CONFIG_GENERIC_CPU=y" set. This means you don't have CPU specific optimizations in the kernel.
His Kernel config is also super bloated, I personally wouldn't use it.
11-27-2008, 08:26 AM (This post was last modified: 11-27-2008, 10:20 AM by DiSTANT.)
This config is currently on my dev box here at home. I haven't gone through all of the devices. When I place the config on my actual box I trim the fat off.