Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: 2 FPS and no end in sight...  (Read 2073 times)

treczoks

  • Bay Watcher
    • View Profile
2 FPS and no end in sight...
« on: December 17, 2011, 05:00:56 pm »

Fellow Dwarfherders,

I sincerely hope that one day, ToadyOne will load the water flow model off on the GPU. I'm currently emptying out two lakes and the fort has come to a near stop.

Shall I just leave it unpaused for the night? I don't know...

One lake is down to about 4/7, the other one between 5/7 and 6/7. Oh my...

Slowly,
Christian
Logged
I fall into a strange mood. I withdraw from society. I claim a computer. I draw pictures of bedrooms. I draw pictures of farming levels. I draw pictures of defenses. I draw pictures of pipes and pumps. I start playing Dwarf Fortress!

Haedrian

  • Bay Watcher
    • View Profile
Re: 2 FPS and no end in sight...
« Reply #1 on: December 17, 2011, 05:04:27 pm »

Turn off weather and temperature from the ini file. Set the process priority to high (or realtime if you're really desperate)

See if that works a bit.
Logged
When life gives you kittens, make biscuits

Likes llamas for their long necks

Jenniretta

  • Bay Watcher
    • View Profile
Re: 2 FPS and no end in sight...
« Reply #2 on: December 17, 2011, 05:27:55 pm »

For stuff like this I usually put on a movie or something to watch and have DF running, check on it to make sure there's no sieges or auto-pauses every now and then *shrugs* helps pass the time. Draining a lake will bring your FPS crashing down no matter how much you change your init files normally, it should quickly recover once the water has finished draining.

Right now my fort is running at 8FPS at the best of times (normally closer to 5), so I've got it running on one machine while I surf the 'net and watch videos on my laptop ^-^ Thats how I deal with low FPS usually, just multitask, lol.

As an aside, Toady has made a lot of progress optimizing the game's performance over the years, try playing 23a, I get 100 or so FPS on a new fort with this version, but in 23a I get about 51FPS, and 40d I get about 90FPS.
For a fort the same age as my current one (which is 5-8FPS now) in 40d I was playing at 3-5FPS, and 23a was running with 2-3FPS usually.
So I am quite happy and impressed with the progress Toady has made improving performance while adding so many new features, and I am actually pretty thankful to have 5-8 FPS with so many dwarves and jobs happening, as when I first started, a fortress this size, this busy, I was lucky to get 3FPS.
Logged

Jacob/Lee

  • Bay Watcher
    • View Profile
Re: 2 FPS and no end in sight...
« Reply #3 on: December 17, 2011, 06:13:30 pm »

Turn off weather and temperature from the ini file. Set the process priority to high (or realtime if you're really desperate)

See if that works a bit.
I can't seem to set anything to realtime on Windows 7.

treczoks

  • Bay Watcher
    • View Profile
Re: 2 FPS and no end in sight...
« Reply #4 on: December 17, 2011, 07:09:39 pm »

Turn off weather and temperature from the ini file. Set the process priority to high (or realtime if you're really desperate)
Temperature is already off. This nearly killed my last embark, as my dorfs dug right into a volcano, without a "warm stone detected". This nearly drowned my forge-level, with all the stockpiles of steel and other metals...
Logged
I fall into a strange mood. I withdraw from society. I claim a computer. I draw pictures of bedrooms. I draw pictures of farming levels. I draw pictures of defenses. I draw pictures of pipes and pumps. I start playing Dwarf Fortress!

Sutremaine

  • Bay Watcher
  • [ETHIC:ATROCITY: PERSONAL_MATTER]
    • View Profile
Re: 2 FPS and no end in sight...
« Reply #5 on: December 17, 2011, 08:00:56 pm »

You should still be getting warm stone warnings even with temperature off. Warm stone warnings only happen when the warm tile is revealed, and with a volcano much of the warm stone is pre-revealed. Maybe you accidently designated one of the warm tiles?

How are you draining the lake, anyway? I was under the impression that it could be done instantly with water pressure, since it's possible to flood a fortress in a couple of ticks if the ocean is dug into.
Logged
I am trying to make chickens lay bees as eggs. So far it only produces a single "Tame Small Creature" when a hen lays bees.
Honestly at the time, I didn't see what could go wrong with crowding 80 military Dwarves into a small room with a necromancer for the purpose of making bacon.

Irenices

  • Bay Watcher
    • View Profile
Re: 2 FPS and no end in sight...
« Reply #6 on: December 17, 2011, 09:46:07 pm »

Does changing the process priority really help?  I thought i had tried doing that before and i didnt see a difference.
Logged

Jacob/Lee

  • Bay Watcher
    • View Profile
Re: 2 FPS and no end in sight...
« Reply #7 on: December 17, 2011, 09:48:43 pm »

Does changing the process priority really help?  I thought i had tried doing that before and i didnt see a difference.
It definitely gives a few FPS at least.

BigFatStupidHead

  • Bay Watcher
  • obscure to the point of being cryptic
    • View Profile
Re: 2 FPS and no end in sight...
« Reply #8 on: December 17, 2011, 10:03:30 pm »

You could use DFhack's liquids module and just destroy the water.
Logged

treczoks

  • Bay Watcher
    • View Profile
Re: 2 FPS and no end in sight...
« Reply #9 on: December 18, 2011, 10:07:47 am »

You should still be getting warm stone warnings even with temperature off. Warm stone warnings only happen when the warm tile is revealed, and with a volcano much of the warm stone is pre-revealed. Maybe you accidently designated one of the warm tiles?
No, not always. There is "warm stone" over the magma sea and around the volcano shaft (propably pre-marked during creation), BUT judging from the layout of the shaft, some part of the volcano turned into obsidian lateron (but without my intervention), and this has not been marked as warm. So my dwarves dug a three-wide corridor right into it, and all they told me was that they found cave layer three (which I missed with my staircase) through all the magma. Quite a hot situation that cost me some dwarf.

How are you draining the lake, anyway? I was under the impression that it could be done instantly with water pressure, since it's possible to flood a fortress in a couple of ticks if the ocean is dug into.
I am trying two different methods at the moment:

In "Cave 2"  I build four screw pumps on the shore, added walls to build a channel and thus led the water into the next door lake which happens to have an off.map connection. On top of the channels walls, directly behind the pumps, I set up some gear boxes and four water wheels to power the pumps. This seems to be quite fast, but the pumps stopped working when the average level was at about 3/7, as it drained the water near the pumps so low that there was not enough flow for the water wheels. I waited for the water to level out again, and restarted the pumps. I'm looking into options to fix this.

In "Cave 3" I dug a trench to an open cave at the edge of the map, and let it flow passively. Basically, not a good idea, as this is dead slow.
Logged
I fall into a strange mood. I withdraw from society. I claim a computer. I draw pictures of bedrooms. I draw pictures of farming levels. I draw pictures of defenses. I draw pictures of pipes and pumps. I start playing Dwarf Fortress!

Sutremaine

  • Bay Watcher
  • [ETHIC:ATROCITY: PERSONAL_MATTER]
    • View Profile
Re: 2 FPS and no end in sight...
« Reply #10 on: December 19, 2011, 01:27:10 pm »

judging from the layout of the shaft, some part of the volcano turned into obsidian lateron (but without my intervention), and this has not been marked as warm. So my dwarves dug a three-wide corridor right into it
Good old-fashioned bugginess then, possibly bug 0001610.

I had a quick go at draining a small lake by digging a shaft under it and caving in the floor, but either it requires some extra engineering or it just doesn't work with one level of water. I'm thinking it might be easier to build a magma pump stack and obsidianise the lake.
Logged
I am trying to make chickens lay bees as eggs. So far it only produces a single "Tame Small Creature" when a hen lays bees.
Honestly at the time, I didn't see what could go wrong with crowding 80 military Dwarves into a small room with a necromancer for the purpose of making bacon.

helf

  • Bay Watcher
    • View Profile
Re: 2 FPS and no end in sight...
« Reply #11 on: December 19, 2011, 03:37:55 pm »

I can't seem to set anything to realtime on Windows 7.

You have to disable UAC before it'll let you set priorities to real-time.
Logged
YOUR GAMES GLITCH: Hey, I got out of the map boundry!
OUR GAMES GLITCH: Hey, a horrid monstrosity just migrated to my fortress! Let's recruit it!

Leif

  • Bay Watcher
  • Octopi
    • View Profile
Re: 2 FPS and no end in sight...
« Reply #12 on: December 19, 2011, 05:34:31 pm »

I have an I7. Lag? Never heard of it.(Aside from the 8year old pc that was running on jury-rigged parts that I used to use.)
Logged
Indeed.

thisisjimmy

  • Bay Watcher
    • View Profile
Re: 2 FPS and no end in sight...
« Reply #13 on: December 19, 2011, 05:52:02 pm »

Don't bother setting the process to realtime priority. It won't help, and it could potentially cause your system to become unresponsive.  In fact, if you aren't running any other CPU intensive processes, even setting it to high won't make much difference (probably less than 1% improvement).
Logged

treczoks

  • Bay Watcher
    • View Profile
Re: 2 FPS and no end in sight...
« Reply #14 on: December 19, 2011, 06:10:42 pm »

The End Is Nigh!
Well, at least one part of the lake in "Cave 2" is almost dry, and the lake in "Cave 3" is down to about 2/7.
I learned a bunch about U-pipes and water in this fortress. Some of it the hard way - "Dwarf" is just another word for "idiot", it seems. I had to use traffic restrictions to keep them from just wading across the partially emptied lake.
Hopefully the FPS will rise again when the lakes have dried off. I'd hate to abandon this fort, there are two adamantine spikes protruding into Cave 3 that are just waiting for me.
Logged
I fall into a strange mood. I withdraw from society. I claim a computer. I draw pictures of bedrooms. I draw pictures of farming levels. I draw pictures of defenses. I draw pictures of pipes and pumps. I start playing Dwarf Fortress!