Server FPS

Bazim

Refugee
Hello, I wanna ask about the server FPS that I am seeing in the console.

2022-11-09T16:02:43 28650.705 INF Time: 477.42m FPS: 20.58 Heap: 1686.8MB Max: 1788.8MB Chunks: 276 CGO: 24 Ply: 1 Zom: 1 Ent: 3 (7) Items: 1 CO: 1 RSS: 2760.5MB
2022-11-09T16:03:13 28680.753 INF Time: 477.92m FPS: 20.58 Heap: 1707.4MB Max: 1788.8MB Chunks: 276 CGO: 24 Ply: 1 Zom: 1 Ent: 3 (7) Items: 1 CO: 1 RSS: 2760.5MB
2022-11-09T16:03:43 28710.785 INF Time: 478.42m FPS: 22.02 Heap: 1758.4MB Max: 1788.8MB Chunks: 276 CGO: 24 Ply: 1 Zom: 1 Ent: 3 (7) Items: 1 CO: 1 RSS: 2760.8MB

Is it ok? Or is it bad? For me that 20 seems to be so low.

It is running on Ubuntu Server 20.04 machine. 4 cores from Ryzen 9 5900X and 7 GB RAM.

Thank you.

 
If that is nearly the lowest you see then it is ok. The server operates at 20 ticks per second, anything below for a longer time and the server could miss out on some events.

If that is the average then you have no safety margin. With your CPU you should be able to "get a better deal".

On my rented server I get anything from 19 up to 43 FPS and normally around 36 FPS

 
Oh ok thank you, and what you mean by get a better deal?

And I see these 20 FPS when the server is empty or when there is 2 or 4 players. I just see this messages with 20 FPS.

 
Oh ok thank you, and what you mean by get a better deal?


I was implying that your server should be able to achieve more FPS. But I don't know that for sure, someone with a similar CPU would know.

And I see these 20 FPS when the server is empty or when there is 2 or 4 players. I just see this messages with 20 FPS.


As long as it doesn't go much below it is fine. I'm just surprised it doesn't fluktuate more.

 
Ideal is 40-50. 30-40 is generally good. Anything below 25 is where you start to be concerned about performance, and below 20 is definitely going to show in gameplay.

You should open up more cores.

 
That cpu should give you a better server fps than you're getting as it is a stellar cpu. Additionally, if it is not a typo, 7gigs of ram is not enough. I'd recommend at least 16 gigs, 32 gigs is even better. Just my 2 cents.

 
My 1000 year old quad xeon idles at 20 fps with no one on.

35-40 fps with 1-5 players on, and 15-20 fps during a horde night.

 
The FPS of the server is smooth at 10~40 frames. If it is lower than 10 frames, it will show lag and delay. The maximum FPS value of the server should be capped at 40 frames, and basically it will not exceed 45 frames.

 
Try turning off hyperthreading (SMT), see if it helps.

I assume you start the server in a virtual machine? If yes, adding more RAM to see if it makes a difference should be easy.
My server is Ubuntu Server 20.04 and I am running it via Pterodactyl (it runs servers in dockers). I change RAM to 10G and still it says 20 sometimes 30 I see in the log and it is using only 3-4 G of RAM.

 
I just tried to run the server on different machine 10700KF with also Ubuntu Server 20.04, but without Pterodactyl (docker running) just pure SteamCMD download and run and it is also saying 

2022-11-10T16:35:02 437.946 INF Time: 4.21m FPS: 20.00 Heap: 3224.8MB Max: 3727.7MB Chunks: 9 CGO: 0 Ply: 0 Zom: 0 Ent: 0 (0) Items: 0 CO: 0 RSS: 9184.7MB

8/16 cores 20G free RAM for the server. Isn't that wierd that it is exactly at 20.00 ?

 
Yes. Did you only check the first FPS line? Because in the first two lines of a recent logfile I had 20.15 and 20.00 as FPS values directly after logging in from a client. But then the third line was at 37 and further lines stayed around that value for a loong time.

 
Last edited by a moderator:
Yes after I joined it went to like 30 then back to 20 .. sometimes when in server was some action with zombies etc it went to 30-35 again and then back to 20 and it repeats 20, 20 so I guess this is just normal behaviour? 

 
Yes after I joined it went to like 30 then back to 20 .. sometimes when in server was some action with zombies etc it went to 30-35 again and then back to 20 and it repeats 20, 20 so I guess this is just normal behaviour? 


My server stops without players, so I get no lines at all until I join. You should also see no FPS lines until you join. I don't know of any setting that would disable this!

 
Yes after I joined it went to like 30 then back to 20 .. sometimes when in server was some action with zombies etc it went to 30-35 again and then back to 20 and it repeats 20, 20 so I guess this is just normal behaviour? 


Yeah this is normal behavior, including idles hitting around 19.95 fps or so, the only time you should be getting concerned is if the fps goes below 20 with heavy action going on.

 
The FPS of the server is smooth at 10~40 frames. If it is lower than 10 frames, it will show lag and delay. The maximum FPS value of the server should be capped at 40 frames, and basically it will not exceed 45 frames.
In Alpha 19 and previous, the cap was 40. With A20 it caps at 50 now.

And these aren't frames. This is a measurement of clock rate efficiency.

 
Back
Top