supertuxkart / stk-code

The code base of supertuxkart
Other
4.47k stars 1.05k forks source link

Server hardware requirement #5110

Open ThibautPlg opened 3 months ago

ThibautPlg commented 3 months ago

This is not an issue but more a feedback.

During our yearly seminar, my company organized an little internal STK grand prix. We had a lot of fun, thanks to your game. This year however, instead of relying on someone's computer to host the game, I made a headless server with a NUC. I used juanelas's docker image. I wasn't sure on how well my server would handle the game (10 to 13 players) with its limited hardware. I think the STK FAQ or the "NETWORKING.md" should include a section dedicated to server requirements.

Server specs

Observed results

With a stock ubuntu server 22.04 and the STK server running through Docker. 10 Players on the same Grand Prix.


This can basically run on a potato. Best regards,

kimden commented 3 months ago

Have you tried Black Forest or Cocoa Temple which should use more resources?

I just looked and NETWORKING.md mentions 60MB RAM for some tracks. I think, however, that you still need up to 1Gb RAM to compile STK from source, maybe a bit less.

ThibautPlg commented 3 months ago

Hi,

Have you tried Black Forest or Cocoa Temple which should use more resources?

I don't remember playing them. Unless they eat like 2G RAM that wouldn't have been an issue. But that's good to know.

I think, however, that you still need up to 1Gb RAM to compile STK from source, maybe a bit

Compiling did take some time indeed but I haven't watched the resources consumption at the time

Best regards,