I'm curious on what memory usage people are seeing when using a local server and large number of planets and armies. > 8GB? > 16GB? > 24GB? > 32GB? I have 16GB and trying to decide if I want to go to 24 or 32GB. Regards
History is what consumes RAM. ie players x units x interactions x time, etc Clan Wars Showdown required 52GB RAM for 3 hours, 21 players and a lot of units.
52GB is quite an extreme value though. In all servers I ever run it never went beyond 30GB, usually it stayed below 20.
RAM isn't what you need, what you need is a good CPU. As in amazing CPU per core. (Because the sim isn't multithreaded)
See the server discussion in this thread: https://forums.uberent.com/threads/regular-large-15-32-player-ffa-and-team-games-on-weekends.68242/
Just wonder is anyone here tried to use zram? I just think compression may work for history in RAM pretty nicely, but testing needed of course.
Will try zram this weekend. OS X memory compression works really well... the issue on OS X is that memory compression is delayed so it works for games as history grows over time but does not work for big replays where PA allocates the memory so rapidly that memory compression has no impact until after it's fully allocated.
zram basically allocates all RAM you give to it and then create virtual SWAP device so once all other RAM is used it's using this "fake SWAP" instead of one on HDD. For my needs it's was extremely useful, but would be interesting to see how it's works for history. I think I'm going to run some long AI game and check for results... PS: Though as far as I remember there is some issues with using it on kernels below 3.15 so you better to get something newer than that. Also no need to worry if server has HDD swap enabled as zram swaps getting higher priority by default.