Page 1 of 1

Low FPS/UPS despite CPU or memory isn't fully used

Posted: Mon Mar 19, 2018 4:09 am
by thip
When I started game, I was at 60. But now (later in game) I'm at 19 FPS/UPS.

My CPU is at 30%.
Memory used 6GB (out of 16 GB).

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Mon Mar 19, 2018 5:42 am
by Zavian
Note that most of factorio's code is single threaded, so most of each tick it only utilises one cpu core at a time.

Please provide a screenshot with show-time-usage selected. (That will show how much time each of the major sections of code take to process each tick). Also attach a factorio.log (see https://wiki.factorio.com/Log_file).

Some mods are known to use lots of cpu time.

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Mon Mar 19, 2018 5:57 am
by Koub
[Koub] Moved to Technical help
Logs, a save file, and the debug informations onscreen can be of some help knowing where your UPS are going.
I can see you're using warehouse mod. These types of mods are known to degrade performance.

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Mon Mar 19, 2018 6:38 am
by thip
show-time-usage

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Mon Mar 19, 2018 6:42 am
by thip
I see that now! It is that Loader redux MOD.

When I disabled it I'm back at 60/60! :idea:

That's sucks! I love that loader.

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Mon Mar 19, 2018 6:47 am
by thip
And now I'm confused. :?

I disabled loader MOD. But my loaders weren't removed. They just changed graphic. I can still used them and build them. Despite MOD being disabled and I'm being back at 60/60. WHat does it mean.

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Mon Mar 19, 2018 6:51 am
by thip
Only they no loger work for trains. :evil: :evil: :evil:

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Mon Mar 19, 2018 6:56 am
by impetus maximus
loader is vanilla prototype, but disabled needing mods/console commands to enable them.

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Mon Mar 19, 2018 7:54 am
by thip
impetus maximus wrote:loader is vanilla prototype, but disabled needing mods/console commands to enable them.

And they don't work for trains? :shock:

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Mon Mar 19, 2018 8:14 am
by batorfly
I think Miniloader is UPS-friendly. Just try out this, or other mods with loaders if you want 1x2 loader, not the 1x1. I don't know about in-game loaders tho.

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Mon Mar 19, 2018 8:22 am
by thip
batorfly wrote:I think Miniloader is UPS-friendly. Just try out this, or other mods with loaders if you want 1x2 loader, not the 1x1. I don't know about in-game loaders tho.
Yep, I just installed that MOD. :)

I only need to double speed of "express mini loader". To 84 items per second. (so it matches my purple belts) I was looking into files, but I can't find any Speed value in this mod.

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Mon Mar 19, 2018 11:58 am
by orzelek
I don't see transport lines in your time use output.
Switching to 0.16 should also help with performance.

You won't be able to increase speed of miniloaders - I recall it's game engine limitation with inserters that those loaders use to handle trains (can't pick up more then 1 item per tick with inserter).

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Tue Mar 20, 2018 11:12 pm
by Terca
Same problem here
gtx 765m i5 2.5ghz

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Tue Mar 20, 2018 11:19 pm
by impetus maximus
thip wrote: And they don't work for trains? :shock:
as far as i know and have tested, no they don't work on trains. still a nice boost from belt > loader> buffer chest > stack inserter > cargo wagon.

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Wed Mar 21, 2018 1:18 pm
by Rseding91
Terca wrote:Same problem here
gtx 765m i5 2.5ghz
You've simply built beyond what the game can process. Nothing out of the normal there.

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Wed Mar 21, 2018 6:16 pm
by Terca
Rseding91 wrote:
Terca wrote:Same problem here
gtx 765m i5 2.5ghz
You've simply built beyond what the game can process. Nothing out of the normal there.
Thx for help

nice game
it cost 20 Euros
Steam ====> my games -----> Factorio----> Uninstall

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Wed Mar 21, 2018 10:13 pm
by impetus maximus
Terca wrote: Thx for help

nice game
it cost 20 Euros
Steam ====> my games -----> Factorio----> Uninstall
if you follow Factorio (friday facts), you will see Wube are constantly optimizing the game. every player's machine will have a limit on how large one can make a factory.
i guess it's human nature to 'go big'. devs optimize only to have people build larger and reach that larger limit and so on.

the game is perfectly playable on slower hardware. you just have to not go as big. there are methods to help game speed.
  • enemies that are in pollution take up quite a bit of processing power. if you disable their spawns that should help. or kill all of them.
  • less power networks will help UPS (updates per second). ideally only have a single electric network without electric switches etc.
  • if you have lots of belts or long stretches of them, switch to using trains. if you are on 0.15* try 0.16.* in the beta tab. belts got optimized in 0.16.
  • bots are best for UPS, but need separate logistic networks to be best utilized.
bots are not as fun as belts/trains in my opinion.
personally i think Wube does a great job. one of the best developers i've ever seen as far as optimizing goes.
companies like Adobe could learn a lot from Wube practices. :P

Re: Low FPS/UPS despite CPU or memory isn't fully used

Posted: Fri Mar 01, 2019 12:54 pm
by nuhll
Terca wrote:
Wed Mar 21, 2018 6:16 pm
Rseding91 wrote:
Terca wrote:Same problem here
gtx 765m i5 2.5ghz
You've simply built beyond what the game can process. Nothing out of the normal there.
Thx for help

nice game
it cost 20 Euros
Steam ====> my games -----> Factorio----> Uninstall
2,5ghz, thats what counts, your pc is just too slow. I have an old i7 6700k, OCed to 4,5ghz and i never hit any performance issues, and i played well over 1300 hours.