patchFreeciv - Patches: patch #3004, increase max number of players to...

Show feedback again

patch #3004: increase max number of players to 512

Submitted by:  Matthias Pfafferodt <syntron>
Submitted on:  Tue Nov 1 20:05:48 2011  
Category: generalPriority: 5 - Normal
Status: Need InfoPrivacy: Public
Assigned to: NoneOpen/Closed: Open
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


(Jump to the original submission Jump to the original submission)

Sat Jun 30 20:25:04 2012, comment #6:

There was email to directly to freeciv-dev mailing list (please add comments to bug/patch tickets in in the future, so they are not lost) condemning the idea of increasing max players because of the bandwidth requirements at turn change.

I don't think that to be valid argument against increasing max supported player number. If such a high max is too much for your usage, you can use set maxplayers server setting to lower value and there won't suddenly be 512 players on your server. Original request for increasing maximum player count come from longturn people, and in their usage turn change taking longish time is not a problem, and it's not like all the 512 players would be connected at the time of turn change to use the bandwidth.

I still have not calculated any estimates how much server memory late game in such a 512 player game would take, but it's very high. Some memory requirements grow exponentially when number of players grow, and usage of ~1GB has been reported in games with ~100 players.

Marko Lindqvist <cazfi>
Project Administrator
Sat Jun 30 19:59:57 2012, comment #5:

Recently there was related discussion in i18n list (it was about number of nation legends to translate, but number of nations has direct implications on possible max player value). See for example:

Marko Lindqvist <cazfi>
Project Administrator
Wed Nov 2 01:05:20 2011, comment #4:

Given the memory consumption and and slowness issues i wonder if 254 isn't enough...

David Lowe <doctorjlowe>
Tue Nov 1 21:06:42 2011, comment #3:

got the first crash of the client; server seems to be stable (now all AI game; RAM goes fast up to 1500MB; each turn needs several minutes - most of it to create the savegame)

Matthias Pfafferodt <syntron>
Project Member
Tue Nov 1 20:52:21 2011, comment #2:

directly after start of the game:

server map 16; 500 players; 1 player connected => 700MB
gtk2 client; connected to the server above => 600MB
gtk2 client; global observer (needs ~5 minutes to get & process all data) => 700MB

This data is not exact but it can give an impression of the RAM needed to run such a game.

Furthermore there seems to be some bugs to find - the overview as observer is a nice orange and the amount of data send to the client is quit large

Matthias Pfafferodt <syntron>
Project Member
Tue Nov 1 20:13:51 2011, comment #1:

did some more checks - memory consumtion is not as high as expected but in combination with a big map ... I think as long as the map is of reasonable size and the number of units/cities do not exceed any limit it would be OK. Perhaps after all something for 2.4 (with 256 as limit?).

Matthias Pfafferodt <syntron>
Project Member
Tue Nov 1 20:05:48 2011, original submission:

this means 510 players; this has to be tested!

The following things have to be considered:
- games using this are not network compatible to any other freeciv version
- memory consumtion!

Starting the game via the client will result in a buffer overflow. You have to use the server to start the game ...

Matthias Pfafferodt <syntron>
Project Member


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by jtn (Updated the item)
  • -unavailable- added by doctorjlowe (Posted a comment)
  • -unavailable- added by syntron (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon May 12 06:25:19 2014cazfiPlanned Release2.5.0=>
    Sat Jun 30 14:51:35 2012jtnSummaryincrease max number of nations to 512=>increase max number of players to 512
    Tue Nov 1 20:52:21 2011syntronSummaryncrease max number of nations to 512=>increase max number of nations to 512
    Tue Nov 1 20:05:48 2011syntronAttached File-=>Added 0021-increase-max-players-to-512.patch, #14385
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup