dwarfcorp
dwarfcorp copied to clipboard
Performance: Developed/long term games are hitting performance
This is a save that's an accumulated maybe two hour or three hours of play. At 1x FPS is 1-4. It lowers with camera movement. At 3x FPS is 0-2 FPS. It near flatlines with camera movement.
Save & CPU sampling from release: Giruholand_34_131850581596209926.zip Giruholand.zip DwarfCorp181026(1)_HeaderSummary.zip
Since there's speculation on my GPU, I figured I'd use the GPU profiler too. It's too big to be compressed in a friendly way for git, so here's a link: https://drive.google.com/file/d/155mYNHM4GylPkuN1a1yMNTKNikJqVEbL/view?usp=sharing
77e0c8e8
Hey so I get between 49 and 60 FPS on this save. I believe you that performance problems persist on your computer, but at least they're not as bad as I anticipated if an i7 with a gtx 1060 can handle this. I will do some performance profiling to test this save against a blank slate to see what the heavy hitters are in terms of decreased performance (it might be that I'm going from 100 FPS to 49).
I discovered some bottlenecks in the physics system that I have fixed. That might alleviate some of these issues. @Blecki fixed some bottlenecks in the path planning system.
After fixing #970 I think this should now be better for you
Okay! Last update.
So things have improved, but there are still some performance roadblocks. Once the player reaches these, it's still fairly bad, just not as bad as before. You'll find plenty of other bugs happening in this save. Lots of pathing stuff. I'd say I played it for maybe two or three hours before lag began. Then I quit. Next day I loaded it, and it was running pretty well for thirty minutes or so. I'm guessing a soak test would reveal at least a little about what might be going on there.
-Having more employees definitely helped stress the perf issues noticeably, though still pretty sure hiring itself is running fine. -When all dwarves went to sleep, performance went entirely back to normal. -At 1x with about 10-30 dwarves, perf remains fairly solid. At the lowest it was probably 2-8 FPS. -1x with 40 we're looking at still passable, but with intermittent slow downs of average 2-5 FPS, but sometimes 1-2 FPS. -3x with 40 we're still looking at it slowing down to 0-2 FPS, though it tends not to drop to 0 as much as before. Definitely more stable. It also throttles, having some moments where it returns to almost normal, though these are only occasional. -There are an immense amount of enemy NPCs in this world. I think maybe the hell biome is spawning on terrain?
Anyways, got some profiling for you. I would highly suggest, in absence of the team, you play some long games and continue soak tests until perf seems perfect on your side and/or get a set up closer to mine to be able to examine these issues.
Mokofaia.zip Mokofaia_539_131856490485540192.zip DwarfCorp181102_CallTreeSummary.zip
4865c09a
wow ok, so now the bottleneck is dwarfs trying to mine blocks
sorry, not mine, build