Help figuring out why gamespeed is low

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
roy-t
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Jan 31, 2020 11:36 am
Contact:

Help figuring out why gamespeed is low

Post 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 491 times
12-17-2024, 12-27-05.png
12-17-2024, 12-27-05.png (229.07 KiB) Viewed 491 times
12-17-2024, 12-32-47.png
12-17-2024, 12-32-47.png (518.1 KiB) Viewed 488 times
Attachments
crazy-jori-2024-47.zip
(71.69 MiB) Downloaded 18 times
factorio-current.log
(8.73 KiB) Downloaded 20 times
Xorimuth
Filter Inserter
Filter Inserter
Posts: 722
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Re: Help figuring out why gamespeed is low

Post by Xorimuth »

In case you hadn’t realised, SegmentedUnits are exclusively Demolishers on Vulcanus
My mods
Content: Lunar Landings | Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings
roy-t
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Jan 31, 2020 11:36 am
Contact:

Re: Help figuring out why gamespeed is low

Post by roy-t »

That's so weird, the game then spends 1.5ms (about 10% of its frame budget) on I think <20 demolishers?
roy-t
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Jan 31, 2020 11:36 am
Contact:

Re: Help figuring out why gamespeed is low

Post 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.
Jap2.0
Smart Inserter
Smart Inserter
Posts: 2435
Joined: Tue Jun 20, 2017 12:02 am
Contact:

Re: Help figuring out why gamespeed is low

Post 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
There are 10 types of people: those who get this joke and those who don't.
roy-t
Burner Inserter
Burner Inserter
Posts: 8
Joined: Fri Jan 31, 2020 11:36 am
Contact:

Re: Help figuring out why gamespeed is low

Post by roy-t »

Thanks for that link, I really hope the fix in 33 gets my friends back at 60fps :D
Rseding91
Factorio Staff
Factorio Staff
Posts: 15006
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Help figuring out why gamespeed is low

Post 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.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Technical Help”