Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
-
- Manual Inserter
- Posts: 2
- Joined: Thu Oct 31, 2024 4:13 am
- Contact:
Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
When you blow up asteroids, they become several chunks, this slows the game down to 47 fps for good computers and servers down to a solid 30 UPS.
Many players are unable to connect and several seem to run 5 ups/fps even in Nauvis when we started this trip.
Server UPS measured using the assembler time recipe method is 33 UPS.
A possible fix is to combine asteroid chunks into stacks like in minecraft, auto-stack items together.
Logs and save file attached
Save file:
https://drive.google.com/file/d/1_JN-KC ... sp=sharing
Many players are unable to connect and several seem to run 5 ups/fps even in Nauvis when we started this trip.
Server UPS measured using the assembler time recipe method is 33 UPS.
A possible fix is to combine asteroid chunks into stacks like in minecraft, auto-stack items together.
Logs and save file attached
Save file:
https://drive.google.com/file/d/1_JN-KC ... sp=sharing
- Attachments
-
- factorio-current.log
- (52.02 KiB) Downloaded 20 times
-
- Fast Inserter
- Posts: 222
- Joined: Sat Oct 07, 2023 6:44 am
- Contact:
Re: Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
...are those emergency land mines on your space ship?!
-
- Manual Inserter
- Posts: 2
- Joined: Thu Oct 31, 2024 4:13 am
- Contact:
Re: Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
they are a cheap way to get rid of small and medium asteroids. Useless against huge asteroids.
Re: Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
Thanks for the report however this is not a bug. Nothing here is crashing, erroring, or not working how it's supposed to. While yes, the platform is taking a decent amount of update time - it's entirely pointless to fly head-first towards the shattered planet and ignore 99.99% of the chunks along the way. The platform could have turned back long ago given it's not doing anything useful.
If you want to get ahold of me I'm almost always on Discord.
Re: Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
As a side note, I did find a slight improvement for asteroid chunk performance. For the next release they're roughly 29% faster.
If you want to get ahold of me I'm almost always on Discord.
Re: Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
This is a problem a lot sooner than you think. There are many more chunks apart from the Promethium and the game just starts lagging. Funny you say that a part of the game which makes the game much less playable is not a bug. I know it's not a bug, this is by design, but if it makes the game unplayable then it should be changed/optimized.Rseding91 wrote: ↑Thu Oct 31, 2024 12:38 pm Thanks for the report however this is not a bug. Nothing here is crashing, erroring, or not working how it's supposed to. While yes, the platform is taking a decent amount of update time - it's entirely pointless to fly head-first towards the shattered planet and ignore 99.99% of the chunks along the way. The platform could have turned back long ago given it's not doing anything useful.
I attach a lot smaller setup than the authors of this post, which is also dropping below 60 UPS on dedicated server.
Re: Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
Someone even created a mod, released 4 hours ago, for this exact problem. Just a confirmation this issue is still relevant.
https://mods.factorio.com/mod/UPS_Frien ... rom=search
https://mods.factorio.com/mod/UPS_Frien ... rom=search
Re: Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
There’s nothing else to do here. There have already been several rounds of optimizations for asteroids, asteroid chunk, and overall platform performance. When an opportunity shows up to improve on we do and already did.
No matter how much we optimize things you can just copy paste and build twice as much in an instant - you will always hit the limit of what hardware can do.
No matter how much we optimize things you can just copy paste and build twice as much in an instant - you will always hit the limit of what hardware can do.
If you want to get ahold of me I'm almost always on Discord.
Re: Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
This mod makes no sense as it shows projectile performance when asteroid chunks do not interact with projectiles in any way. Also it’s showing the explosion entity as taking any amount of time which indicates to me the mod developer has a very low end PC.gujarat6 wrote: ↑Wed Nov 27, 2024 12:29 pm Someone even created a mod, released 4 hours ago, for this exact problem. Just a confirmation this issue is still relevant.
https://mods.factorio.com/mod/UPS_Frien ... rom=search
If you want to get ahold of me I'm almost always on Discord.
Re: Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
I managed to further improve asteroid chunk update performance of the attached save file by 35% (0.8 ms overall on my machine).
Re: Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
I also found an optimization related to asteroid chunk creation where asteroid collectors were doing several O(N) checks which got simplified to near O(1). It reduced projectile impact cost from 3.5~ MS/tick to 0.4 MS/tick in the example save I was testing with.
If you want to get ahold of me I'm almost always on Discord.
Re: Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
When running like a bigger ship to shattered and a couple of smaller ones I'm seeing asteroid collectors going up to 5 entity update on a 5950X. Seems a bit much, but only you can tell me if it's possible to do anything about that.
Re: Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
It's always useful to share such save files even if we couldn't do anything about it.
Re: Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
Here you go: https://drive.google.com/file/d/1_TBFFl ... sp=sharing
Re: Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
When the ship is on route to the shattered planet, asteroid collectors take up like 40% of the whole game update.
Re: Endgame trip to Shattered Planet is incredibly laggy [Spoiler]
Looking at that save, the time spent seems to be linear with the number of asteroid chunks passing a given collectors path.
If you want to get ahold of me I'm almost always on Discord.