Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: CPU vs Bird problem  (Read 3148 times)

waerth

  • Bay Watcher
    • View Profile
CPU vs Bird problem
« on: July 16, 2020, 08:20:12 am »

Hello all,

It has been a long time and it should probably go into the bug section. I am playing version .44.12

I have noticed since restarting DF for the first time in years that everytime there is birds in my game it seems to significantly jerk up the CPU usage. I now have about 25 Ravens and Buzzards that generated and the CPU is constantly on it;s maximum. I noticed this because at the end of April I checked the creatures and there were no birds. Then on may 2nd the game starting becoming impossible constant stopping and I checked the creatures list again and boom 25 birds had come all of a sudden. Game can't be burned ahead since.

I deliberately played on an open plain this fort. So it can't be water or lava (1 small lake only not even a brook). But even with lots of water and lava and mountains I never experienced something like this. Also I am only in my first year of this fortress
Logged

Uthimienure

  • Bay Watcher
  • O frabjous day!!
    • View Profile
Re: CPU vs Bird problem
« Reply #1 on: July 16, 2020, 09:24:41 am »

I'll keep a look out for this when I get a bunch of birds. I've checked CPU usage of DF before and it is usually pretty low, but never specifically for birds. BTW just as a tip, for games that hog the CPU, you can use B.E.S. (Battle Encoder Shirase) and it works great for me with no problems.
Logged
FPS in Gravearmor (925+ dwarves) is 2-5 (v0.47.05 lives on).
"I've never really had issues with the old DF interface (I mean, I loved even 'umkh'!)" ... brewer bob
As we say in France: "ah, l'amour toujours l'amour"... François D.

Leonidas

  • Bay Watcher
    • View Profile
Re: CPU vs Bird problem
« Reply #2 on: July 16, 2020, 09:57:31 am »

I've noticed this in adventure mode. As soon as birds load, the FPS drops to single digits.
Logged

waerth

  • Bay Watcher
    • View Profile
Re: CPU vs Bird problem
« Reply #3 on: July 16, 2020, 10:06:10 am »

I'll keep a look out for this when I get a bunch of birds. I've checked CPU usage of DF before and it is usually pretty low, but never specifically for birds. BTW just as a tip, for games that hog the CPU, you can use B.E.S. (Battle Encoder Shirase) and it works great for me with no problems.

Thx will try out B.E.S later!
Logged

Uthimienure

  • Bay Watcher
  • O frabjous day!!
    • View Profile
Re: CPU vs Bird problem
« Reply #4 on: July 16, 2020, 11:32:26 am »

I've noticed this in adventure mode. As soon as birds load, the FPS drops to single digits.

O.P. was about CPU, not FPS.
What is the CPU load at that point?

Side note: B.E.S. shouldn't help FPS at all
Logged
FPS in Gravearmor (925+ dwarves) is 2-5 (v0.47.05 lives on).
"I've never really had issues with the old DF interface (I mean, I loved even 'umkh'!)" ... brewer bob
As we say in France: "ah, l'amour toujours l'amour"... François D.

anewaname

  • Bay Watcher
  • The mattock... My choice for problem solving.
    • View Profile
Re: CPU vs Bird problem
« Reply #5 on: July 16, 2020, 02:24:20 pm »

Creatures that fly or climb outside of combat, can path-find into a larger region of the map and that burns up FPS. In a different thread, a player posted that they exterminate them with dfhack because of the FPS drop.
Logged
Quote from: dragdeler
There is something to be said about, if the stakes are as high, maybe reconsider your certitudes. One has to be aggressively allistic to feel entitled to be able to trust. But it won't happen to me, my bit doesn't count etc etc... Just saying, after my recent experiences I couldn't trust the public if I wanted to. People got their risk assessment neurons rotten and replaced with game theory. Folks walk around like fat turkeys taunting the world to slaughter them.

Leonidas

  • Bay Watcher
    • View Profile
Re: CPU vs Bird problem
« Reply #6 on: July 16, 2020, 03:44:38 pm »

On the plus side, birds make for excellent crossbow practice because they're so hard to hit.
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: CPU vs Bird problem
« Reply #7 on: July 18, 2020, 12:24:27 pm »

I guess a solution would be to heavily limit z-levels above ground in advanced worldgen. Default 15 is a lot of open space.

@Uthimienure: Same thing; if DF can't maintain the game speed by maxing out core even more it starts lowering fps.

Uthimienure

  • Bay Watcher
  • O frabjous day!!
    • View Profile
Re: CPU vs Bird problem
« Reply #8 on: July 18, 2020, 07:05:02 pm »

I've not played a huge population with large area embark yet, so I have not experienced the max-out of the CPU personally, and did not know that DF would ramp up to 100% CPU until reading this thread. With pop 70 on a 4x4 volcano embark after 3 years it's still running at my 40 FPS cap using only 5% CPU up to 10% when about 12 birds and 10 beasts roam the first cave (others not exposed yet).

FF, thanks for that info, it's good to know.
Logged
FPS in Gravearmor (925+ dwarves) is 2-5 (v0.47.05 lives on).
"I've never really had issues with the old DF interface (I mean, I loved even 'umkh'!)" ... brewer bob
As we say in France: "ah, l'amour toujours l'amour"... François D.

anewaname

  • Bay Watcher
  • The mattock... My choice for problem solving.
    • View Profile
Re: CPU vs Bird problem
« Reply #9 on: July 18, 2020, 08:09:20 pm »

It will only use one core of the CPU, so most machines will not max the CPU, and FPS will drop instead.
Logged
Quote from: dragdeler
There is something to be said about, if the stakes are as high, maybe reconsider your certitudes. One has to be aggressively allistic to feel entitled to be able to trust. But it won't happen to me, my bit doesn't count etc etc... Just saying, after my recent experiences I couldn't trust the public if I wanted to. People got their risk assessment neurons rotten and replaced with game theory. Folks walk around like fat turkeys taunting the world to slaughter them.

delphonso

  • Bay Watcher
  • menaces with spikes of pine
    • View Profile
Re: CPU vs Bird problem
« Reply #10 on: July 18, 2020, 09:08:53 pm »

Creatures that fly or climb outside of combat, can path-find into a larger region of the map and that burns up FPS. In a different thread, a player posted that they exterminate them with dfhack because of the FPS drop.

Likely culprit. I get slowdown with bugbats in the caverns sometime.

waerth

  • Bay Watcher
    • View Profile
Re: CPU vs Bird problem
« Reply #11 on: August 02, 2020, 07:48:15 am »

Very likely culprit. I have like an almost totally flat embark. Game runs at 80-95 FPS until Vultures started appearing :( . It now goes from 80-95 to 0 for 3-4 minutes at a time very time they appear ...
Logged

anewaname

  • Bay Watcher
  • The mattock... My choice for problem solving.
    • View Profile
Re: CPU vs Bird problem
« Reply #12 on: August 02, 2020, 11:08:58 pm »

Vultures have that additional pathing objective of stealing stuff. That probably factors into the  FPS drop, but 3 or 4 minutes seems like a long time.
Logged
Quote from: dragdeler
There is something to be said about, if the stakes are as high, maybe reconsider your certitudes. One has to be aggressively allistic to feel entitled to be able to trust. But it won't happen to me, my bit doesn't count etc etc... Just saying, after my recent experiences I couldn't trust the public if I wanted to. People got their risk assessment neurons rotten and replaced with game theory. Folks walk around like fat turkeys taunting the world to slaughter them.

PatrikLundell

  • Bay Watcher
    • View Profile
Re: CPU vs Bird problem
« Reply #13 on: August 03, 2020, 02:21:01 am »

There must be something else involved as well, as others (including me) routinely have birds appearing without any visible issues.
Logged

Leonidas

  • Bay Watcher
    • View Profile
Re: CPU vs Bird problem
« Reply #14 on: August 03, 2020, 08:44:49 am »

There must be something else involved as well, as others (including me) routinely have birds appearing without any visible issues.

In adventure mode, I'll sometimes start shooting at bird or climbers to eliminate the FPS hit. IIRC, sometimes I would kill a single creature and the FPS would shoot back up, even though there were other creatures of the same type still on the screen.
Logged
Pages: [1] 2