any tricks to increas FPS / UPS?

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
Jesus8000
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Fri Apr 15, 2016 7:13 pm
Contact:

any tricks to increas FPS / UPS?

Post by Jesus8000 »

any tricks to increas FPS / UPS?
i am at 12 now^^
sorry, my english is not the yellow from the egg.... 4give me

Koub
Global Moderator
Global Moderator
Posts: 7203
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: any tricks to increas FPS / UPS?

Post by Koub »

1) if you think your factory stresses a lot on something that could be optimized, post it here : viewtopic.php?f=5&t=17501
2 ) Replace your belts by underground belts
3) expand your defense perimeter far beyond your pollution cloud
4) use bots where it makes sense instead of inserters/belts
5) if you use warehouse mods, stop using them
6) Solar+accus are UPS friendly, a LOT more than nuclear, and more than steam
7) post a screenshot of your debug info here, if one thing among others sticks out, megabase gurus will find it.

2 bis) Alternatively, wait for 0.16.0 :mrgreen:
Koub - Please consider English is not my native language.

Jesus8000
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Fri Apr 15, 2016 7:13 pm
Contact:

Re: any tricks to increas FPS / UPS?

Post by Jesus8000 »

1: done
2: later
3: too big edit: is the biter increase caused of the poulution the problem or the biters itself? so i have to build a wall 1 km away form my actually wall?
4: done
5: no edit::D i dont use this mod
6: 11 GW solar better than 5 power plants?> that could be optimized
7: wher can i find this debug info? f4?
8:thats what i am doing already:P
Last edited by Jesus8000 on Tue Oct 24, 2017 7:48 pm, edited 1 time in total.
sorry, my english is not the yellow from the egg.... 4give me

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

Re: any tricks to increas FPS / UPS?

Post by Rseding91 »

Jesus8000 wrote: 5: no
Reminds me of:

Image

You asked how to increase UPS and not using gargantuan chests is one way to do so. You don't need them and they hurt UPS. You either stop using them or don't ask for help to improve UPS.
Jesus8000 wrote: 6: 11 GW solar better than 5 power plants?> that could be optimized
11 GW of solar panels is: 'count of solar panels' * daytime = power produced - one multiplication and the entire solar field has been calculated. 5 reactors is already 5 times as expensive, then you add in all the heat pipes, water pipes, steam pipes, steam turbines and you're looking at 1000-4000 times more expensive than solar panels.
If you want to get ahold of me I'm almost always on Discord.

Koub
Global Moderator
Global Moderator
Posts: 7203
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: any tricks to increas FPS / UPS?

Post by Koub »

Jesus8000 wrote:3: too big edit: is the biter increase caused of the poulution the problem or the biters itself? so i have to build a wall 1 km away form my actually wall?
7: wher can i find this debug info? f4?
3) Whatever chunk your pollution touches, there is logic for absorption by biter nests + nests generating biters from pollution absorbed + biters attacking ...
If your pollution can never reach a biter nest, all this computation doesn't have to be done
7) yup the F4 thing with all the numbers on the left :).
Koub - Please consider English is not my native language.

Cribbit
Fast Inserter
Fast Inserter
Posts: 199
Joined: Mon Oct 09, 2017 9:35 pm
Contact:

Re: any tricks to increas FPS / UPS?

Post by Cribbit »

You can turn off pollution and biters to improve FPS, but this disables achievements.

Jesus8000
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Fri Apr 15, 2016 7:13 pm
Contact:

Re: any tricks to increas FPS / UPS?

Post by Jesus8000 »

Cribbit wrote:You can turn off pollution and biters to improve FPS, but this disables achievements.
i have all achievments^^ and i thought even so , the mods disable challances
thats the best idea by now:P
sorry, my english is not the yellow from the egg.... 4give me

Jesus8000
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Fri Apr 15, 2016 7:13 pm
Contact:

Re: any tricks to increas FPS / UPS?

Post by Jesus8000 »

Koub wrote:
Jesus8000 wrote:3: too big edit: is the biter increase caused of the poulution the problem or the biters itself? so i have to build a wall 1 km away form my actually wall?
7: wher can i find this debug info? f4?
3) Whatever chunk your pollution touches, there is logic for absorption by biter nests + nests generating biters from pollution absorbed + biters attacking ...
If your pollution can never reach a biter nest, all this computation doesn't have to be done
7) yup the F4 thing with all the numbers on the left :).
haha ^^ u wanna help me?
https://www.dropbox.com/s/09m4bir5bikig ... s.zip?dl=0
....

how can i kill all biters and delete pollution?
sorry, my english is not the yellow from the egg.... 4give me

Koub
Global Moderator
Global Moderator
Posts: 7203
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: any tricks to increas FPS / UPS?

Post by Koub »

Console commands (but you will lose the ability to get achievements on this save.
I tried, removing pollution and killing all biters, I gained 2 UPS ... which is around 20% (I had 10.5, and ended with 12.5)
I think what is killing the CPU is all these HUGE busses.
This is madness
400k active entities, most of them probably moving on belts, I think that's your main UPS killer. Entity update is like 95% of the update cycle.
replace your huge busses with trains, or chained underground belts, and you should see a difference.
Koub - Please consider English is not my native language.

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: any tricks to increas FPS / UPS?

Post by darkfrei »

Jesus8000 wrote:how can i kill all biters and delete pollution?
https://wiki.factorio.com/Console#Kill_all_enemies

Code: Select all

/c local surface=game.player.surface
for key, entity in pairs(surface.find_entities_filtered({force="enemy"})) do
	entity.destroy()
end
https://wiki.factorio.com/Console#Remove_all_pollution

Code: Select all

/c game.player.surface.clear_pollution()

Jesus8000
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Fri Apr 15, 2016 7:13 pm
Contact:

Re: any tricks to increas FPS / UPS?

Post by Jesus8000 »

darkfrei wrote:
Jesus8000 wrote:how can i kill all biters and delete pollution?
https://wiki.factorio.com/Console#Kill_all_enemies

Code: Select all

/c local surface=game.player.surface
for key, entity in pairs(surface.find_entities_filtered({force="enemy"})) do
	entity.destroy()
end
https://wiki.factorio.com/Console#Remove_all_pollution

Code: Select all

/c game.player.surface.clear_pollution()
thx ^^
exact 0,0 fps^^ still 12
sorry, my english is not the yellow from the egg.... 4give me

keyboardhack
Filter Inserter
Filter Inserter
Posts: 478
Joined: Sat Aug 23, 2014 11:43 pm
Contact:

Re: any tricks to increas FPS / UPS?

Post by keyboardhack »

Koub wrote: 400k active entities, most of them probably moving on belts, I think that's your main UPS killer. Entity update is like 95% of the update cycle.
replace your huge busses with trains, or chained underground belts, and you should see a difference.
I profiles his save to see if that was the case and it's.
The numbers on the right, in the image below, represents the time used in percent on each entity per update.
Image
Last edited by keyboardhack on Wed Oct 25, 2017 12:03 am, edited 1 time in total.
Waste of bytes : P

Jesus8000
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Fri Apr 15, 2016 7:13 pm
Contact:

Re: any tricks to increas FPS / UPS?

Post by Jesus8000 »

oh thx
i already looked at thees numbers but i doesnt understand the meaning.
now its clear how i can fix my save^^
> with underground belts

in milli seconds right?
sorry, my english is not the yellow from the egg.... 4give me

keyboardhack
Filter Inserter
Filter Inserter
Posts: 478
Joined: Sat Aug 23, 2014 11:43 pm
Contact:

Re: any tricks to increas FPS / UPS?

Post by keyboardhack »

Forgot to say but it's in percent. it doesn't add up to 100% because other things like rendering also takes time.
Waste of bytes : P

Zavian
Smart Inserter
Smart Inserter
Posts: 1641
Joined: Thu Mar 02, 2017 2:57 am
Contact:

Re: any tricks to increas FPS / UPS?

Post by Zavian »

How do you generate these profile reports? I've seen them occasionally, but I've never seen anyone mention how they were generated.

Jap2.0
Smart Inserter
Smart Inserter
Posts: 2339
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: any tricks to increas FPS / UPS?

Post by Jap2.0 »

keyboardhack wrote:
Koub wrote: 400k active entities, most of them probably moving on belts, I think that's your main UPS killer. Entity update is like 95% of the update cycle.
replace your huge busses with trains, or chained underground belts, and you should see a difference.
I profiles his save to see if that was the case and it's.
The numbers on the right, in the image below, represents the time used in percent on each entity per update.
Image
In this case 0.16 belt optimizations will help a ton as well.
Zavian wrote:How do you generate these profile reports? I've seen them occasionally, but I've never seen anyone mention how they were generated.
I second this request.
There are 10 types of people: those who get this joke and those who don't.

keyboardhack
Filter Inserter
Filter Inserter
Posts: 478
Joined: Sat Aug 23, 2014 11:43 pm
Contact:

Re: any tricks to increas FPS / UPS?

Post by keyboardhack »

Zavian wrote:How do you generate these profile reports? I've seen them occasionally, but I've never seen anyone mention how they were generated.
The report was created using Visual Studio performance profiler.

The basic steps are:
  • Install Visual Studio Community edition with the C++ parts.
  • Start factorio and run you save.
  • Start visual studios profiler.
  • Select the factorio process and run the profiler.
  • Wait ~10sec and then stop the profiler.
  • Create detailed report, select call tree, follow the method that takes the most time and you are done.

Installing visual studio is probably overkill if you just want to know what entities uses time in your save. It's almost always pretty obviously what uses the most time in the save. In the cases where it's not, it's usually a mod that does something wierd.
Waste of bytes : P

Jesus8000
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Fri Apr 15, 2016 7:13 pm
Contact:

Re: any tricks to increas FPS / UPS?

Post by Jesus8000 »

i never red about the fact, that the belts will be obtimized at 0.16.
edit^^ oh its in the roadmap...i normaly read the fff only
sorry, my english is not the yellow from the egg.... 4give me

Jap2.0
Smart Inserter
Smart Inserter
Posts: 2339
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: any tricks to increas FPS / UPS?

Post by Jap2.0 »

Jesus8000 wrote:i never red about the fact, that the belts will be obtimized at 0.16.
edit^^ oh its in the roadmap...i normaly read the fff only
They talked about it in the Friday facts as well :).
There are 10 types of people: those who get this joke and those who don't.

Jesus8000
Long Handed Inserter
Long Handed Inserter
Posts: 60
Joined: Fri Apr 15, 2016 7:13 pm
Contact:

Re: any tricks to increas FPS / UPS?

Post by Jesus8000 »

a mod would be cool^^ who replaces all belts with underground belts^^
sorry, my english is not the yellow from the egg.... 4give me

Post Reply

Return to “Technical Help”