Page 1 of 1

13.9 Major Performance Hit after deep Exploring

Posted: Wed Jul 20, 2016 11:46 pm
by OkariDraconis
In my current save, I went out an explored in my power armor, and pissed off every bitter in the process...

After i explored good amount of the area around me my FPS dropped from 50+ to 34, additionally, I swear the game is simulating much slower, everything seems to move really slow now.

Anyways, here is the save
https://www.dropbox.com/s/xbuojjm1nsuhk ... e.zip?dl=0

I wish had a previous save, but I don't.
FYI, not mods installed, just trying to go for achievements :P

LogFile stuff:

0.001 2016-07-20 18:18:00; Factorio 0.13.9 (build 23372, win64, steam)
0.001 Operating system: Windows 10
0.001 Program arguments: "C:\SteamLibrary\steamapps\common\Factorio\bin\x64\Factorio.exe"
0.001 Read data path: C:/SteamLibrary/steamapps/common/Factorio/data
0.001 Write data path: C:/Users/Okari/AppData/Roaming/Factorio
0.001 Binaries path: C:/SteamLibrary/steamapps/common/Factorio/bin
0.019 Graphics options: [FullScreen: true] [VSync: false] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: high] [Light scale: 100%] [Screen: 255] [DXT: false]
0.029 Available display adapters: 1
0.029 [0]: \\.\DISPLAY1 - AMD Radeon R9 200 Series {0x8080005, [0,0], 2560x1080, 32bit, 60Hz}
0.030 Create display on adapter 0. Size 1280x720 at position [630, 162].
0.616 Initialised OpenGL:[0] AMD Radeon R9 200 Series; driver: 4.5.13441 Compatibility Profile Context 16.200.1035.1001
0.707 Desktop composition is active.
1.005 Loading mod core 0.0.0 (data.lua)
1.009 Loading mod base 0.13.9 (data.lua)
1.109 Checksum for core: 1287107447
1.109 Checksum for mod base: 2251615999
1.636 Initial atlas bitmap size is 16384
2.741 Created atlas bitmap 16384x6372
2.786 Created atlas bitmap 4096x968
23.183 Sprites loaded
23.183 Convert atlas 4096x968 to: trilinear-filtering
23.289 Loading sounds...
24.693 Custom inputs active: 0
24.741 Factorio initialised
30.588 Loading map C:/Users\Okari\AppData\Roaming\Factorio\saves\6Game.zip
30.620 Info Scenario.cpp:127: Map version 0.13.9-2
33.824 Checksum for script C:/Users/Okari/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 900459546
486.078 Steam API shutdown.
486.080 Goodbye

Re: 13.9 Major Performance Hit after deep Exploring

Posted: Thu Jul 21, 2016 6:01 am
by Xeteth
Just loaded the save and can confirm that both FPS and UPS drop. This is due to the enormous numbers of biters that have been aggro'd, by recharting the map and looking it appears as though many of the biters are 'stuck' in place.

If you run this command:

Code: Select all

/c game.forces["enemy"].kill_all_units() 

all the biters are killed and the FPS/UPS releases back to normal.

Re: 13.9 Major Performance Hit after deep Exploring

Posted: Thu Jul 21, 2016 6:33 am
by OkariDraconis
but then my game is no longer eligible for achievements... which is what I'm primarily doing with this save :P

Guess I will have to go manually clear them all out.. which I don't want to actualy do since that will raise the evolution high at that point

Thank you though. I'm hoping I don't need to start a new game to try and go for the achieves

Re: 13.9 Major Performance Hit after deep Exploring

Posted: Thu Jul 21, 2016 6:57 am
by depeter
Depending on where the aggro'ed biters/spitters are stuck, you might be able to just kill them, while leaving (most of the) the spawners alive. That might take a little bit more work, but that would be the price to pay to keep your evolution in check :)

Re: 13.9 Major Performance Hit after deep Exploring

Posted: Thu Jul 21, 2016 8:46 am
by Klonan
Thanks for the report,

This is reasonably not a bug in the game, more that you are behaving in a way that causes the game to do a lot of extra work

Re: 13.9 Major Performance Hit after deep Exploring

Posted: Thu Jul 21, 2016 11:17 am
by orzelek
Klonan wrote:Thanks for the report,

This is reasonably not a bug in the game, more that you are behaving in a way that causes the game to do a lot of extra work
From what I know there is a mechanics that should destroy stuck biters that can't path to their target.
It might be a bug for this part since it seems to have failed and biters are stuck and using up lots of CPU resources?

Re: 13.9 Major Performance Hit after deep Exploring

Posted: Thu Jul 21, 2016 11:32 am
by Oxyd
Fixed in 0.13.10.
orzelek wrote:From what I know there is a mechanics that should destroy stuck biters that can't path to their target.
Depends on what you mean by “path”. The problem here was that there was a big amount of biters waiting for the pathfinder to become available. I made it so that they'll give up eventually.

Re: 13.9 Major Performance Hit after deep Exploring

Posted: Thu Jul 21, 2016 3:15 pm
by OkariDraconis
Oxyd wrote:Fixed in 0.13.10.

Depends on what you mean by “path”. The problem here was that there was a big amount of biters waiting for the pathfinder to become available. I made it so that they'll give up eventually.
Sweet, Thanks, Can't wait. :D

Re: 13.9 Major Performance Hit after deep Exploring

Posted: Thu Jul 21, 2016 6:45 pm
by orzelek
Will it also help with biters and forests?

I had a surprise moment when on big foray into biter land to reclaim it my fps tanked after group of maybe 50 biters tried to attack me through forest.

Re: 13.9 Major Performance Hit after deep Exploring

Posted: Thu Jul 21, 2016 7:45 pm
by Oxyd
orzelek wrote:Will it also help with biters and forests?

I had a surprise moment when on big foray into biter land to reclaim it my fps tanked after group of maybe 50 biters tried to attack me through forest.
Depends. Maybe.