freeciv-web
freeciv-web copied to clipboard
1000 players support
"Imagine being your own nation in a big world of 1000 players."
This issue is about implementing support for 1000 players in Freeciv-web.
@cazfi @kvilhaugsvik Is this possible now? Can you help with this?
You would need a nation for every player, so this requires introducing a lot of new nations.
New nations could be generated on the fly.
Do the internal data structures in the Freeciv C server support over 1000 players?
It's 500 + 12 (-> over 256) at the moment, so everything should have 16bit fields already.
Do you still happen to have the formulas I used when estimating memory requirements of a given player count when we last increased it? I don't think I have myself. Some things grow exponentially and for a 500 player game memory requirements are several gigabytes already (I remember it going over 4GB -> 32bit architecture boundary).
We need support for over 1000 players, to take Freeciv on the web to the next level. Can we do things to reduce or compress memory usage for large games?
There is also this: https://en.m.wikipedia.org/wiki/Zram
Do you have late-game data about 500 player games to see what is the real-life situation currently?
500 player server seems to take about 8GB from the first turn, and is unusable slow on my a bit over a year old computer. Given that some components of the memory usage grow exponentially as player count increases, late game with 1000 players would probably require something around 1TB.
Making a 100 player game work right, for ruleset balance and mechanics, is the more modest goal. There are many issues with so many players on so large a map, for overall game experience, winnability without exhaustion, etc. So, we'll slowly work more toward this modest goal, of getting a ruleset and its mechanics properly functioning well for 100 players ;)
On Tue, Apr 6, 2021 at 11:27 PM Marko Lindqvist @.***> wrote:
500 player server seems to take about 8GB from the first turn, and is unusable slow on my a bit over a year old computer. Given that some components of the memory usage grow exponentially as player count increases, late game with 1000 players would probably require something around 1TB.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/freeciv/freeciv-web/issues/272#issuecomment-814639954, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHVSGWBLHMVYVC67RRD3DUDTHP3ONANCNFSM4HCOX4IA .