FPS drop to 5, when power drops from green to yellow, recovers fps when power recovers.
Running 0.15.12
[0.15.12] [kovarex] Huge FPS drop when low on power late game
[0.15.12] [kovarex] Huge FPS drop when low on power late game
- Attachments
-
- Factorio-FPS-Drop-LowPower.png (1.96 MiB) Viewed 2026 times
Last edited by DDDGamer on Thu May 25, 2017 2:10 pm, edited 1 time in total.
Re: []0.15.12 Huge FPS when low on power late game
I saw something similar with 0.14. I suspect that your cpu is only just able to keep up with the server when everything is running normally. Then when power drops from green to yellow, and all those beacons (and everything else) are suddenly only partially powered, meaning you cpu has to do more work to work out the effective speed/bonus of every assembler/beacon/inserter every tick. At that point it is no longer able to keep up with the server, and hence starts falling behind and drops frames in an attempt to keep up/catch up.
Re: []0.15.12 Huge FPS when low on power late game
Can you provide the save please?
Re: [0.15.12] Huge FPS drop when low on power late game
Thanks.DDDGamer wrote:30mb save, running a softmod as well
https://drive.google.com/file/d/0B8JCku ... sp=sharing
It wasn't technically a bug, but it was worth fixing.
I optimised the Beacons generally (not only for this case), so instead of updating every tick, they update once per 120 ticks. This means almost 120X reduction of beacon update times.
In your save, I was able to get the update time (when power was not full) from approximately 12ms to approximately 7ms.
For 0.15.14
Edit: But whenever you can't keep up with the server the FPS goes down dramatically so the client can try to catch up with him.
Re: [0.15.12] [kovarex] Huge FPS drop when low on power late game
Thanks for such a timely fix, you guys are awesome!
Yeah i realizes wasnt a "bug" but a performance issue, hope this was an ok place to report it.
I realize optimizations are hard, thanks again.
Yeah i realizes wasnt a "bug" but a performance issue, hope this was an ok place to report it.
I realize optimizations are hard, thanks again.