The issue is made worse by the most extreme case of over-signaling I have ever seen in your save. If you removed 90% of the signals it would probably drastically improve the performance.
Performance optimization - post your saves
Re: Performance optimization - post your saves
If you want to get ahold of me I'm almost always on Discord.
Re: Performance optimization - post your saves
Did I just win the over-signaling competition? 1st place
Anyway, thx again. And yes I noticed a performance drain previously when the trains were actually running. I used that many signals to improve throughput in/around factory and had the feeling that it worked. Ofc it is a nightmare regarding performance.
Re: Performance optimization - post your saves
I think i saw this save file already winning a similar competition when 1.1.0 was released, it was about transport belt groups performance because this save file had one insanely large transport line group inside.... So that would be another winning price in a category of "devs did not think someone would ever do that"zer0t wrote: ↑Wed Dec 06, 2023 9:32 pm Did I just win the over-signaling competition? 1st place
Anyway, thx again. And yes I noticed a performance drain previously when the trains were actually running. I used that many signals to improve throughput in/around factory and had the feeling that it worked. Ofc it is a nightmare regarding performance.
Re: Performance optimization - post your saves
Trains have a breaking distance that you can observe by signals switching from green to yellow in front of the train. That sets the minimum separation between trains. If your signals are that distance apart then throughput isn't limited by signals. If you have more than 2 yellow signals (outside of crossings obviously) then that's too many signals. If you have 2 and the train isn't about to cross the first one that's still more than you need.zer0t wrote: ↑Wed Dec 06, 2023 9:32 pmDid I just win the over-signaling competition? 1st place
Anyway, thx again. And yes I noticed a performance drain previously when the trains were actually running. I used that many signals to improve throughput in/around factory and had the feeling that it worked. Ofc it is a nightmare regarding performance.
Another way you can reduce train load is to make bigger trains. Make big ore haulers for example.
Re: Performance optimization - post your saves
Yeah it was the same save file (older version). I'll try not to create another edge case with this save fileboskid wrote: ↑Wed Dec 06, 2023 9:52 pm I think i saw this save file already winning a similar competition when 1.1.0 was released, it was about transport belt groups performance because this save file had one insanely large transport line group inside.... So that would be another winning price in a category of "devs did not think someone would ever do that"
Thx for input. I'll check this as soon as the factory is running againmrvn wrote: ↑Wed Dec 06, 2023 9:55 pm Trains have a breaking distance that you can observe by signals switching from green to yellow in front of the train. That sets the minimum separation between trains. If your signals are that distance apart then throughput isn't limited by signals. If you have more than 2 yellow signals (outside of crossings obviously) then that's too many signals. If you have 2 and the train isn't about to cross the first one that's still more than you need.
Another way you can reduce train load is to make bigger trains. Make big ore haulers for example.
-
- Manual Inserter
- Posts: 3
- Joined: Mon Dec 18, 2023 4:22 pm
- Contact:
Re: Performance optimization - post your saves
My first post about my favorite game. I love it, but ... is my PC too slow?
My endless Map with many Robots, Rail Signals and Trains ... one try without a Belt:
https://drive.google.com/file/d/1ju-PMU ... sp=sharing
How many fps do you have?
My endless Map with many Robots, Rail Signals and Trains ... one try without a Belt:
https://drive.google.com/file/d/1ju-PMU ... sp=sharing
How many fps do you have?
Re: Performance optimization - post your saves
Just barely 60 FPS/UPS.ganz_entspannt wrote: ↑Mon Dec 18, 2023 4:36 pm My first post about my favorite game. I love it, but ... is my PC too slow?
My endless Map with many Robots, Rail Signals and Trains ... one try without a Belt:
https://drive.google.com/file/d/1ju-PMU ... sp=sharing
How many fps do you have?
If you want to get ahold of me I'm almost always on Discord.
-
- Manual Inserter
- Posts: 3
- Joined: Mon Dec 18, 2023 4:22 pm
- Contact:
Re: Performance optimization - post your saves
OK thanks. I have 60fps too, but for me it regularly drops to 35fps. Don't you have any break-ins?
It bothers me. I'm afraid I've reached a limit. I wanted to expand even further.
Is a faster CPU worth it (currently AMD 7 5800X3D)? Is it a fast Pentium or are there planned optimizations to increase performance. This score is hardly any fun anymore.
Sorry for my bad English, Google Translate.
It bothers me. I'm afraid I've reached a limit. I wanted to expand even further.
Is a faster CPU worth it (currently AMD 7 5800X3D)? Is it a fast Pentium or are there planned optimizations to increase performance. This score is hardly any fun anymore.
Sorry for my bad English, Google Translate.
Re: Performance optimization - post your saves
Bots, trains and biters is what's killing your performance. You're using bots to carry ores long (for bots) distances to trains that run on congested routes to depots that use bots to carry them even longer distances to the smelters. You're averaging well over forty thousand bots in the air. Cut the bot route lengths and train traffic *dramatically* with longer trains serving closer miners and smelters either on site or anyway well outside the base core. Ship the plates in. You're in memory-constrained territory, this base is pushing your memory bus as hard as it'll go. In this territory a faster cpu won't help. Faster memory would help some, going from 3200 to 3600 with the spendy low-latency ram if you haven't already.
-
- Manual Inserter
- Posts: 3
- Joined: Mon Dec 18, 2023 4:22 pm
- Contact:
Re: Performance optimization - post your saves
Maybe a peaceful run without biters would have longer performance. I didn't even think about the memory. I have F4-3600c16 G.Skill. Switch to DDR5? Then this idea of a base is at its limit.
Thanks for this idea. I was really wondering about the performance without having anything to compare it to. That was the reason for coming to the forum. Thank you.
Thanks for this idea. I was really wondering about the performance without having anything to compare it to. That was the reason for coming to the forum. Thank you.
Re: Performance optimization - post your saves
Here is a map of landmines and combat robots belonging to opposite forces. Nothing happens but the lag is intense.
viewtopic.php?f=23&t=111259
viewtopic.php?f=23&t=111259
Re: Performance optimization - post your saves
Such synthetic save files are not interesting, they do not represent a real use cases. It just says "land mines are slow" and i know that land mines are slow. Land mines are updating when there are enemies around and in this case for obvious reasons you have enemies around (the combat robots), so basically all land mines are kept active. Every active landmine does an entity search around itself every 10 ticks to find if the enemy (that made it active or anything else) is close enough to cause land mine to blow off. This save file is literally a lot of entities doing slow things each. I cannot reduce amount of entities since that is controlled by a player and i cannot make it not do its slow thing because it would not blow off causing them useless.Atraps003 wrote: ↑Wed Feb 14, 2024 3:24 am Here is a map of landmines and combat robots belonging to opposite forces. Nothing happens but the lag is intense.
viewtopic.php?f=23&t=111259
The only possible optimizations possible to apply around "when enemy is around" logic were already applied for 2.0 but your save file is unlikely to benefit from that because there are combat robots almost everywhere. This case is just bad because those combat robots make land mines active while not being able to trigger them to blow off because of collision mask condition.
Re: Performance optimization - post your saves
Here is an older 4k SPM save of mine - I had huge performance problems with my old potato, but even with a new high end PC it's not too great.
https://derpumu.de/factorio/megabase202 ... 1.1_EE.zip
- idling, it is just about 60 fps, but seems close to dropping below that.
- research artillery range (I added Editor Extensions to the save to easily test that), watch the fireworks, and fps drops to 40 over the next minutes as biters pack their stuff to start the long treck towards my walls
https://derpumu.de/factorio/megabase202 ... 1.1_EE.zip
- idling, it is just about 60 fps, but seems close to dropping below that.
- research artillery range (I added Editor Extensions to the save to easily test that), watch the fireworks, and fps drops to 40 over the next minutes as biters pack their stuff to start the long treck towards my walls
Re: Performance optimization - post your saves
Why does this save use ~22 gb of memory when loaded?
- Attachments
-
- 22GB_RAM.zip
- (62.86 MiB) Downloaded 77 times
Re: Performance optimization - post your saves
The player kirapple has made copies of copies of copies of blueprint books and stored them all in their inventory. You can use the command /open kirapple and then delete each book to reduce memory usage back to "normal"
Based off near every blueprint being the same I can only assume they were doing it to troll and I would ban them as well.
If you want to get ahold of me I'm almost always on Discord.
Re: Performance optimization - post your saves
Thanks for looking. Is there a way to know if kirapple made the books or if someone else did and dumped them on kirapple?
Re: Performance optimization - post your saves
There is not.
If you want to get ahold of me I'm almost always on Discord.
-
- Manual Inserter
- Posts: 1
- Joined: Fri Jul 26, 2024 1:43 pm
- Contact:
Train Repathing performance
I have a save file that i quit a while ago because of performance. I was about 900 hours in with 39% of research done. I wanted to complete a PY run with every intermediate (those used in multiple recipe) having a train station but with only the base game, no LTN or Cybersyn.
Trains: 1130
Train station: 5372
UPS: between 24-26
My train take 2/3 of the update time
https://drive.google.com/file/d/1FPyvtX ... drive_link
pic
Some spec: Trains: 1130
Train station: 5372
UPS: between 24-26
My train take 2/3 of the update time
time
But 95% of those repath are not required. The train go in a straight line and wont encounter a fork until about 300-400 tile later. It should be scheduled for a repath. But the repath should not happen until he really need to figure out were he want to go for an optimal path… a fork
train
Link to my saved filehttps://drive.google.com/file/d/1FPyvtX ... drive_link
- distortions864
- Fast Inserter
- Posts: 125
- Joined: Thu Apr 20, 2017 12:56 am
- Contact:
Re: Performance optimization - post your saves
https://m45sci.xyz/u/fact2/archive/
This is M45's multiplayer map archive.
Just in the 1.1 directory, there are over 2000 maps.
You can even sort by file size.
If you want all of them in one file:
https://archive.org/details/M45-Map_Archive-2017-2024 (40GB bz2)
This is M45's multiplayer map archive.
Just in the 1.1 directory, there are over 2000 maps.
You can even sort by file size.
If you want all of them in one file:
https://archive.org/details/M45-Map_Archive-2017-2024 (40GB bz2)
M45 Science: A Factorio Community since 2017! https://m45sci.xyz/
-
- Burner Inserter
- Posts: 10
- Joined: Mon Jul 15, 2024 9:49 pm
- Contact:
Re: Performance optimization - post your saves
This is a copy of the Team 13 LAN server save that we continued to play. UPS usually drops to around 50 when the interstellar ship is mid-transit on my PC
- Attachments
-
- backup-fixed-2.zip
- (89.93 MiB) Downloaded 47 times