SRCDS Steam group


FreeBSD constant 50 fps
#1
I've got a FreeBSD 5.4 server running 3 instances of srcds (2 pubs, 1 private). Every instance seems to be limited to 50 fps - I even tried shutting them all down and starting 1 at a time to see if the fps was affected by the other servers...it wasn't.

Does anyone have any thoughts as to why these seem to be limited to 50 fps?

Running FreeBSD 5.4, linux_base-rh-9 and gcc v3.4.2. Thanks!
Reply
#2
Well I don't know very much about linux, but I know with windows is a res timer that limits the server fps, but i'm sure srcdsfpsbooster won't work with linux, but you could try adding -pingboost 1 to the start line. I seem to remember that being a valid start parameter.
Reply
#3
I used to run on FreeBSD6 and I was at a constant 500fps. Maybe there was some changes from 5.4 The server ran really good compared to Gentoo, Fedora, and Debian. However, I am now on Win2003 server and I get better performance without mem leaking.
Reply
#4
are you sure you don't have fps_max 50 somewhere in your cfg?

if you dont have it at all try add fps_max 500 to it then it might work.
If it still limited at 50... i dont know
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#5
what does fps_max do to the server or players game play anyway??
Reply
#6
fps_max <number>

sets the maximum frames per second the game/server will run.
The higher the smoother the game runs for servers.

For clients it's just a showoff since most monitors run at 60Hz anyway.. you dont need higher fps than 60 maybe 125 if you run 125 Hz!

standard cap on client is 300 i believe.

Server should be uncapped but you might want to try add it and see if it goes higher
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#7
Note though, that the server fps has no relation at all the client fps.. its actually a completly different thing all together. server fps is closer to ticks then anything really. I don't really remeber exactly how to explain it, but in the end, the more the better Big Grin.
Reply
#8
This is undoubtedly down to the timer resolution in your FreeBSD kernel. It's easy to fix, just recompile your kernel with:

options HZ=1000

Install the new kernel, and your gameservers will run at more decent FPSes. :-)
Reply
#9
In FreeBSD 6 the default for HZ=1000

In FreeBSD 5 the default for HZ=100 for i386 pc's and 1000 for AMD64 pc's.

So either upgrade FreeBSD to version 6.1 (just out) or recompile the kernel as suggested above.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)