Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 7 8 [9] 10 11

Author Topic: Is the constant simulation of the game world worth getting 1/5th the FPS?  (Read 24722 times)

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: Is the constant simulation of the game world worth getting 1/5th the FPS?
« Reply #120 on: September 30, 2014, 02:45:07 pm »

I tend to pave large areas...so I suppose I have not really noticed the FPS issues as much
You guys can just declare stockpiles. Empty ones, without anything that is stored in them. You can quickly cover the entire caverns with it, and nothing will grow.

Once you remove it, the supressed vegetation instantly grows though, keep that in mind. I have been using this trick for ages to keep my waterways free of tree saplings.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

smjjames

  • Bay Watcher
    • View Profile
Re: Is the constant simulation of the game world worth getting 1/5th the FPS?
« Reply #121 on: September 30, 2014, 02:53:10 pm »

Well, if it's the trees, then Toady One will have a good target to refine the optimization.

Many versions ago, back in 40d, before the caverns, I preferred to play on desert embarks because I noticed there was less lag due to fewer (if any) trees. Of course though, there were probably other factors resulting in more lag with more trees.
Logged

dwarf_reform

  • Bay Watcher
  • [NOT_BUTCHERABLE]
    • View Profile
Re: Is the constant simulation of the game world worth getting 1/5th the FPS?
« Reply #122 on: October 01, 2014, 02:09:01 am »

Been keeping an eye out for culprits as I play and just saw this:

Spoiler (click to show/hide)

Torn emu muscle is terrifying, so terrifying you have to withdraw 149 times in a row.. I can just see the poor guy, fists full of beard and pressed to his face in absolute horror as the mildly wounded emu honks sounds of indignant rage, chanting rapidly, "I must withdraw I must withdraw I mustwithdrawImustwithdrawmustwithdraw*wheeze*musmusmusss.." as he flees back to the fort :)

Anyway, I figure he could say it once, or even three times (works for Beetlejuice and Dorothy), but 149 is a little verbose..
Logged

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Is the constant simulation of the game world worth getting 1/5th the FPS?
« Reply #123 on: October 01, 2014, 02:48:57 am »

Those are probably all separate encounters, only one of which he actually fired a shot that hit (the emu one).

Two

  • Bay Watcher
    • View Profile
Re: Is the constant simulation of the game world worth getting 1/5th the FPS?
« Reply #124 on: October 01, 2014, 03:36:12 am »

After all we know, it could be a sleep(100) statement that Toady forgot somewhere inside the code. It is true that lag occurs more often if certain conditions are present (like zombie invasions, those are always bad, in general), however the cause of it is just pure speculation. And without access to the code, it stays pure speculation. Therefore ideas for fixes might be as beneficial as they might be harmful.

Threading if done right is a very easy way to calculate two things at the same time, however if it is not done right, it has devastating results, mostly because threading bugs are extremely difficult to locate as they seem to happen randomly. I doubt that the DF code is prepared to handle threading, so without a major rewrite, only very few things can be made threaded.

However there are several models for threading, and some - again if implemented correctly - could increase performance significantly. Pathing is a good example for such a task, as it is completely independent from everything else, and therefore could be done in parallel for all entities. I cannot however say anything about Toady's experience with multi-threading, so there might be other reasons why he is not doing it.
Logged

rhoxa

  • Bay Watcher
    • View Profile
Re: Is the constant simulation of the game world worth getting 1/5th the FPS?
« Reply #125 on: October 01, 2014, 02:50:39 pm »

In the process of clear cutting my map now.  Somewhere between 50% and 75% done I think and FPS looks like it has only gotten worse.  I've also got well over 7000 logs now, so theres that. 
Logged

smjjames

  • Bay Watcher
    • View Profile
Re: Is the constant simulation of the game world worth getting 1/5th the FPS?
« Reply #126 on: October 01, 2014, 02:54:23 pm »

What happens if you get rid of the 7k+ logs?

You could also be getting lower FPS as the dwarves path while gathering the logs.
Logged

Dirst

  • Bay Watcher
  • [EASILY_DISTRA
    • View Profile
Re: Is the constant simulation of the game world worth getting 1/5th the FPS?
« Reply #127 on: October 01, 2014, 03:52:04 pm »

What happens if you get rid of the 7k+ logs?

You could also be getting lower FPS as the dwarves path while gathering the logs.
And then eventually you need a mouse to get rid of the elephant you used to get rid of the bear you used to get rid of the tiger you used to get rid of the dog you used to get rid of the cat that you used to get rid of the mouse...
Logged
Just got back, updating:
(0.42 & 0.43) The Earth Strikes Back! v2.15 - Pay attention...  It's a mine!  It's-a not yours!
(0.42 & 0.43) Appearance Tweaks v1.03 - Tease those hippies about their pointy ears.
(0.42 & 0.43) Accessibility Utility v1.04 - Console tools to navigate the map

Uronym

  • Bay Watcher
    • View Profile
Re: Is the constant simulation of the game world worth getting 1/5th the FPS?
« Reply #128 on: October 01, 2014, 04:19:48 pm »

What happens if you get rid of the 7k+ logs?

You could also be getting lower FPS as the dwarves path while gathering the logs.
And then eventually you need a mouse to get rid of the elephant you used to get rid of the bear you used to get rid of the tiger you used to get rid of the dog you used to get rid of the cat that you used to get rid of the mouse...

The magma is already there, you just need to cut a little hole into it and drop the logs in!
Logged
What I think we're saying is we need dwarves to riot and break things more often.

rhoxa

  • Bay Watcher
    • View Profile
Re: Is the constant simulation of the game world worth getting 1/5th the FPS?
« Reply #129 on: October 01, 2014, 04:37:41 pm »

What happens if you get rid of the 7k+ logs?

You could also be getting lower FPS as the dwarves path while gathering the logs.

I removed logs from all the stockpiles so they are all just littering the ground and not being picked up.  The map is almost entirely covered, haha.  I guess I could try removing the logs.  I'm assuming DFhack has a tool for that?  I've never had to do it before. 
Logged

malvado

  • Bay Watcher
    • View Profile
Re: Is the constant simulation of the game world worth getting 1/5th the FPS?
« Reply #130 on: October 01, 2014, 04:48:54 pm »

I've entirely clean cut most Z levels and it doesnt seem to improve Fps, even when Atom smashing and teleporting logs there...
I think the culprit is elsewhere...
Logged

NullForceOmega

  • Bay Watcher
  • But, really, it's divine. Divinely tiresome.
    • View Profile
Re: Is the constant simulation of the game world worth getting 1/5th the FPS?
« Reply #131 on: October 01, 2014, 05:58:17 pm »

If you want the logs collected use 'autodump', if you want them gone use 'autodump destroy', note that you must designate them for dumping, I suggest the use of your stocks screen for that purpose.
Logged
Grey morality is for people who wish to avoid retribution for misdeeds.

NullForceOmega is an immortal neanderthal who has been an amnesiac for the past 5000 years.

GavJ

  • Bay Watcher
    • View Profile
Re: Is the constant simulation of the game world worth getting 1/5th the FPS?
« Reply #132 on: October 01, 2014, 06:10:29 pm »

I tend to pave large areas...so I suppose I have not really noticed the FPS issues as much
You guys can just declare stockpiles. Empty ones, without anything that is stored in them. You can quickly cover the entire caverns with it, and nothing will grow.

Once you remove it, the supressed vegetation instantly grows though, keep that in mind. I have been using this trick for ages to keep my waterways free of tree saplings.
Lol, nice. Can you kill clowns by leading them through a long series of hallways where you keep un-stockpiling and attempting to hit them with random tree trunks growing into them?
Logged
Cauliflower Labs – Geologically realistic world generator devblog

Dwarf fortress in 50 words: You start with seven alcoholic, manic-depressive dwarves. You build a fortress in the wilderness where EVERYTHING tries to kill you, including your own dwarves. Usually, your chief imports are immigrants, beer, and optimism. Your chief exports are misery, limestone violins, forest fires, elf tallow soap, and carved kitten bone.

smjjames

  • Bay Watcher
    • View Profile
Re: Is the constant simulation of the game world worth getting 1/5th the FPS?
« Reply #133 on: October 01, 2014, 06:33:48 pm »

After doing clear cutting, have you tried doing stuff like the usual methods to help increase FPS with DFhack in 34.11? Mainly the tweak or fix commands to do stuff like stabilize temperature and clear the map of contaminants. Just to eliminate the usual suspects contributing to lag.
« Last Edit: October 01, 2014, 06:38:19 pm by smjjames »
Logged

Robsoie

  • Bay Watcher
  • Urist McAngry
    • View Profile
Re: Is the constant simulation of the game world worth getting 1/5th the FPS?
« Reply #134 on: October 01, 2014, 08:44:30 pm »

Would be interesting to know if using the temperature fix from dfhack improve the performance, especially as the bug about temperature never stabilizing is supposedly fixed.
So if the dfhack fix helps, it means the bug isn't completely fixed.

But i think many of you reporting horrible performance for no obvious reason should really make a bug report about it with the saved game.
For both Toady and people that know where to look, it would surely be helpful
Logged
Pages: 1 ... 7 8 [9] 10 11