FPS not being constant.

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
IcEWoLF
This is my homepage
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.

Post by IcEWoLF »

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.
Image
Image
User avatar
Edge100x
Founder
Founder
Posts: 13127
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: FPS not being constant.

Post by Edge100x »

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?
rustydusty1717
This is my homepage
This is my homepage
Posts: 645
Joined: Sun Sep 20, 2009 6:15 pm

Re: FPS not being constant.

Post by rustydusty1717 »

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.
Image
IcEWoLF
This is my homepage
This is my homepage
Posts: 1192
Joined: Thu Aug 10, 2006 9:41 pm
Contact:

Re: FPS not being constant.

Post by IcEWoLF »

John, our managed 2000fps server was on a windows server.
Image
Image
IcEWoLF
This is my homepage
This is my homepage
Posts: 1192
Joined: Thu Aug 10, 2006 9:41 pm
Contact:

Re: FPS not being constant.

Post by IcEWoLF »

I forgot to add on my last reply that the os I currently run is windows 08.
Image
Image
User avatar
Edge100x
Founder
Founder
Posts: 13127
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: FPS not being constant.

Post by Edge100x »

IcEWoLF wrote:John, our managed 2000fps server was on a windows server.
You were on Linux, actually. (All 2000fps servers here are run on Linux and benefit from the FPS Locker.)

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.
IcEWoLF
This is my homepage
This is my homepage
Posts: 1192
Joined: Thu Aug 10, 2006 9:41 pm
Contact:

Re: FPS not being constant.

Post by IcEWoLF »

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.
Image
Image
User avatar
Edge100x
Founder
Founder
Posts: 13127
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: FPS not being constant.

Post by Edge100x »

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.
rustydusty1717
This is my homepage
This is my homepage
Posts: 645
Joined: Sun Sep 20, 2009 6:15 pm

Re: FPS not being constant.

Post by rustydusty1717 »

I got a perfect 950-1000 on my CentOS VPS no problem.
Image
IcEWoLF
This is my homepage
This is my homepage
Posts: 1192
Joined: Thu Aug 10, 2006 9:41 pm
Contact:

Re: FPS not being constant.

Post by IcEWoLF »

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?
Image
Image
User avatar
Edge100x
Founder
Founder
Posts: 13127
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: FPS not being constant.

Post by Edge100x »

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.
rustydusty1717
This is my homepage
This is my homepage
Posts: 645
Joined: Sun Sep 20, 2009 6:15 pm

Re: FPS not being constant.

Post by rustydusty1717 »

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. :mrgreen:



http://www.compmil.com/blog/linux-hldss ... stallation
Image
IcEWoLF
This is my homepage
This is my homepage
Posts: 1192
Joined: Thu Aug 10, 2006 9:41 pm
Contact:

Re: FPS not being constant.

Post by IcEWoLF »

John,
// 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"
Does that mean I have fast dl up? I just want to make sure I have the settings right.
Image
Image
rustydusty1717
This is my homepage
This is my homepage
Posts: 645
Joined: Sun Sep 20, 2009 6:15 pm

Re: FPS not being constant.

Post by rustydusty1717 »

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

Re: FPS not being constant.

Post by rustydusty1717 »

sv_downloadurl "http://www.47r-squad.com/server/"

Works as well.
Image
Post Reply