SRCDS Steam group


2000fps #sourcekernel
#1
Cool 
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


Attached Files
.txt   config-2.6.24-zen4-lld.no-po.2000hz.txt (Size: 75.63 KB / Downloads: 301)
[Image: banner.php?t=2&bg=002244&amp...p;id=82023]

[Image: banner.php?t=2&bg=002244&amp...p;id=82024]
Reply
#2
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 Smile

#sourcekernel
[Image: banner.php?t=2&bg=002244&amp...p;id=82023]

[Image: banner.php?t=2&bg=002244&amp...p;id=82024]
Reply
#3
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.

http://forums.srcds.com/viewtopic/8423 - Request: 1000 FPS kernel .config
http://forums.srcds.com/viewpost/47667#pid47667 - Id like to say Ive been using an unmodified Ubuntu server edition kernel that can run srcds straight out of the box with good results.

If you get to the 2000 FPS then you could start new thread here.
Reply
#4
Code:
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

This is what my kernel produces :p
[Image: banner.php?t=2&bg=002244&amp...p;id=82023]

[Image: banner.php?t=2&bg=002244&amp...p;id=82024]
Reply
#5
This is the same kernel above running on an almost full 20-slot server (no bots)

Quote:CPU In Out Uptime Users FPS Players
39.50 107440.17 263411.22 409 16 994.04 17

] rcon stats
CPU In Out Uptime Users FPS Players
39.50 106339.62 242491.16 409 16 984.25 17

] rcon stats
CPU In Out Uptime Users FPS Players
39.20 109810.62 225441.61 409 16 984.25 17

] rcon stats
CPU In Out Uptime Users FPS Players
40.00 110231.45 224057.97 409 16 973.71 17

] rcon stats
CPU In Out Uptime Users FPS Players
40.00 110904.58 223237.73 409 16 994.04 17

] rcon stats
CPU In Out Uptime Users FPS Players
39.00 111616.91 221851.81 409 16 984.25 17

] rcon stats
CPU In Out Uptime Users FPS Players
39.00 111536.06 222758.28 409 16 974.66 17

] rcon stats
CPU In Out Uptime Users FPS Players
38.33 112448.58 221198.08 409 16 985.22 17

] rcon stats
CPU In Out Uptime Users FPS Players
38.00 112617.02 217401.77 409 16 984.25 17

] rcon stats
CPU In Out Uptime Users FPS Players
38.00 111841.03 216922.67 409 16 984.25 17

] rcon stats
CPU In Out Uptime Users FPS Players
37.60 111518.01 219779.25 409 16 994.04 17

] rcon stats
CPU In Out Uptime Users FPS Players
37.60 112485.81 238487.41 409 16 994.04 17

] rcon stats
CPU In Out Uptime Users FPS Players
37.00 111660.30 233689.56 409 16 994.04 17
[Image: banner.php?t=2&bg=002244&amp...p;id=82023]

[Image: banner.php?t=2&bg=002244&amp...p;id=82024]
Reply
#6
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
Reply
#7
vigor you should write a tut on custom kernels
Reply
#8
It's something I'd consider, I've written some in-depth guides for several popular GSP's to train themselves to do some of the work I do on their own.

I don't think I'd sell all the secrets, but think soon I'll put together a guide to compiling a kernel with some flags and what not.
Game Server Administration Services
Linux & Windows performance specialist.
http://www.viGeek.net
Reply
#9
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
[Image: banner.php?t=2&bg=002244&amp...p;id=82023]

[Image: banner.php?t=2&bg=002244&amp...p;id=82024]
Reply
#10
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
Game Server Administration Services
Linux & Windows performance specialist.
http://www.viGeek.net
Reply
#11
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).
[Image: banner.php?t=2&bg=002244&amp...p;id=82023]

[Image: banner.php?t=2&bg=002244&amp...p;id=82024]
Reply
#12
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.
Reply
#13
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.
[Image: banner.php?t=2&bg=002244&amp...p;id=82023]

[Image: banner.php?t=2&bg=002244&amp...p;id=82024]
Reply
#14
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.

CONFIG_KPROBES=y
CONFIG_SECURITY_SELINUX=y
CONFIG_INPUT_JOYSTICK=y

Just a few among a hundred that are enabled and don't need to be.
Game Server Administration Services
Linux & Windows performance specialist.
http://www.viGeek.net
Reply
#15
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.
[Image: banner.php?t=2&bg=002244&amp...p;id=82023]

[Image: banner.php?t=2&bg=002244&amp...p;id=82024]
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)