Recommended specs for server

Started by Daitallica, September 22, 2018, 04:21:14 AM

Daitallica

Hi

What are the recommended computer specs to run
a linux cryofall server with about a 100 player limit?

Or if there's an equation to work out the specs needed

ai_enabled

We have no more than about 60 players online on any of our servers yet... and it works fine on Intel 2-core CPU with about 2 GHz clock speed, using not more than 600 MB of RAM usually.
Please note that the game server writes a lot of info in the log so it might hog a few GB of free space even if there are no players online. I'm not sure if we've implemented a sliding log mechanism yet (creating a new log file every day and deleting older log files). If not, we will finish it soon as it was already done for VoidExpanse years ago.

Daitallica

Awesome stuff, my SOC should have no problems then... in theory haha
Thanks

ai_enabled

When you run the server it will print the mini-profiler stats every 10 seconds into the console. The most important stat is the total update duration.
The default server tickrate is 60 updates per second. It means the frame duration should be consistent below 1/60 of a second (16.7 ms). If in the log you see that the frame takes longer than 16 ms at max, then the hardware is definitely not enough to handle the load. You can reduce the tickrate in that case (to 40 or even 20 updates per second, below creates too high input lag to my opinion) - for example, with 30 updates per second the server has a budget of 1/30 of a second (33.3 ms) per frame.

The game performance scales pretty well with many players online. The reason is that the most game CPU load is player-independent such as game systems update (spawn, AI, vegetation growth, food spoilage, etc). So if you can run the server for the first time (with 0 players) and it reports in the log that it's not using more than 50% of the frame budget total on the update tick, it should be good to play with a few dozens of players online.

Daitallica

Awesome stuff, I'm just setting up Ubuntu server and going to have a crack at getting the server on there

Daitallica

Eugh, I'm having trouble installing dotnet.
Will try again tomorrow, my head is cooked haha