Posts: 1
Threads: 1
Joined: Apr 2006
Reputation:
0
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!
Posts: 1,587
Threads: 15
Joined: Jun 2005
Reputation:
0
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.
Posts: 123
Threads: 5
Joined: Dec 2005
Reputation:
0
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.
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
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
Posts: 4
Threads: 1
Joined: Apr 2006
Reputation:
0
what does fps_max do to the server or players game play anyway??
Posts: 5,178
Threads: 65
Joined: Mar 2005
Reputation:
22
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
Posts: 2
Threads: 0
Joined: Apr 2006
Reputation:
0
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. :-)
Posts: 1
Threads: 0
Joined: May 2006
Reputation:
0
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.