Performance optimization - post your saves

Post all other topics which do not belong to any other category.
Post Reply
Sander_Bouwhuis
Fast Inserter
Fast Inserter
Posts: 245
Joined: Mon Dec 07, 2015 10:45 pm
Contact:

Re: Performance optimization - post your saves

Post by Sander_Bouwhuis » Thu Mar 21, 2019 12:53 pm

teenusa wrote:
Wed Mar 20, 2019 8:25 pm
@Rseding91 I've got an really reallistic map for you :P
about 663k gates fill up this map.

the performacen is very good until you open all the gates (opening and closing is not a problem at all I think)
the reall problem are open gates, I only get about 25 UPS with an 5.2Ghz i7 8700K

to open all the gates, just turn on the nearest constant combinator (bottom right corner of that thing)

Why are open gates eating so much performance? I cannot think abbout anything what causes something like this, aren't open gates "passive" (they do not have to do anything, do not have to look for players, or anything like that.)

The map is too big for the forum.
The map name is "laggy gates.zip"
https://mega.nz/#F!24ciiYTZ!MO7BbbZo1hjFaSO8biPcKQ
This probably has to do with path finding. As long as the gates are closed there is no path there. When you open them, you add 663.000 unique pathways to other places on the map. If Factorio is trying to calculate the shortest path from a biter nest to your base, it will have to go through an insane amount of choices.

TheSAguy
Smart Inserter
Smart Inserter
Posts: 1389
Joined: Mon Jan 13, 2014 6:17 pm
Contact:

Re: Performance optimization - post your saves

Post by TheSAguy » Mon Apr 22, 2019 6:56 pm

Hi,

I have a save here that is causing heavy lag. It's modded.
In a small area of approximately 32x16 tiles contains ~5,000 items and ~10,000 fires, and that's why it is so slow.

This is the area that causes the problems.
As you can see, lot's of items on the ground and lots of flames: The FPS drops to below 5 at points.
Image


Full disclosure, it's mainly caused by my mod NE Enemies.
The problem is, I don't know what to do about it...
I've tried to edit my flames to be as short lived and non spreading as possible, so not sure if it's just vanilla's flame thrower causing the lag because of the items on the ground.

I know you guys are hard working on bug fixes.
So any help with this would be greatly appreciated.

SAVE on DropBox: https://www.dropbox.com/s/nkd5po8y1llajvx/Slow.zip?dl=0

Mods on Dropbox:
https://www.dropbox.com/s/b2ihc9yppoj4dzj/MODS.zip?dl=0

Some more screens ans save:
4 FPS:
Image
Save at 13 FPS: https://www.dropbox.com/s/blr2o31j9b3li ... 2.zip?dl=0

Thanks again!!
Attachments
Natural_Evolution_Enemies_0.17.12.zip
Mod that I think is causing this...
(1.34 MiB) Downloaded 4 times
factorio-current.log
(146.46 KiB) Downloaded 5 times

evandy
Inserter
Inserter
Posts: 49
Joined: Mon Apr 15, 2019 2:54 am
Contact:

Re: Performance optimization - post your saves

Post by evandy » Fri May 24, 2019 2:21 pm

Are you still looking for saves? I am having huge fps issues when I'm areas with dense forest. It is a bobs and angels game but I don't think that is part of the problem. Will upload my safe for you tonight.


2018 15" MacBook pro, so a decent but not super powerful graphics card.

Rseding91
Factorio Staff
Factorio Staff
Posts: 9217
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Performance optimization - post your saves

Post by Rseding91 » Fri May 24, 2019 9:36 pm

evandy wrote:
Fri May 24, 2019 2:21 pm
Are you still looking for saves? I am having huge fps issues when I'm areas with dense forest. It is a bobs and angels game but I don't think that is part of the problem. Will upload my safe for you tonight.


2018 15" MacBook pro, so a decent but not super powerful graphics card.
Game update performance problems yes. FPS problems no. I can just tell you right now the problem is you're using a macbook pro and the graphics card is not powerful enough. According to the technical specifications I found online the macbook pro you have either has a Radeon Pro 555X or a Radeon Pro 560X. Those are both very weak graphics cards.

Comparing them to the GTX 970 graphics card I'm using which was made back in Q2 of 2014: https://www.videocardbenchmark.net/comp ... 3763vs2954 they're just slow.

You'll need to reduce graphics quality (use Normal/Low instead of High - if you're using "High" now) or get a better computer.
If you want to get ahold of me I'm almost always on Discord.

evandy
Inserter
Inserter
Posts: 49
Joined: Mon Apr 15, 2019 2:54 am
Contact:

Re: Performance optimization - post your saves

Post by evandy » Sat May 25, 2019 3:52 am

Rseding91 wrote:
Fri May 24, 2019 9:36 pm
Game update performance problems yes. FPS problems no. I can just tell you right now the problem is you're using a macbook pro and the graphics card is not powerful enough. According to the technical specifications I found online the macbook pro you have either has a Radeon Pro 555X or a Radeon Pro 560X. Those are both very weak graphics cards.

Comparing them to the GTX 970 graphics card I'm using which was made back in Q2 of 2014: https://www.videocardbenchmark.net/comp ... 3763vs2954 they're just slow.

You'll need to reduce graphics quality (use Normal/Low instead of High - if you're using "High" now) or get a better computer.
Can't say I'm surprised, but thanks for the info. I have the 560X for what it's worth... I don't usually have much trouble with rendering times, but I guess Factorio is worse than Civ & Eu4. UPS is staying up just fine at least.

Post Reply

Return to “General discussion”

Who is online

Users browsing this forum: No registered users