Performance optimization - post your saves

Post all other topics which do not belong to any other category.
fwyrl
Inserter
Inserter
Posts: 49
Joined: Fri Jul 01, 2016 10:54 pm
Contact:

Re: Performance optimization - post your saves

Post by fwyrl »

Seeing some significant lag when opening a space platform hub with enough cargo bays to hit the maximum inventory size of 65535 slots.

On my machine, the lag starts getting noticeable in an empty world around 30k slots, and bad around 50k.

Interestingly, it looks like this results in a larger FPS hit than UPS hit, as it's the only time I've seen my game with an FPS below my UPS on this hardware, and it's not a small margin - 8 FPS, 60 UPS.

Assuming this is not really considered a problem, and it doesn't have any effects if the inventory isn't open, but in case anyone else wanted a hauler that could move an entire planet, be forewarned - set your schedules before expanding storage to unreasonable degrees. Changing schedule at single digit FPS is painful.
Sopel
Fast Inserter
Fast Inserter
Posts: 106
Joined: Mon Sep 24, 2018 8:30 pm
Contact:

Re: Performance optimization - post your saves

Post by Sopel »

save: https://drive.google.com/file/d/14xGD7n ... sp=sharing, disregard mods, load as vanilla (file uploads on the forum still not working for me on firefox)

copied from discord
[07:47]Sopel:
image1.png
image1.png (18.86 KiB) Viewed 500 times
[07:47]Sopel: I assume these checks are done every tick?
[07:47]Sopel: (this is from a ~90ms per tick save. main thread readings only)
[07:50]Sopel: the new logistic bot thingy also looks quite costly
image2.png
image2.png (26.04 KiB) Viewed 500 times
[07:51]Sopel: most robots that I use are in throughput-limited and not latency-sensitve applications
[07:53]Sopel: love me some dynamic memory allocation taking like 2ms per tick
image3.png
image3.png (30.19 KiB) Viewed 500 times
[07:56]Sopel: space platforms also produce a huge amount of particles, this is without my mod that disables them
image4.png
image4.png (14.12 KiB) Viewed 500 times
[07:59]Sopel: and something that probably won't change but is nevertheless interesting. ref: https://mulark.github.io/tests/test-000 ... 00061.html
image5.png
image5.png (19.86 KiB) Viewed 500 times
[08:00]Sopel: most inserters in practice end up taking from belts, rather than putting on belts. belt->silo, belt->train
[08:08]Sopel: postTransferHook not that big of an issue in practice, but taking a lot of items out of the hub by robots is still very costly, and not due to robots themselves
image6.png
image6.png (26.17 KiB) Viewed 500 times
[08:09]Sopel: that's everything worth noting that I can see now
[08:10]Sopel: oh, one more thing, these are still quite costly for what they do. and I believe update shadow was still doing something even when I removed it in prototypes (though here it's vanilla)
image7.png
image7.png (21.69 KiB) Viewed 500 times
User avatar
Blaster
Inserter
Inserter
Posts: 42
Joined: Sun Mar 27, 2016 9:16 pm
Contact:

Re: Performance optimization - post your saves

Post by Blaster »

Space Platforms get very slow to build constructions when they get big. Take a look at my Fusion Cube for what I mean.

Also, a blueprint is attached for Fusion Cube if you want to build one in a sandbox.
Attachments
fusion_cube.txt
Fusion Cube platform
(834.58 KiB) Downloaded 12 times
SpaceAge.zip
Space Age Save, with the Fusion Cube
(47.52 MiB) Downloaded 12 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14876
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Performance optimization - post your saves

Post by Rseding91 »

Blaster wrote: Sat Jan 11, 2025 9:30 pm Space Platforms get very slow to build constructions when they get big. Take a look at my Fusion Cube for what I mean.

Also, a blueprint is attached for Fusion Cube if you want to build one in a sandbox.
I don't understand what you mean. What's "slow" about it? Is it lagging the game?
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “General discussion”