[2.0.13] Performance drops when placing belts to long belt reader (drop/UPS/FPS/bad)

Bugs that are actually features.
fonn
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Nov 01, 2024 9:38 am
Contact:

[2.0.13] Performance drops when placing belts to long belt reader (drop/UPS/FPS/bad)

Post by fonn »

I am experiencing FPS/UPS issues when placing a belt connected to the circuit network with the condition Hold(all Belts) true. The whole belt is ca. 5k tiles long. And i experienced having that issue after around 4k belts placed.
I am running a 7800x3d CPU and a 7800xt GPU + 6000hz 32gb ddr5 ram, so hardware shouldnt be the issue.
Im am currently only on blue science with 60spm
Attachments
SPACE_AGE - Kopie.zip
game file
(12.36 MiB) Downloaded 11 times
factorio-current.log
log-file
(8.18 KiB) Downloaded 9 times
time usage display, after placing belts
time usage display, after placing belts
20241101104102_1.jpg (984.19 KiB) Viewed 528 times
whole base
whole base
20241101104656_1.jpg (487.75 KiB) Viewed 528 times
fonn
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Nov 01, 2024 9:38 am
Contact:

Re: [2.0.13] FPS/UPS drops when placing belts

Post by fonn »

It also happens when rotating a connected belt a lot. Tried placing belts while disabling the read items circuit condition, zero lag is caused.
So the condition to read what items are on the belt is causing this.
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3234
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: [2.0.13] FPS/UPS drops when placing belts

Post by BlueTemplar »

And i experienced having that issue after around 4k belts placed.
Welcome to the megabase stage of the game : you cannot ignore UPS limits any more.
BobDiggity (mod-scenario-pack)
User avatar
BlueTemplar
Smart Inserter
Smart Inserter
Posts: 3234
Joined: Fri Jun 08, 2018 2:16 pm
Contact:

Re: [2.0.13] FPS/UPS drops when placing belts

Post by BlueTemplar »

BTW, this feature got optimized... but I guess not in the case of a single loooongbelt ?
BobDiggity (mod-scenario-pack)
fonn
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Nov 01, 2024 9:38 am
Contact:

Re: [2.0.13] FPS/UPS drops when placing belts

Post by fonn »

It could be, but it wonders me that nobody else has run into this issue, I culdnt find a single bug-report about it.
BlueTemplar wrote: Fri Nov 01, 2024 1:26 pm
Welcome to the megabase stage of the game : you cannot ignore UPS limits any more.
Yeah I think I schould scale down to like 1 spm
User avatar
LCStark
Fast Inserter
Fast Inserter
Posts: 194
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

Re: [2.0.13] FPS/UPS drops when placing belts

Post by LCStark »

I also had this issue when I was using a few thousand long belt with read belt contents - hold (all), plus it caused the game to stutter every several seconds. Though I assumed it's not a bug per se, but an issue of scale. If it could be optimised to work with long belts I'd be happy, but I'm not gonna hold my breath for it.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14718
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.13] FPS/UPS drops when placing belts

Post by Rseding91 »

Thanks for the report. This is not a bug but a simple limitation of the feature. It's cost is O(N) on the number of belts and as you keep adding/changing/removing them from the large belt you get to experience it over and over again.
If you want to get ahold of me I'm almost always on Discord.
User avatar
atomizer
Fast Inserter
Fast Inserter
Posts: 121
Joined: Sat Sep 22, 2018 3:18 pm
Contact:

Re: [2.0.13] FPS/UPS drops when placing belts

Post by atomizer »

I am curious, for those that do this - what is the actual value of having a reader on such a long belt?
User avatar
LCStark
Fast Inserter
Fast Inserter
Posts: 194
Joined: Thu Jan 28, 2021 5:04 pm
Contact:

Re: [2.0.13] FPS/UPS drops when placing belts

Post by LCStark »

atomizer wrote: Sun Nov 03, 2024 12:18 pm I am curious, for those that do this - what is the actual value of having a reader on such a long belt?
I've tried using it with an automatic defence wall around my entire base. It read if the belt had enough ammo altogether, so it could put more ammo on the belt if needed without filling the entire belt lane. There's a ton of better designs and different solutions for this, but it was a fun one to try out.
fonn
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Nov 01, 2024 9:38 am
Contact:

Re: [2.0.13] FPS/UPS drops when placing belts

Post by fonn »

atomizer wrote: Sun Nov 03, 2024 12:18 pm I am curious, for those that do this - what is the actual value of having a reader on such a long belt?
I also just wanted to have a single belt around my base for ammo. Thought with the new feature it would be cool to just read the contents.
Post Reply

Return to “Not a bug”