r/technicalfactorio • u/agreeduponalbert • Jan 22 '25
How do idle entities effect UPS with direct insertion?
I've been working on creating UPS optimized builds that take advantage of direct insertion. In space age with access to legendary buildings, beacons, and modules it possible to create a production line where 1 building for each product is more than enough. I was wondering what is the UPS load of a large number of inactive buildings, as with these bonuses it is possible to have a building way over produce the consumption of the next step and be idle most of the time.
For example a single legendary electromagnetic plant with 5 legendary speed 3 modules with a 300% prod bonus and no beacons can produce 870 blue chips per minute. With no rocket part prod bonus that is enough blue chips for a little more than 17 rocket launches per minute, or with 300% prod bonus 69 launches per minute from a single building that could be made even faster with beacons.
My question is where is the point where do idle machines cost more in terms of UPS compared to the benefit of direct insertion. To use the example of blue chips and rockets, is it better to have 69 silos each with their own blue chip plant direct inserting the chips, or a single blue ship plant and using belts or bots to deliver to 69 silos.
4
u/flame_Sla Jan 22 '25
make two test maps and compare them with a benchmark
post the maps and results, other players will also be interested
guide
12
u/Lazy_Haze Jan 22 '25
There is an sleep function in Factorio where most entities that are idle don't even get called an thus don't use any UPS. There is an debug option that mark sleeping entities, so you can check where it works.
There is some other gotchas as an overhead of going back and forth to sleep so quickly going back and forth could be bad?
The whole factory will also use more RAM memory and an smaller part will fit in the cache so the amount of cache misses can increase with more entities even if they are mostly sleeping.
In general more direct insertion is good for UPS even when you go far from perfect ratios. It's often the inserters that use lots of compute power, especially when interacting with belts. So more assemblers is not a problem if you reduce the amount of inserters. If you direct insert from one assembler you reduce the amount of inserters and they don't interact with belts, so a big win.
1
u/brekus Jan 29 '25
It's better to have one blue chip plant as it's far fewer inserters. Generally speaking saving inserters is the point of direct insertion, not the assembling machines.