Page 1 of 1

Help figuring out why gamespeed is low

Posted: Tue Dec 17, 2024 11:31 am
by roy-t
I'm currently playing a Space Age game with a couple of friends. We have put quite some hours in our base, but we're nowhere near the kind of megabases that I see shared here and on Youtube and Reddit. Still my friend's PCs are having trouble running at close to 60 ups. Even my 9900K can barely make 65 if I increase the gamespeed, so I am close to becoming a bottleneck as well.

It looks like the game is CPU limited, as foccusing on a complete black space doesn't increase the UPS by more than a few milliseconds.

I've included a screenshot, the logs, and save as described here. Since it looks like most of the time is spend on "Entities" I will also include the `show-entity-time-usage` screenshot at the bottom of this post.

Looks like both Unit and SegmentedUnit take up quite some time. But there are not that much biters? (See last screenshot). Performing the console command `/c game.forces["enemy"].kill_all_units()` does bring up my UPS from 60 to 90. With Units then taking around 0.07 and SegmentedUnits still unaffacted at around 1.5.

Edit: after playing with a few console commands I think it looks like there are 26719 entities on the enemy force.
12-17-2024, 12-22-14.png
12-17-2024, 12-22-14.png (330.4 KiB) Viewed 497 times
12-17-2024, 12-27-05.png
12-17-2024, 12-27-05.png (229.07 KiB) Viewed 497 times
12-17-2024, 12-32-47.png
12-17-2024, 12-32-47.png (518.1 KiB) Viewed 494 times

Re: Help figuring out why gamespeed is low

Posted: Tue Dec 17, 2024 1:27 pm
by Xorimuth
In case you hadn’t realised, SegmentedUnits are exclusively Demolishers on Vulcanus

Re: Help figuring out why gamespeed is low

Posted: Tue Dec 17, 2024 2:26 pm
by roy-t
That's so weird, the game then spends 1.5ms (about 10% of its frame budget) on I think <20 demolishers?

Re: Help figuring out why gamespeed is low

Posted: Sat Dec 21, 2024 11:15 pm
by roy-t
To be able to clean-up our mess in game. I've created a small mod (artificial-tree-soil) that will allow us to better combat pollution after we kill all the biters in a not so-game-breaking/cheaty way.

Re: Help figuring out why gamespeed is low

Posted: Sat Dec 21, 2024 11:54 pm
by Jap2.0
roy-t wrote: Tue Dec 17, 2024 2:26 pm That's so weird, the game then spends 1.5ms (about 10% of its frame budget) on I think <20 demolishers?
120275

Re: Help figuring out why gamespeed is low

Posted: Fri Jan 24, 2025 9:40 am
by roy-t
Thanks for that link, I really hope the fix in 33 gets my friends back at 60fps :D

Re: Help figuring out why gamespeed is low

Posted: Fri Jan 24, 2025 2:40 pm
by Rseding91
roy-t wrote: Tue Dec 17, 2024 2:26 pm That's so weird, the game then spends 1.5ms (about 10% of its frame budget) on I think <20 demolishers?
The screenshot shows 74 demolishers - each of which is made up of 25~ different entity pieces for something like 1850 total moving pieces.