Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: What might be causing lag in 'ere?  (Read 1224 times)

Stefrist

  • Bay Watcher
    • View Profile
What might be causing lag in 'ere?
« on: March 16, 2012, 05:02:47 am »

'Allo,

I'm well aware of everything causing FPS to drop and the methods to increase the FPS. (but I never like to disable features)

Currently I'm on a fortress, which I will continue on for a long time, but already quite early on I was getting FPS drops.
This fortress is also posted in the thread "post your screenshot" and might provide some insight of why the drops are happening.

I'll place the screenshots from that other thread here as well:
http://www.bay12forums.com/smf/index.php?topic=104631.msg3096360#msg3096360

1. Initial Fortress
Spoiler (click to show/hide)

2. Work-in-progress
Spoiler (click to show/hide)

3. Partially completed fort
Spoiler (click to show/hide)

There are 2 things, which might effect FPS a lot. On the barren surface (no plants at all) there is a glacier, which is frozen most/or even all of the time and a tiny lake.
The lake might be 20x20 and is frozen maybe 50% of the time? (I am not too sure, because I really do nothing on the surface, except tossing out bloody Goblin parts).

There is 1 quirksome thing going on in the initial fortress. I've made a few rooms, filled with either kitchens/butchers, stills or craftsmen.
Whenever I want to 'q' those area's a lag occurs everytime I move my cursor and the shops are not really cluttered that much. (only exception might be the butcher's). This lag here is very doable, but it takes about a second, which is relatively long for moving 1 x/y position.

So I think my FPS drop might be caused by whatever is causing this lag in my initial fortress and I was hoping that when I would destroy my initial fortress completely, it might get resolved.

Also one very big thing in this fortress.. I am almost completely digging out 6 whole z-levels, constructing the new fortress on the 5th level (having 4 empy z levels above).
Is it an appropiate quess to say that all these rocks from the 6 levels cause the FPS drop? (and might never get resolved)

So I wanted to ask you folks about these 2 things and wether they are known to cause drops. (crowded shops vs. loads of rocks digged out).
Also my personal computer is probably compromised, but the FPS drops are of relative speaking ;)

Logged

schismatise

  • Bay Watcher
    • View Profile
Re: What might be causing lag in 'ere?
« Reply #1 on: March 16, 2012, 05:10:36 am »

Also one very big thing in this fortress.. I am almost completely digging out 6 whole z-levels, constructing the new fortress on the 5th level (having 4 empy z levels above).
Is it an appropiate quess to say that all these rocks from the 6 levels cause the FPS drop? (and might never get resolved)

Yes.

Logged

AWdeV

  • Bay Watcher
    • View Profile
Re: What might be causing lag in 'ere?
« Reply #2 on: March 16, 2012, 05:13:27 am »

I'd blame the rocks and the fact you seem to have a high enough population that can sustain 25 idlers. :P

Lots of dwarves + lots of rocks = not a lot of FPS.

The melty-freezy lake is only to blame when it is transitioning between either state.
Logged
Teenage Bearded Axelord Turtles
Teenage Bearded Axelord Turtles
Urists in a half shell (Turtle Power)

Stefrist

  • Bay Watcher
    • View Profile
Re: What might be causing lag in 'ere?
« Reply #3 on: March 16, 2012, 05:24:48 am »

Yea figured out the rocks might be the evil-do'er.

I also got ~180 dwarves, but the drops started happening before.

Do you think this might get better after getting rid of most of the rocks? (I'm scared that they'll leave a memory imprint after use)
Do self-constructed walls and floors cause a lot of extra overhead? (vs. naturally carved out rock)
Logged

schismatise

  • Bay Watcher
    • View Profile
Re: What might be causing lag in 'ere?
« Reply #4 on: March 16, 2012, 07:36:53 am »

Do you think this might get better after getting rid of most of the rocks? (I'm scared that they'll leave a memory imprint after use)

According to this thread, your fear may be correct. However, it will definitely net some improvement.

Do self-constructed walls and floors cause a lot of extra overhead? (vs. naturally carved out rock)

Nope.
Logged

Stefrist

  • Bay Watcher
    • View Profile
Re: What might be causing lag in 'ere?
« Reply #5 on: March 16, 2012, 08:04:46 am »

Yea been reading that FPS bomb thread a little. (partially cause of my fear)

I quess I'll try several things out after I finish most of the normal construction. (fps is currently around 30 and still doable)

I'll make a backup and try several things:

1. Get rid of all the stones/other stuff by atom smashing
2. Use every single rock into something else (it be blocks, furniture, construction)
3. Abandon the fortress and see if a reclaim goes better (in the hope it might flush/truncate some entries)
Logged

slothen

  • Bay Watcher
    • View Profile
Re: What might be causing lag in 'ere?
« Reply #6 on: March 16, 2012, 09:05:45 am »

oh come on, why does everyone always blame the rocks.  Must be resentment about having to hide/dump them.
Logged
While adding magma to anything will make it dwarfy, adding the word "magma" to your post does not necessarily make it funny.
Thoughts on water
MILITARY: squad, uniform, training
"DF doesn't mold players into its image - DF merely selects those who were always ready for DF." -NW_Kohaku

Flying Dice

  • Bay Watcher
  • inveterate shitposter
    • View Profile
Re: What might be causing lag in 'ere?
« Reply #7 on: March 16, 2012, 09:31:12 am »

oh come on, why does everyone always blame the rocks.  Must be resentment about having to hide/dump them.

Mainly because lots of items = increased memory usage = decreased FPS. In other words, because lots of rocks will kill your FPS, and one of the most common resources in a fortress is a big pile of rocks.
Logged


Aurora on small monitors:
1. Game Parameters -> Reduced Height Windows.
2. Lock taskbar to the right side of your desktop.
3. Run Resize Enable

Stefrist

  • Bay Watcher
    • View Profile
Re: What might be causing lag in 'ere?
« Reply #8 on: March 16, 2012, 10:35:21 am »

oh come on, why does everyone always blame the rocks.  Must be resentment about having to hide/dump them.

I haven't dumped/hidden any rock.
Partially the reason why I love this fort.. simply been digging everything out and building over the mess.

Could make a screenshot of the bottom level, where you can also see how Dwarves decide to pick which stone to work with. (will take a lil, at work)
Logged

Sorcerer

  • Bay Watcher
  • [magical]
    • View Profile
Re: What might be causing lag in 'ere?
« Reply #9 on: March 16, 2012, 10:51:10 am »

Mainly because lots of items = increased memory usage = decreased FPS. In other words, because lots of rocks will kill your FPS, and one of the most common resources in a fortress is a big pile of rocks.

Except that theory seems to more or less fly out the window in Kohaku's experiment mentioned above, at least until you reach ludicrous amounts of items.
« Last Edit: March 16, 2012, 11:07:11 am by Sorcerer »
Logged

thegoatgod_pan

  • Bay Watcher
    • View Profile
Re: What might be causing lag in 'ere?
« Reply #10 on: March 16, 2012, 11:10:30 am »

1. It is probably the surface--freezing and unfreezing is hell on f.p.s. Wait until everything is good and frozen and turn off temperature--it doesn't seem like you are making magma or freezing traps, so why the hell not?

2. Atom smash your extra rock

3. Pathing might be an issue since you are carving out large spaces (it looks like), designate high and low traffic areas.

4. 180 dwarves and dropping f.p.s. is good and normal
Logged
More ridiculous than reindeer?  Where you think you supercool and is you things the girls where I honestly like I is then why are humans on their as my people or what would you?

Stefrist

  • Bay Watcher
    • View Profile
Re: What might be causing lag in 'ere?
« Reply #11 on: March 16, 2012, 11:18:37 am »

1. It is probably the surface--freezing and unfreezing is hell on f.p.s. Wait until everything is good and frozen and turn off temperature--it doesn't seem like you are making magma or freezing traps, so why the hell not?

2. Atom smash your extra rock

3. Pathing might be an issue since you are carving out large spaces (it looks like), designate high and low traffic areas.

4. 180 dwarves and dropping f.p.s. is good and normal

1. I will try to disable it when I get home. I don't think this is a big problem, is the freezing part itself does not happen frequently.

2. I want to avoid doing this for a while, because I'm using loads of rocks for colorcoded rooms.

3. Very much true, I myself think this might be 80-90% of the issue. Dwarves often try to retrieve a resource nearby, but turns out to require a long path instead.

4. True, I've taken the number of dwarves in account and I don't think I'll ever get a real high FPS because of them. But I think that around 30-40 fps decrease is caused by something else.
By the way it does feel like the new updates handle more dwarves better.

I can work with traffic designations a bit better when I've got more carved out, but will surely do this.

I'll try to keep all of you up to date, including the FPS Bomb operation
Logged

Flying Dice

  • Bay Watcher
  • inveterate shitposter
    • View Profile
Re: What might be causing lag in 'ere?
« Reply #12 on: March 16, 2012, 11:49:47 am »

Mainly because lots of items = increased memory usage = decreased FPS. In other words, because lots of rocks will kill your FPS, and one of the most common resources in a fortress is a big pile of rocks.

Except that theory seems to more or less fly out the window in Kohaku's experiment mentioned above, at least until you reach ludicrous amounts of items.
One experiment isn't enough to be conclusive evidence. In every fortress I have run, I have noticed a substantial, permanent drop in FPS after large mining operations, regardless of other factors (number of creatures on map, accessability of newly mined areas, etc.).

Apart from that, the experiment was directed at the potential possibility of items causing slowdown even after being atomsmashed or otherwise removed from the map, not the role of high numbers of items in decreasing fps. What the results suggest is that items removed from the map do not (seriously) affect FPS, not that items on the map don't affect FPS. In other words, after the experiment started, the number of items on the map was relatively stable, and the FPS stabilized at a lower point than the start, which reinforces common knowledge about the consequences of large numbers of items on the map.
« Last Edit: March 16, 2012, 02:57:55 pm by Flying Dice »
Logged


Aurora on small monitors:
1. Game Parameters -> Reduced Height Windows.
2. Lock taskbar to the right side of your desktop.
3. Run Resize Enable

blue sam3

  • Bay Watcher
    • View Profile
Re: What might be causing lag in 'ere?
« Reply #13 on: March 16, 2012, 12:42:25 pm »

Quote
Also one very big thing in this fortress.. I am almost completely digging out 6 whole z-levels, constructing the new fortress on the 5th level (having 4 empy z levels above).
Is it an appropiate quess to say that all these rocks from the 6 levels cause the FPS drop? (and might never get resolved)

From recent research:

Having something designated slows stuff down. Having it designated and accessible slows it down more. Having it actually being dug out slows it down even more. Having large open areas slows it down. Channelling out large areas slows things down (more so than just digging out the two layers). Collapsing those areas slows it down more than channelling, on a permanent basis. Having lots of items massacres FPS. Research is currently continuing on what happens with various different ways of destroying said items.
Logged