SRCDS Steam group


cant go higher than 333FPS on SRCDS Servers
#1
Hi everyone!

well, i have a GSP company, and i recently installed Centos and Swiftpanel.

The problem is that i can't go over than 333FPS on SRCDS servers.

For example, in TF2, this is my launch line:

./srcds_run -game tf -ip xx.xx.xx.xx -port 27020 -maxplayers 18 -tickrate 66 +fps_max 600 +map cp_badlands +servercfgfile server.cfg -autoupdate

Even if i put FPS 0 or FPS 1000 i cant go over than 333.
If i put fps_max at 250 it stucks at 160fps.

Its not a hardware related problem, because my server machine is very powerful and also, before installing centos, i had Debian and i didnt had this problem.

Also, in HLDS servers, i dont have this problem with sys_ticrate


So... could you help me please Toungue ?
Reply
#2
Because you need a newer kernel. The stock kernels do not have hrtimers. CentOS ships 2.6.18 and will continue to do so for a long time.
http://leaf.dragonflybsd.org/~gary

“The two most common elements in the universe are hydrogen and stupidity.”








Reply
#3
see my signature :-)
http://www.fpsmeter.org
http://wiki.fragaholics.de/index.php/EN:Linux_Optimization_Guide (Linux Kernel HOWTO!)
Do not ask technical questions via PM!
Reply
#4
your guide doesn't seem to work well or at all for centos 5.5, keep getting kernel panics.
Reply
#5
yeah, maybe is that!!, i have optimised my Kernel with the fragaholics's guide and im using Centos 5.5...


is there any way to go back to my old kernel, or at least fix it for 5.5 ?
Reply
#6
There is a way when you're using grub. Google


... but when you're getting kernel panics you're done something wrong.
Reply
#7
I found a way to fix it...

in the kernel .config file, look for

#CONFIG_SYSFS_DEPRECATED is not set

change it to...

CONFIG_SYSFS_DEPRECATED=y
CONFIG_SYSFS_DEPRECATED_V2=y

read more about it here, it is our exact issue.

need both, otherwise LVM wont work for some reason there is a glitch with these kernels and it took me like like 12 hours to figure it out, recompile kernel and should be fine, albeit you will run into 2 errors, one about a missing file and another one failing to copy iptables or something, but aside from that it does work fine.

I'm using 2.6.33.5 for the moment but I will probably downgrade a bit now that I know how to fix the problem I was having...

built by doing...

$ cd /home/user/rpmbuilds
$ make menuconfig
$ make dep
$ make bzImage
$ make modules
$ make modules_install
$ make
$ make devices
$ make install

in that exact order, at least it works.
Reply
#8
sysfs is old and I'm surprised it's still in use. It was supposed to be axed at the end of 2.4.
http://leaf.dragonflybsd.org/~gary

“The two most common elements in the universe are hydrogen and stupidity.”








Reply
#9
i just want to restore my kernel to stock or upgrade it..

Should i have to yum update kernel, and that's it?

Sorry for my inexperience but im new into the linux world, specially en RHEL's world.
Reply
#10
If you don't know, then you should hire someone to do it for you, as a wrong kernel setting can break shit.

yum update will only fetch a repo kernel, on CentOS it's just a 2.6.18 kernel.
http://leaf.dragonflybsd.org/~gary

“The two most common elements in the universe are hydrogen and stupidity.”








Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)