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.
Performance optimization - post your saves
Re: Performance optimization - post your saves
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: [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 [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 [07:56]Sopel: space platforms also produce a huge amount of particles, this is without my mod that disables them [07:59]Sopel: and something that probably won't change but is nevertheless interesting. ref: https://mulark.github.io/tests/test-000 ... 00061.html [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 [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)
copied from discord
[07:47]Sopel: [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 [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 [07:56]Sopel: space platforms also produce a huge amount of particles, this is without my mod that disables them [07:59]Sopel: and something that probably won't change but is nevertheless interesting. ref: https://mulark.github.io/tests/test-000 ... 00061.html [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 [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)
Re: Performance optimization - post your saves
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.
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
Re: Performance optimization - post your saves
I don't understand what you mean. What's "slow" about it? Is it lagging the game?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.
If you want to get ahold of me I'm almost always on Discord.