SRCDS Steam group


Server FPS Problems...
#1
Sad 
Running CentOS 5 64-bit, trying to get 500FPS on a CSS server.
Command line has +fps_max 600. Config has fps_max "600".

In console the server shows as running with at most, 440FPS. Setting the config from 600 to 0, will cause the server to run at 800+. We tried setting it higher than 600 in command line with same results, until we put 900. 900 would bring it to 800+
How am I able to set it so it will stay stable at 500fps?

Command Line:
Code:
/home/gamemar/.gameservers/cstrikesrc_0/srcds_i686 -dir /home/gamemar/.gameservers/cstrikesrc_0/ -game cstrike +maxplayers 14 +ip 64.120.226.245 +port 27015 +exec server.cfg +map de_dust2 -tickrate 100 -nohltv -tvdisable +fps_max 600
Server Specs:
Q9300
8gb ram
Reply
#2
you need to compile your kernel without "hres".
Reply
#3
Do you have a link to a good guide on how to do that?
Reply
#4
440fps is the same as 500fps. the server cannot run with exactly 500fps (without some hack like LD_PRELOAD libraries) as it sleeps always an integer number of milliseconds after each frame. the calculation need some time as well and that time will prolong the overall frame time and thus reduce the fps. But this isn't any problem, you can live with 440fps perfectly.

nb: disabling the high resolution timers as peter_pan recommended might hide this fact because the clock that measures the fps will become more coarse and cannot resolve this difference anymore. but this will not make the server better, on the contrary this will make it imprecise in the same way!
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
#5
I see. I used to run a couple 500fps servers on a Windows box a while back and in console it would show as 500-520fps. Linux based servers I guess will just show it differently then?
But another question... If someone did like I did and set "fps_max 0" in the config, they would be able to get to 800+fps. Is there no way to force it to not go above 500?
Command Line has the max setting as 600, yet it will go beyond what is allowed if its changed in server.cfg.

This whole fps issue wouldn't be a problem if it was my own servers. But, I'm selling them to teams and I don't want them to be paying for a 500fps server and complain about it not showing as 500 lol. Is there anything I can do to have it show 500 something in console? Cause I've only been able to achieve either ~440 or near 900, nothing really in between.
Reply
#6
thats why the most real companys sell their servers with ~500 > not 100% 500fps. everybody knows if you want 100% stable 500FPS you need some other tricks, but hres is the easiest one and you have no different in gameplay > or BehaartesEtwas? :-)
Reply
#7
(04-19-2010, 05:31 PM)Peter_Pan123 Wrote:  thats why the most real companys sell their servers with ~500 > not 100% 500fps. everybody knows if you want 100% stable 500FPS you need some other tricks, but hres is the easiest one and you have no different in gameplay > or BehaartesEtwas? :-)

Ok, so that may be better than having to explain to every customer. Is there a guide on compiling it without the hres?
Also, if anyone can explain how to stop people from getting over the max fps limit, that would be a big help Big Grin

Thanks for the help so far
Reply
#8
oh man > i cant explain > everyone would say at this part > please use google^^
words: "kernel compile tutorial"
there is one option under processor (dont know atm the real optionname) - high resolution timer - short - hres - disable it.

But be carfull dont compile a kernel without any knowledge please read before some articals before trying.

-peter
Reply
#9
Yeah I've googled a lot on it in the past. Just was wondering if there was one specifically for making it without hres. I did find one in the SteamPowered forum a while back. Searched High Resolution Timer in there and it says to enable in the config. So I'll choose to disable then. Rolleyes

Heres the link to it:
Code:
http://forums.steampowered.com/forums/showthread.php?t=486424
Reply
#10
yeah i know that steam thread > its ok use that > you can also try out http://wiki.fragaholics.de (Linux Kernel HOWTO!), but there you need the hres for the rt kernel, there you will get 1000fps try it.
Reply
#11
Yeah I was looking at that one also, thanks.
Reply
#12
you actually want to make the server worse only not to need to explain your custumers why it doesn't have exactly 500 fps? bad idea.

btw: windows usually doesn't have the timer resolution to resolve those differences either. windows has afaik only a resolution of 1/1024 second (depending on the "fpsboost"-software you use - by default it's 1/64s only!), so it simply cannot show somthing else then 512 fps, the next step would be 384fps... (this might be different on newer windows versions with HPET enabled...)
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


Forum Jump:


Users browsing this thread: 1 Guest(s)