#[0.0.8-rc3] Severe lag with 150K+ buildings

42 messages · Page 1 of 1 (latest)

sterile roost
#

Game worked just fine until I had about 150K buildings and was expanding my foundations. I currently have 757K buildings, and I have to play at 3-6 FPS, even with graphic settings to 'Minimum' option. I was able to play at with 'Maximum' settings until this point, and would consistently get over 30 FPS.

Additionally, saving the game takes on average 15 seconds, and fully locks up the game, to the point if I click in the game, it says shapez2 is not responding, then comes back.

mint ginkgo
#

Could you share more information about your setup? (I.e. CPU, GPU etc)

sterile roost
#

Only occurs when I have more than ~200k building. When I start a fresh game, I can plan on Max graphic settings for wuite a while, once that 200k+ building count comes in, not even going to ultra low works. If I pause the game, and turn on graphics to Max, I can move around, build, etc.. with no issues, just as if I first started the game. I currently have over 800k buildings, and anytime I want to just move or zoom, I have to pause the game first.

sterile roost
#

[0.0.8-rc3] Severe lag with 150K+ buildings

#

There was no change with RC3. If I play a save gave or start new, and have only and have not built any additional platforms outside the default platforms, the game has zero lag, I can play at over 60 fps, saving takes a split second, and I can play on Max graphic settings without having any issues. I can continue to play like this until I get about 150-200K building.

fast kraken
#

its cpu load

#

multithreading is planed

final musk
#

Same here. I'm at 480k buildings, and I run at 8-25 FPS, where I used to run at 144 (vsync-capped). Saving also freezes the game for several seconds, but this also only started happening at some point as the number of buildings went up. I did not keep track of when it started unfortunately, so I didn't keep track of how it progressed over time

Happened under both 0.0.7 and 0.0.8-rc3

I'm running:

  • AMD Ryzen 7 5800X @ 5.360GHz
  • RTX 3070 LHR
  • Linux Mint 22 (Cinnamon Edition; Ubuntu 24.04 base)

Based on my CPU usage, only 1 core is maxed out, so it's working through something heavy there

fast kraken
#

yea the simulatson

#

to be fair you dont need that many buildings

final musk
fast kraken
#

fair

#

i made my first mam only output 1 full belt

#

well am making

final musk
#

That's my strategy too. Upscaling it beyond that is a far future me problem. But it's 13.6k platforms and 258k buildings and doesn't do crystals yet (and has a bug that breaks multiple layers because I did a dumdum)

fast kraken
#

oh wow. thats a lot for one without cristles. my mam without cristals is like 5k per layer

#

for 1 belt

#

(havent started making one with cristals)

final musk
#

I gave up on trying compact routing after the corner selector and taking a while to sort out the colour trains. Future me problem :p

sterile roost
#

My CPU usage is at ~28%, GPU is ~24%, SSD is at ~1%, VRAM is %45%, Shared is not measurable (less than 1%)

#

My system is in no way maxed out, even on 1 CPU. Each thread is between 15-40% across all 8.

mint mica
#

Same, game is not using everything it can, but i think thats cuz the single threaded thing?

#

With 500k buildings on 3440x1440 i get 15-20 fps but theres no load on gpu and cpu

limpid hearth
#

Same. The game ran fine until I had 150K+ buildings. Suddenly I get random stuttering and saving takes super long.

mint ginkgo
final musk
# mint ginkgo honestly your game will run 2x as fast if you convert this to use more trains

I figured. I did initially plan to do more trains on the colour bit, but the pipe routing for 16 input trains from 7 source trains got annoying enough that I decided to wait for valves and do colour picking rather than painter picking. I am considering solutions for more trains, but that requires solutions to a few problems that I haven't solved yet in part due to the lack of wires for trains. I'm only 38 hours in, and I already have a long list of things I need to refactor. Just need to get through this first spaghetti machine first :p

fast kraken
#

yea we need train wires

lilac seal
#

I have the same issue. I deleted every building and saved it as a really big blueprint, so I can put it back, after finishing the MAM project. And the CPU / GPU use only 15% up to 50% with 500k+ buildings.

mint ginkgo
#

The game (currently) only uses a single CPU core. So you need to check single core % usage (which I'm certain will have been 100%)

molten harbor
#

Hey same here, i got 1mil buildings and game works in 3 FPS :/

#

I switch to trains but it didn't help :/

#

Yup only one CPU core

#

I'm looking forward for performance update 😄

#

my GPU is RTX 4080 but i think that's not the case

mint mica
#

I hope multithreading will be the first thing to start off optimization updates. I swear, use all the possible resources in a system 🙌

sterile roost
#

My CPU usage is at ~28%, GPU is ~24%, SSD is at ~1%, VRAM is ~45%, Shared is not measurable (less than 1%)
My system is in no way maxed out, even on 1 CPU. Each thread is between 15-40% across all 8. CPU0 is always less than 50%.

mint ginkgo
prisma finch
#

if you want me to screenshare with you i can show you

#

it seems to not allow more than 10.3gb memory allocation

#

and only occupying one P core