Simspeed Improvements?

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

Simspeed Improvements?

Postby gordan » 21 Jul 2012, 17:55

Hi,

Are there any simspeed improvements in the FAF patches? The real killer in FA for me has always been sim speed. I like to play on huge maps with one or two allied friends, against as many hard AIs as possible, and in this mode, after an hour or two the game speed grinds to a halt. We all have 3GHz+ C2 class machines and nothing so far has helped.

From what was discussed many times before on GPG forums, the problems seems to be related to leaky garbage collection, and even improved AIs like Sorian didn't do much to fix the problem.

So my key question is - do FAF patches include fixes for the ubiquitous simspeed lag? Is do the improvements not touch upon this problem?

TIA.
gordan
 
Posts: 3
Joined: 21 Jul 2012, 17:46
Has liked: 0 time
Been liked: 0 time
FAF User Name: gordan

Re: Simspeed Improvements?

Postby Plasma_Wolf » 21 Jul 2012, 21:04

The sim speed issues are inherent to the game engine. The game engine can't be changed without breaking the user agreement. So no: the updates won't help on sim speed issues.
User avatar
Plasma_Wolf
Supreme Commander
 
Posts: 1335
Joined: 20 Oct 2011, 11:28
Has liked: 23 times
Been liked: 91 times
FAF User Name: Plasma_Wolf

Re: Simspeed Improvements?

Postby gordan » 22 Jul 2012, 01:19

Inherent in the game engine? Hardly. Seems like a bona fide bug to me, most likely arising from a garbage collection issue where dead units aren't reaped appropriately from the unit order queue.

If that's not going to get fixed, I guess that wipes out what is pretty much the only reason to bother upgrading from the latest official release version.

But since you mentioned the user agreement, just out of interest, which user agreement are you referring to?
gordan
 
Posts: 3
Joined: 21 Jul 2012, 17:46
Has liked: 0 time
Been liked: 0 time
FAF User Name: gordan

Re: Simspeed Improvements?

Postby Adraius » 22 Jul 2012, 04:42

The EULA (End User License Agreement, that long legal thing you check the box for so that you can play your game) forbids any modification to the game engine itself (as pretty much all game EULAs do). Having recently found the old GPG.net forums, I read the entire 28-page threadnought on Sorian's and Ducane's battle against slow sim speed.

The conclusions that were drawn from that thread, as I remember them:

- Sorian and Ducane's improvements did indeed significantly increase the sim speed, as illustrated in this graph, produced by TyrialFrost:
Image
Note that the default AI not shown here is even worse, and I believe this is not up to date with later releases of the Sorian AI.

- Large numbers of units on the map never helped, but wasn't the main source of slowdown.

- Water maps were slowed down far more than land maps in most cases.

- In most cases the slowdown would persist after all but the AI's commander, and in some cases even that as well, were destroyed. I believe the Sorian AI was able to at least partially address this.

- Patrol routes and maps without pathing beacons (forcing the AI to resort to the canpathto() query) were the only significant resource drains caused by the units themselves, and were not the main problem. I believe these drains were also minimized.

- It was discovered that because the FA AI (as opposed to the vanilla AI) spawns a new buildmanager process for each expansion base, each expansion base essentially adds another AI to the map. The Sorian AI countered this by limiting the number of expansion bases allotted to each AI. This also helps explain why water maps were hit harder (and large maps in general), as they also contain beacons for naval expansion bases.

- It was discovered that the buildmanager for an expansion base would stay in existence even after the physical base was destroyed. Furthermore, rebuilding the base would create a new buildmanager, rather than assigning it to the already existing one. The Sorian AI ensures that the buildmanagers are destroyed properly, but the solution doesn't entirely eliminate the simspeed slowdown: the buildmanager will continue to exist until all engineers and factories associated with that base are killed, and those engineers can conceivably wander anywhere on the map.

- Some other engineer-related and excessive querying issues were found, and most were fixed or minimized. (my brain only remembers so much, it was a ton of reading)

There was steady speculation that the AI was still trying to command 'ghost units' after they had been destroyed, and that some processes were still not being culled appropriately, as you suggested. However, Sorian and Duncane were never able to find them. It's virtually certain that there is still some performance gain that could be made by modifying the lua code rather than the engine itself, but do not expect to find a single bug that will drastically increase the sim speed.

Hope that helps. :)
Adraius
Avatar-of-War
 
Posts: 92
Joined: 03 Jul 2012, 08:11
Has liked: 5 times
Been liked: 3 times
FAF User Name: Adraius

Re: Simspeed Improvements?

Postby Ze_PilOt » 22 Jul 2012, 11:16

FAF uses 3603 exe, and there was some improvements for memory footprint (fixing some leaks I guess), and I think the "ghosts" units.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt

Re: Simspeed Improvements?

Postby gordan » 23 Jul 2012, 15:47

All right, thanks for the details response. :)

But where can I actually download the latest FAF patch? I looked through the site and can't seem to find the download link anywhere. Embarrasing question to ask, I know, but there it is anyway...
gordan
 
Posts: 3
Joined: 21 Jul 2012, 17:46
Has liked: 0 time
Been liked: 0 time
FAF User Name: gordan

Re: Simspeed Improvements?

Postby Ze_PilOt » 23 Jul 2012, 15:55

All is automatic. Try to host a game and it will guide you through.
Nossa wrote:I've never played GPG or even heard of FA until FAF started blowing up.
User avatar
Ze_PilOt
Supreme Commander
 
Posts: 8985
Joined: 24 Aug 2011, 18:41
Location: fafland
Has liked: 18 times
Been liked: 376 times
FAF User Name: Ze_PilOt


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest