FPS not being constant.
-
- This is my homepage
- Posts: 1192
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Thu Aug 10, 2006 9:41 pm
- Contact:
FPS not being constant.
Hi John, the FPS is not being constant in our server when its full, our hosted server by you use to be stable fps.
I've seen it going from 1000 to 100 to 200 to 100 to 76 and lower.
Anything else I can do to improve this?
I am currently only running 2 game servers and 1 teamspeak server.
I've seen it going from 1000 to 100 to 200 to 100 to 76 and lower.
Anything else I can do to improve this?
I am currently only running 2 game servers and 1 teamspeak server.


Re: FPS not being constant.
If I remember correctly, you had a large and CPU-intensive server here, and we had you on Linux so that you'd get the advantage of the FPS Locker technology that we have running. That isn't available outside of our managed servers, so you'll see a bit more flux in every other circumstance.
What OS are you running right now? Have you tried lowering the FPS to get something more stable? Do these FPS fluctuations happen even with plugins disabled?
What OS are you running right now? Have you tried lowering the FPS to get something more stable? Do these FPS fluctuations happen even with plugins disabled?
-
- This is my homepage
- Posts: 645
- Joined: Sun Sep 20, 2009 6:15 pm
Re: FPS not being constant.
I found 500FPS to be overall better on a public server, 1000FPS for privates. I don't see the point in 1000FPS public servers either, but to each their own.

Re: FPS not being constant.
I forgot to add on my last reply that the os I currently run is windows 08.


Re: FPS not being constant.
You were on Linux, actually. (All 2000fps servers here are run on Linux and benefit from the FPS Locker.)IcEWoLF wrote:John, our managed 2000fps server was on a windows server.
On Win2k8, I'd recommend trying turning off HPET first. That will bring you 500fps, but it will be a more stable 500fps than the 1000fps was, because of the difference in the way the timers work.
Re: FPS not being constant.
Well the whole point of getting this large server is to be able to run a large pub server with stable fps...I could have sworn our server was on a windows server at 2000fps because I was running the sourcemod plugin version for windows on the pub server we had. That's what it said on the description page.. 500 fps is something that I would not be willing to settle for.


Re: FPS not being constant.
Changing the timing type and going to a more solid 500fps was just the easiest option; it's not the only one here.
Instead of doing that easy option, you can try to address the underlying configuration problem and tweak things. I'd recommend trying things like:
* Running without plugins temporarily, to see if they're the culprit
* Making sure that your server is running as high priority/realtime and that you aren't logged in to RDC/VNC, etc
* Double-checking fps_max and making sure it's set to 0
* Locking the server to a core, or not to a core, if you already are
* Trying different values for the cvar net_queued_packet_thread
* Making sure that FAD is working properly (anyone downloading from the server will cause severe dips)
* Making sure that SourceTV is turned off
* Setting a different -tickrate
* Switching to a Linux platform
All of these can affect performance. The most likely culprit for the big drops would be plugins, and it's possible that your plugins are behaving differently now, since you were on Linux previously.
As I mentioned before, since you're not on the FPS Locker any more, there isn't an external system that can step in and correct for long frame/tick times, so you'll naturally have higher flux. However, drops all the way down to 70 should be very rare, with a properly configured setup.
Instead of doing that easy option, you can try to address the underlying configuration problem and tweak things. I'd recommend trying things like:
* Running without plugins temporarily, to see if they're the culprit
* Making sure that your server is running as high priority/realtime and that you aren't logged in to RDC/VNC, etc
* Double-checking fps_max and making sure it's set to 0
* Locking the server to a core, or not to a core, if you already are
* Trying different values for the cvar net_queued_packet_thread
* Making sure that FAD is working properly (anyone downloading from the server will cause severe dips)
* Making sure that SourceTV is turned off
* Setting a different -tickrate
* Switching to a Linux platform
All of these can affect performance. The most likely culprit for the big drops would be plugins, and it's possible that your plugins are behaving differently now, since you were on Linux previously.
As I mentioned before, since you're not on the FPS Locker any more, there isn't an external system that can step in and correct for long frame/tick times, so you'll naturally have higher flux. However, drops all the way down to 70 should be very rare, with a properly configured setup.
-
- This is my homepage
- Posts: 645
- Joined: Sun Sep 20, 2009 6:15 pm
Re: FPS not being constant.
Thanks for the reply John, will definitely give that a try, the reason I wouldn't want to go Linux is because my knowledge on linux is bad, and running a multiple games/game servers on linux can become a pain.
I use FireDaemon, currently I am using core 0 for public and core 1 for the private, I am going to test that one out.
Before I had it on default, no specific cores selected (it was choosing the core automatically I believe)
By binding multiple cores wouldn't make a difference correct?
I use FireDaemon, currently I am using core 0 for public and core 1 for the private, I am going to test that one out.
Before I had it on default, no specific cores selected (it was choosing the core automatically I believe)
By binding multiple cores wouldn't make a difference correct?


Re: FPS not being constant.
I'd generally recommend letting the OS choose what cores to use -- it's pretty good about it most of the time, and that allows you to take advantage of threads on different cores, potentially improving performance.
-
- This is my homepage
- Posts: 645
- Joined: Sun Sep 20, 2009 6:15 pm
Re: FPS not being constant.
Linux is actually very easy to use. I'm glad I got into linux, I learn new stuff everyday. Here's a guide to installing a HLDS on linux. It can be done in literally 45 seconds. I actually timed myself once for chuckles.
http://www.compmil.com/blog/linux-hldss ... stallation

http://www.compmil.com/blog/linux-hldss ... stallation

Re: FPS not being constant.
John,
Does that mean I have fast dl up? I just want to make sure I have the settings right.// General HL Cvars
sv_contact "your@email.address"
decalfrequency 60
mp_decals 100
mp_falldamage 1
sv_cheats 0
sv_maxupdaterate 120
sv_maxrate 0
sv_minrate 30000
sv_timeout 120
sv_gravity 800
sv_allowupload 1
sv_allowdownload 1
sv_downloadurl "http://47r.site.nfoservers.com/server"


-
- This is my homepage
- Posts: 645
- Joined: Sun Sep 20, 2009 6:15 pm
Re: FPS not being constant.
If your maps, sound, sprites, gfx is in the folder server, then yes you have it right.

-
- This is my homepage
- Posts: 645
- Joined: Sun Sep 20, 2009 6:15 pm