Jump to content

Server FPS


Bazim
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

2 hours ago, Bazim said:

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.

 

2 hours ago, Bazim said:

 

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.

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

17 hours ago, Bazim said:

Sometime it went to 30-35 but not under 20, but still I think it can do much more. 

 

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.

 

Link to comment
Share on other sites

37 minutes ago, meganoth said:

 

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.

Link to comment
Share on other sites

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 ?

Link to comment
Share on other sites

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.

Edited by meganoth (see edit history)
Link to comment
Share on other sites

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? 

Link to comment
Share on other sites

1 hour ago, Bazim said:

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!

 

 

Link to comment
Share on other sites

4 hours ago, Bazim said:

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.

Link to comment
Share on other sites

14 hours ago, Blue mame said:

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.

Link to comment
Share on other sites

15 hours ago, Jugginator said:

 

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.

OK thank you guys.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...