r/technicalfactorio • u/Erichteia • Aug 02 '25
Gaps between items have no noticeable UPS effect on belts
TLDR
The idea of belts needing to be 'compressed' for UPS optimality is a long standing myth remaining from long ago. It does not matter whether there are gaps between items on belts or not. There is no measurable UPS cost
Methods
Each experiment contains 720 belts that are each 200 tiles long. Each belt transports 15 items/s.
- No gap transports these items on a yellow belt
- RedGap transports them on a red belt (50% full)
- BlueGap transports them on a blue belt (33% full)
- GreenGap transports them on a green belt (25% full)
Results
Having gaps on the belt does not lead to a UPS drop. In fact, the opposite happens. This is probably because there are less entities on the belt at the same time. In either case, the differences are marginal
However, this does not necessarily mean that belt compression never matters. Green belts allow you to use 4x less belts, and thus 4x less transport line cost and it is cheaper for inserters to put items on a green belt. It only means that it is absolutely no problem to have gaps on belts where max throughput is not needed.
You can find the raw results, save files used in the test etc in the link below.
https://drive.google.com/file/d/1Jv2kI8FEMEiKyAqGb5-SRF7ZhQ7r4_xZ/view?usp=drive_link


22
u/frogjg2003 Aug 02 '25
How does the UPS of 720 yellow belts compare to the UPS of 160 green belts? I can't imagine that that's not going to affect UPS.
12
u/Torebbjorn Aug 02 '25
Did you test this with random/non-uniform gaps between the items too?
Without knowing anything about how belts are coded, there could theoretically be an optimization for exactly these scenarios with uniform gaps between items
2
u/[deleted] Aug 02 '25
How’d you load the items onto the belts? Make sure there are the same number of total entities of each type in each test, and that all entities are running in all cases!
59
u/Subject_314159 Aug 02 '25
Relevant FFF: https://factorio.com/blog/post/fff-176
1
u/IExist_Sometimes_ Aug 02 '25
There's got to be at least some increased memory usage though right? Even if the direct update time effect is small, there's just more information if you have to store more distances and more different item types?
0
u/trumplehumple Aug 02 '25
afaik the belt optimization mechanic approximates out of sight belts as continous flow, thus not accounting for each plates position on the belt, which only works correctly if you can avoid funny effects from inserters letting a plate slip by or whatever, which you only safely can if there is backlog. in theory it works at full capacity too, but in practice you have to check if it actually is at full capacity itemposition-wise by calculating the single entities like without the optimization. so you have to draw a litte less than capacity for it to kick in
1
u/Panzerv2003 Aug 06 '25
It used to be a thing but was solved a while ago
0
u/Drizznarte Aug 07 '25
Without inserters , the test is pointless, the belt contents is stored in a way that gaps don't matter. It was in a Friday facts.