Page 1 of 1

Server load - difference between AIs and human players

Posted: Thu Aug 31, 2017 3:56 pm
by Corbeau
I'm curious, is there a difference between strain on the processor/memory/whole machine in these two cases: 1. Players are humans, meaning, it's a multiplayer game, and 2. Players are AIs, meaning, it's a single-player game?

Re: Server load - difference between AIs and human players

Posted: Fri Sep 01, 2017 9:35 am
by sveinung
AI players uses a lot of resources compared to human players. The late game on a big map with many AI players can be extremely slow.

Re: Server load - difference between AIs and human players

Posted: Fri Sep 01, 2017 9:45 am
by Corbeau
So you're actually saying that a multiplayer game is easier on the memory and the processor than the solo game with the same number of nations?

(Which does sound logical, but I always thought I was missing something)

Re: Server load - difference between AIs and human players

Posted: Fri Sep 01, 2017 10:23 am
by sveinung
The problem for the AI is, as far as I know, the processor. Its CPU usage grows fast with map size, number of cities, number of units etc. A game with many nations on a huge map with many cities and units will be unplayable against AI opponents on a weak computer.

Re: Server load - difference between AIs and human players

Posted: Fri Sep 01, 2017 11:16 am
by VladimirSlavik
Computers usually wait for human input, this game is no different. With player actions spread out in time and using "bio" processing, the load is spread in time and low. Running an AI requires resources, so that's one additional load. Furthermore, when AI plays, it blazes through its turn fast. So all of the resource consumption happens faster.

To complicate matters further, the difference between AI play and human play is so high that you really have to plan for the load peaks during AI play. That means a lot of resources is waiting just for that peak load - sitting unused when the human ponders...