Bay 12 Games Forum

Please login or register.

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

Author Topic: [38C] Game slows permanently to a crawl  (Read 1430 times)

Joror

  • Escaped Lunatic
    • View Profile
[38C] Game slows permanently to a crawl
« on: April 26, 2008, 02:13:00 pm »

I have had a new fort, not even one year old, suddenly go very slow on me. It dropped from a smooth 100fps down to a trickling 15fps.
I have been unable to determine what exactly caused this slowdown. (didn't have autosave on, so could not jump back to a previous save)

These are the last few events that are in my log:
- Stray dog (tame) has given birth to puppies
(should not be a problem, got no pet-locked doors, and this is my two dogs' first litter, so puppy-spam seems unlikely)
- Digging designation cancelled: damp stone located
(Sounds very suspicous, the damp stone is for a big lake - but there are no leaks.)
- The merchants from Belalurvad have embarked on their journey
(not sure if this happened before or after the slowdown began, but seems innocent enough)

So far I've tried these things to remove source of the slowdown:
- Blocking off the main hallways to stop pathfinding
- Puncturing the lake wall (slowmotion flooding..)
- Slaughtered the new puppies (No infernal fps-eating demon-puppy among them)

All that failed, so bug reporting I am - save available here: http://home.parse.nl/~daan/dwarffortress/region2.zip

Logged

Furious Fish

  • Bay Watcher
    • View Profile
Re: [38C] Game slows permanently to a crawl
« Reply #1 on: April 26, 2008, 04:37:00 pm »

quote:
Originally posted by Joror:
<STRONG>- The merchants from Belalurvad have embarked on their journey
(not sure if this happened before or after the slowdown began, but seems innocent enough)</STRONG>

I had a game slow right down to 9 fps after the first set of merchants departed, and it never recovered - I posted it as a bug a while back. I don't think Toady managed to find out why it happened though  :(

Logged
Slave to Hogfroth - God of Muck

Tayrin

  • Bay Watcher
    • View Profile
Re: [38C] Game slows permanently to a crawl
« Reply #2 on: April 26, 2008, 04:40:00 pm »

quote:
Originally posted by Joror:
<STRONG>- Puncturing the lake wall (slowmotion flooding..)</STRONG>

Am I understanding correctly that you released the water to try to speed the game up? Large amounts of moving fluid are a very big cause of slowdown.

Logged

Someone-else

  • Bay Watcher
    • View Profile
Re: [38C] Game slows permanently to a crawl
« Reply #3 on: April 26, 2008, 05:58:00 pm »

quote:

- The merchants from Belalurvad have embarked on their journey

They stole your fps!
Maybe it's a problem with moving wagon? If it's not deleted properly it may probably try to find it's way out, and since it's already out it creates a loop or something like that.
Also, check for buggy ramps. If they are constructed in such a way that it's not obvious where "input" and "output" are, or there are "inputs" leading to more than one "output" the ramp is marked as inaccessible for current pathfinding cycle, but only partially, in such a way that it allows to "recheck" if there is no other way. This creates loop which consumes CPU power until it hits some high number when the dwarf is marked as idle and fail to find a way. Next time dwarf has his "turn" he will try this another time (and fail).

Logged

Torak

  • Bay Watcher
  • God of Gods of Blood.
    • View Profile
Re: [38C] Game slows permanently to a crawl
« Reply #4 on: April 26, 2008, 06:20:00 pm »

Does your map have magma?
Logged
As you journey to the center of the world, feel free to read the death announcements of those dwarves that suffer your neglect.

One billion b-balls dribbling simultaneously throughout the galaxy. One trillion b-balls being slam dunked through a hoop throughout the cosmos. I can feel every single b-ball that has ever existed at my fingertips, I can feel their collective knowledge channeling through my veins. Every jumpshot, every rebound and three-pointer, every layup, dunk and free throw.

Joror

  • Escaped Lunatic
    • View Profile
Re: [38C] Game slows permanently to a crawl
« Reply #5 on: April 27, 2008, 04:44:00 am »

quote:
Originally posted by Tayrin:
<STRONG>

Am I understanding correctly that you released the water to try to speed the game up? Large amounts of moving fluid are a very big cause of slowdown.</STRONG>


Ah no, the basic save has no floods or leaks. I just tried a big flood out to see if it might 'undo' the slowdown.

Logged

Joror

  • Escaped Lunatic
    • View Profile
Re: [38C] Game slows permanently to a crawl
« Reply #6 on: April 27, 2008, 04:45:00 am »

quote:
Originally posted by Torak:
<STRONG>Does your map have magma?</STRONG>

Not to my knowledge..

Logged

Joror

  • Escaped Lunatic
    • View Profile
Re: [38C] Game slows permanently to a crawl
« Reply #7 on: April 27, 2008, 04:48:00 am »

quote:
Originally posted by Someone-else:
<STRONG>

They stole your fps!
Maybe it's a problem with moving wagon? If it's not deleted properly it may probably try to find it's way out, and since it's already out it creates a loop or something like that.
Also, check for buggy ramps. If they are constructed in such a way that it's not obvious where "input" and "output" are, or there are "inputs" leading to more than one "output" the ramp is marked as inaccessible for current pathfinding cycle, but only partially, in such a way that it allows to "recheck" if there is no other way. This creates loop which consumes CPU power until it hits some high number when the dwarf is marked as idle and fail to find a way. Next time dwarf has his "turn" he will try this another time (and fail).</STRONG>


It was quite early in the game, so I hadn't even built a single ramp yet.
But the wagon might be the problem, yeah.. not that I can find them now on the map, tho.

Logged

Wang Commander

  • Bay Watcher
    • View Profile
Re: [38C] Game slows permanently to a crawl
« Reply #8 on: April 28, 2008, 01:30:00 am »

I get slowdown sometimes if there are ambushers that I haven't spotted yet, could this be accumulated hidden goblins?
Logged

Hypcso

  • Bay Watcher
    • View Profile
Re: [38C] Game slows permanently to a crawl
« Reply #9 on: April 28, 2008, 03:06:00 am »

Did you order things on the merchants dumped? I just did that, and they left the map before my dwarves could finish cleaning them out and my FPS instantly dove down to single digits from 100+. No recovery either.
Logged

SirPenguin

  • Bay Watcher
  • NEVER A DULL MOMENT IN MID-WORLD
    • View Profile
Re: [38C] Game slows permanently to a crawl
« Reply #10 on: April 28, 2008, 09:13:00 am »

Merchants have also cause me some grief in the FPS department, though I'm never able to figure out why. I attributed it to my broker ignoring the diplomat for weeks on end. It seems to cause some strange things, like his speech coming out a sentence at a time, such as "Let's go over these trade agreements", then 2 months later, "What would you like?", as well as the caravan claiming they're about to leave, but staying almost until the season is over. I assumed whatever pathfinding code the diplomat was using was getting backed up with numerous orders of "Talk" or whatever, and when he finally was able to leave, the backlog remained.

I'm probably wrong, but it's the only thing I came up with.

Logged

Joror

  • Escaped Lunatic
    • View Profile
Re: [38C] Game slows permanently to a crawl
« Reply #11 on: April 28, 2008, 11:29:00 am »

As far as I can remember I handled the traders normally, nothing special.
Logged

Muffy St. Bernard

  • Bay Watcher
    • View Profile
    • http://www.dangermuff.com
Re: [38C] Game slows permanently to a crawl
« Reply #12 on: April 28, 2008, 12:27:00 pm »

I've noticed suspicious slowdowns shortly before ambushers are discovered, leading me to believe that hidden ambushers are the problem.
Logged

Joror

  • Escaped Lunatic
    • View Profile
Re: [38C] Game slows permanently to a crawl
« Reply #13 on: April 28, 2008, 02:33:00 pm »

quote:
Originally posted by Muffy St. Bernard:
<STRONG>I've noticed suspicious slowdowns shortly before ambushers are discovered, leading me to believe that hidden ambushers are the problem.</STRONG>

Could be, bit it seems somewhat unlikely that there were/are ambushers - this was my first traders visit.

Logged

The-Moon

  • Bay Watcher
    • View Profile
Re: [38C] Game slows permanently to a crawl
« Reply #14 on: April 28, 2008, 03:43:00 pm »

quote:
Originally posted by Joror:
<STRONG>I have had a new fort, not even one year old, suddenly go very slow on me. It dropped from a smooth 100fps down to a trickling 15fps.
I have been unable to determine what exactly caused this slowdown. (didn't have autosave on, so could not jump back to a previous save)

These are the last few events that are in my log:
- Stray dog (tame) has given birth to puppies
(should not be a problem, got no pet-locked doors, and this is my two dogs' first litter, so puppy-spam seems unlikely)
- Digging designation cancelled: damp stone located
(Sounds very suspicous, the damp stone is for a big lake - but there are no leaks.)
- The merchants from Belalurvad have embarked on their journey
(not sure if this happened before or after the slowdown began, but seems innocent enough)

So far I've tried these things to remove source of the slowdown:
- Blocking off the main hallways to stop pathfinding
- Puncturing the lake wall (slowmotion flooding..)
- Slaughtered the new puppies (No infernal fps-eating demon-puppy among them)

All that failed, so bug reporting I am - save available here: http://home.parse.nl/~daan/dwarffortress/region2.zip</STRONG>


In fact i just recently had this problem on the last map i was playing.

However i think the slow down happened before the merchants came.

Game went from 150FPS, down to 50FPS    :(

I did however find a bug, i don't know if its related tho.

I built a pit to toss some pigs into, and i view it to throw animals into it and it had on the list something like "(tame) cardinal" at the bottom.

I check the "U" list as well as my animal list under the "Z" menu.

I couldn't find this cardinal.

So i was thinking that maybe that had something to do with a all the sudden lag, which wouldn't normally occur in the first year.

Normally my fps will stay at 100 good into the second year.

Joror, make a pit area, and try to assign a animal too it, but don't assign nothing, just check and see if theres any animals in that list, that should not be there.

Btw: I'm not 100% sure, but i think the lag may have happened after i loaded up a save. I don't think i was playing the game and it started to lag, i would have noticed that for sure, as i'm always checking the FPS as i play.

I think this happened after i loaded the map.

[ April 28, 2008: Message edited by: The-Moon ]

Logged
There is absolutely no time, to be taking time for granted. ~Busta Rhymes
Pages: [1] 2