memory for headless multiplayer?

Arrange meetings with other people to play MP, announce your servers.
Post Reply
Yehn
Fast Inserter
Fast Inserter
Posts: 111
Joined: Tue Jul 12, 2016 3:45 am
Contact:

memory for headless multiplayer?

Post by Yehn »

Hi all

Just wondering... what kind of memory usage do you see for the headless version of factorio? Is there a recommended minimum for a headless server?

Thanks

eventualmango
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sat Sep 03, 2016 1:12 am
Contact:

Re: memory for headless multiplayer?

Post by eventualmango »

In my experience the absolute minimum you will need for a ~4 player server is 1gb which will be consumed quickly and you may experience some lag, especially as your factory grows. 2gb would be optimal.

Quazil
Burner Inserter
Burner Inserter
Posts: 11
Joined: Tue Apr 12, 2016 4:47 am
Contact:

Re: memory for headless multiplayer?

Post by Quazil »

Fresh-start vanilla server uses ~320MB so I would say a minimum of 512MB to give you some breathing room.

Code: Select all

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 2351 factorio  20   0  633176 326796   9832 S   2.7  3.9   2:51.94 factorio

Varonimus
Burner Inserter
Burner Inserter
Posts: 5
Joined: Wed Sep 07, 2016 9:39 pm
Contact:

Re: memory for headless multiplayer?

Post by Varonimus »

After 4½ days with a lot of stuff produced by 110 players
(34k solar panels, 29k accu, 775 effect transmission, 2.2k assembling machine 3, 658 roboports, ...)
factorio needs 2.33 GB

(version 0.14.5 on server # Big City # one rocket per minute # EU West)

luc
Fast Inserter
Fast Inserter
Posts: 218
Joined: Sun Jul 17, 2016 9:53 pm
Contact:

Re: memory for headless multiplayer?

Post by luc »

The "Big City # one rocket per minue # EU West" server is a rather big one though, at least in my experience. Perhaps the biggest map I've downloaded yet.

Things will grow to this size eventually with enough players, but if you are looking to have some fun with a few friends, it's not a good benchmark of memory required for any headless multiplayer server.

It would also be interesting to know how well Factorio works with swap, especially if you have an SSD available (many VPSes do these days). If you have two players on a big map that needs to be swapped out partially, that might be totally fine, or the game might try to randomly access lots of places and it would totally suck.

robopilot99
Burner Inserter
Burner Inserter
Posts: 9
Joined: Fri May 27, 2016 10:43 pm
Contact:

Re: memory for headless multiplayer?

Post by robopilot99 »

I run a server with a few friends (2-3 rarely 4) on a free tier AWS box (1Gb ram) and have no performance issues.

User avatar
Redstylt
Fast Inserter
Fast Inserter
Posts: 154
Joined: Sun Mar 27, 2016 3:19 pm
Contact:

Re: memory for headless multiplayer?

Post by Redstylt »

robopilot99 wrote:I run a server with a few friends (2-3 rarely 4) on a free tier AWS box (1Gb ram) and have no performance issues.
Free server ^^ ? how ? (24/7 ?)
Just a big fan of Factorio and all its mods

luc
Fast Inserter
Fast Inserter
Posts: 218
Joined: Sun Jul 17, 2016 9:53 pm
Contact:

Re: memory for headless multiplayer?

Post by luc »

> how?

Well he mentions it, no? :)

I remember AWS is free up to some point (that you usually hit early on, it's basically a trial period). I don't know what the limits are, just look at their pricing page. Apparently Factorio's headless server (24/7 or not, I don't know) can stay under that limit with not too many players.

Post Reply

Return to “Multiplayer”