GAME INFORMATION
- BUILD #: 101.101.43210.0
- PLATFORM: Steam
-
OS: Windows 10
i7 6700k@4.8GHz, 64GB RAM@2166Mhz, GTX1080, drivers up to date
ISSUE EXPERIENCED
Short version: stuck units (human OR AI) lead to CPU overload and thus to “lag” or "stuttering"
In games where everything was running very smoothly first for one or two hours, I have been running into sudden and continuous catastrophic lag or stuttering in MP with friends in private matches as well as in SP. Ressource manager showed clearly the CPU being the bottleneck and having an i7 6700k @4.8Ghz single core speed, this made me wonder.
The next texts are the clues, how I came to the conclusion above. Always remeber it was a gigantic map with 6-8 player, late game with units near to maxed out, everything running fast and smoothly, then rather suddendly, huge lag:
Most frequent I got this kind of lag in maps with water, but rarely on maps without water at all, too. Killling units made it somewhat better but most of the times the lag carried on till the near end of a game, where the bases were destroyed. Sometimes it went back to smooth and normal without anything happening, but then most of the time just for short periods. In many cases it became a fast/slow/fast/slow-thing. But in many cases I stopped the game and started a new one, because it was unplayable slow.
I started to notice, that killing many ships in a “highland”-map with one narrow but long and branched river made it a lot better than killing many land units, which was the first clue to pathfinding.
The next clue were “Yucatan”-maps with some small areas of water, where the AI started to build fleets (50 and more ships). Killing those landlocked ships speed up the game immensly.
A third clue were when I myself had a lot of ships in a small river, far too many to have them sail parallel. Giving all ships the order to shoot at a unit, which only the first row of ships can reach rapidly slowed the game. The ships in the second row and beyond tried to get close enough but there was no way past, the units were stuck in eachother. After the unit was killed and every ship moved again, the game speed up again.
The last clue was a pure land map (“dark forest”), where the same thing happend when too many land units tried to reach a castle. With every position around the castle occupied the game speed dropped.
Now to what convinced me: A save game of a game I abandoned last week, because it was unplayable slow. Since then I tried every tip to speed up my system for AoE (vsync and everything). I loaded it today and knew there were many stuck ships in a narrow river at the enemy base. Destroying those ships (which was a pain to do, because of the game going so slowly) speed the game up from unplayable to without any lag at all even when setting game speed to very fast. I attached the savegames (“12” is the save game from last week, “STUCK-UNITS” is close before I killed the last stuck ships, “STUCK_UNITS_UNSTUCK” is after killing the last stuck ships, already going very fast. “STUCK_UNITS_UNSTUCK2” ist five minutes later with the AI already replaced all destroyed units but still everything is going very smoothly)
My conclusion is that units with no way to go get many “turns” to see if it is possible to move again thus clogging up the turns. Many stuck units multiply this problem.
This problem is not limited to SP or MP games with AI components. Human controlled units can get stuck in astonishly many cases, too, with similar results.
This is quite often a game breaker for my friends and myself. I can imagine, that it is as well for many other people who are wondering about “performance issues”. Please look into it! Maybe it is possible to reduce the frequency units look for a new way when stuck or make them give up completly or for 30 seconds when ten tries didn’t work?
This happend with the current build as well as the old one(s).
I’m sorry for any mistakes I made in the text.
FREQUENCY OF ISSUE
- 50% of the time / matches I play (FREQUENTLY)
REPRODUCTION STEPS
- get (many) units stuck (in a narrow place) with no way to go (not even backwards)
- experience lag
- kill units
- experience smooth gameplay
Alternatively: load the savegames I provided
GAME FILES
onedrive link to savegames
https://1drv.ms/u/s!Ap3lOksE8xV0zVYlTyTXpIQsYK67?e=9l1AEb
IMAGE & ATTACHMENTS
*