Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Is it possible to recover from FPS death?  (Read 2191 times)

Avin

  • Bay Watcher
    • View Profile
Is it possible to recover from FPS death?
« on: November 01, 2019, 11:53:52 pm »

Is it possible to recover from FPS death?

I'd been playing this fortress for some time now with no issues but the moment I broke into a cavern layer FPS death set in. If I kill everything in the caverns and wall the outer most edge to stop things from entering the caverns will that help recover the game or is this just how it's going to be from now on?
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Is it possible to recover from FPS death?
« Reply #1 on: November 02, 2019, 12:07:53 am »

maybe.

Wiki also has helpful info.

PatrikLundell

  • Bay Watcher
    • View Profile
Re: Is it possible to recover from FPS death?
« Reply #2 on: November 02, 2019, 04:05:50 am »

It largely depends on your definitions of "FPS death" and "recovery". If your slowdown tolerance level is 50 FPS, the answer is most likely no. If it's 10 FPS there are many things that can improve the situation. In the former situation, gaining 10 FPS after taking recovery measures amounts to fairly little (20%, which is still noticeable), while in the latter it's a formidable improvement, doubling the speed.

I suffered from "FPS death" the first (and only) time I enabled a pump stack for magma pumping into a trap. The displayed FPS was 0. However, it was possible to order the disabling lever to be pulled, and it eventually was, while DF was running at a fractional FPS speed. After that things settled back to normal.
« Last Edit: November 02, 2019, 04:09:07 am by PatrikLundell »
Logged

Schmaven

  • Bay Watcher
  • Abiding
    • View Profile
Re: Is it possible to recover from FPS death?
« Reply #3 on: November 02, 2019, 08:02:52 am »

I was able to go from 11 fps back up to 50, so yes, you can recover.  Depends on what's causing your fps to drop though.
Logged

evilDagmar

  • Bay Watcher
    • View Profile
Re: Is it possible to recover from FPS death?
« Reply #4 on: November 28, 2019, 01:25:50 pm »

So long as you weren't attempting to breed rabbits for eating, almost anything can be recovered from.
Logged

wierd

  • Bay Watcher
  • I like to eat small children.
    • View Profile
Re: Is it possible to recover from FPS death?
« Reply #5 on: November 28, 2019, 03:02:58 pm »

... Dwarves, invaders, and creatures are the major cause of FPS decline.


If you want your fort to run super smooth and fast again, you can't have buttloads of dwarves, invaders, or creatures on the map.

That typically means genocide of one kind or another.



The next major cause is path-finding inefficiency.  Unless you want to redesign your fortress all over again, this is often not solvable.


The third major cause, is item vector size.  The size of the item vector makes parsing the vector take longer and longer, the bigger it becomes.  This means- all that swag, all those engravings, all those rotting worn clothes-- et all-- Keep the clutter under control, keep the number of items under control.


Logged

Mort Stroodle

  • Bay Watcher
    • View Profile
Re: Is it possible to recover from FPS death?
« Reply #6 on: November 29, 2019, 11:42:40 am »

Essentially it depends on what has caused fps death. If it's an easily worked-around bug like a stuck dwarf trying to path out of the fort on a raid, or animals stuck behind a door, or just you queuing too many jobs at once, that can all be remedied. If it's just the sheer complexity of the fort grinding things to a halt you're probably boned.

Best advice I can give is to try and reduce the number of jobs your dorfs are doing. Job cancellation spam can be a big problem too.
Logged