Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: 50% speed up from cleaning the map of "item spatters" (fruit & leaves)  (Read 3307 times)

Loci

  • Bay Watcher
    • View Profile

I saw a 50% increase in FPS by using dfhack's "clean map item" command to remove all the fruit and leaves that had accumulated in the 8 years since my fortress was established. Are these "spatters" not being cleared away automatically on a seasonal or yearly basis?
Logged

Celarious

  • Bay Watcher
    • View Profile
Re: 50% speed up from cleaning the map of "item spatters" (fruit & leaves)
« Reply #1 on: September 06, 2014, 12:57:48 pm »

Mine have been there for about a year now, so probably not. I did notice some leaves disappear due to rain but that's not really... much
Logged

Tacomagic

  • Bay Watcher
  • Proud Sir Wordy McWordiness at your service.
    • View Profile
Re: 50% speed up from cleaning the map of "item spatters" (fruit & leaves)
« Reply #2 on: September 06, 2014, 01:24:46 pm »

I saw a 50% increase in FPS by using dfhack's "clean map item" command to remove all the fruit and leaves that had accumulated in the 8 years since my fortress was established. Are these "spatters" not being cleared away automatically on a seasonal or yearly basis?

Seems like this is indeed what is happening.  Might be worth a bug report as I don't see one addressing this specific problem.

Good to know that you can use DFHack to clean it up.  Now we have an idea why there's a sudden FPS drop in the second year.  A very subtle elven attack if ever I've seen one!
Logged

TheHossofMoss

  • Bay Watcher
  • "Man muss Heu machen, solange die Sonne scheint."
    • View Profile
Re: 50% speed up from cleaning the map of "item spatters" (fruit & leaves)
« Reply #3 on: September 06, 2014, 03:23:09 pm »

I saw a 50% increase in FPS by using dfhack's "clean map item" command to remove all the fruit and leaves that had accumulated in the 8 years since my fortress was established. Are these "spatters" not being cleared away automatically on a seasonal or yearly basis?

Seems like this is indeed what is happening.  Might be worth a bug report as I don't see one addressing this specific problem.

Good to know that you can use DFHack to clean it up.  Now we have an idea why there's a sudden FPS drop in the second year.  A very subtle elven attack if ever I've seen one!

The elves have harnessed the power of nature to cause the inevitable FPS Death! By Armok, how terrifying!
« Last Edit: September 09, 2014, 11:55:03 am by TheHossofMoss »
Logged
On the Fifth Day of Axemas, my love saved the fort from...
Five sieging Werebeasts, four Giant Dingoes, three sneaky Thieves, two drunken Black bears, and a Titan killing spree!

Tacomagic

  • Bay Watcher
  • Proud Sir Wordy McWordiness at your service.
    • View Profile
Re: 50% speed up from cleaning the map of "item spatters" (fruit & leaves)
« Reply #4 on: September 06, 2014, 03:39:35 pm »

I saw a 50% increase in FPS by using dfhack's "clean map item" command to remove all the fruit and leaves that had accumulated in the 8 years since my fortress was established. Are these "spatters" not being cleared away automatically on a seasonal or yearly basis?

Seems like this is indeed what is happening.  Might be worth a bug report as I don't see one addressing this specific problem.

Good to know that you can use DFHack to clean it up.  Now we have an idea why there's a sudden FPS drop in the second year.  A very subtle elven attack if ever I've seen one!

Th elves have harnessed the power of nature to cause the inevitable FPS Death! By Armok, how terrifying!

The leaves are attacking our frame-rate!  Unleash the lava!
Logged

Chaine Maile

  • Bay Watcher
  • Definitely Crazy
    • View Profile
Re: 50% speed up from cleaning the map of "item spatters" (fruit & leaves)
« Reply #5 on: September 06, 2014, 03:54:47 pm »

Thank you for posting this info.
Logged

Romegypt

  • Bay Watcher
    • View Profile
Re: 50% speed up from cleaning the map of "item spatters" (fruit & leaves)
« Reply #6 on: September 06, 2014, 04:20:41 pm »

useful stuff thanks!
Logged

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: 50% speed up from cleaning the map of "item spatters" (fruit & leaves)
« Reply #7 on: September 06, 2014, 04:49:05 pm »

I tried this in my seventh year, but honestly there was no a single frame per second of difference so I reverted a save (that was last week with DFHack for v.0.40.10). So I would check it out on any particular machine. Also - this stuff (flowers, fruit) is cleared or changed seasonally. I don't have seven layers of plums. But most spatter is not - blood, FB extracts and similar. Dwarves sometimes clean this, rain does (but only some of it - the blood is most pertinent), but most stays.
Logged

Chief10

  • Bay Watcher
  • since 31
    • View Profile
Re: 50% speed up from cleaning the map of "item spatters" (fruit & leaves)
« Reply #8 on: September 07, 2014, 06:00:12 pm »

Can someone help me do this? I've never used DF Hack before. Is there even one for the new version?

Step by step instructions would be appreciated :)
Logged

Treefingers

  • Bay Watcher
  • ...grumbles only mildly at inclement weather.
    • View Profile
Re: 50% speed up from cleaning the map of "item spatters" (fruit & leaves)
« Reply #9 on: September 08, 2014, 12:18:25 am »

Can someone help me do this? I've never used DF Hack before. Is there even one for the new version?
There is a dfhack for 0.40.10 at http://www.bay12forums.com/smf/index.php?topic=139553.0

Installation and the cleaning commands are probably the easiest things about dfhack.
Logged

Loci

  • Bay Watcher
    • View Profile
Re: 50% speed up from cleaning the map of "item spatters" (fruit & leaves)
« Reply #10 on: September 08, 2014, 02:16:06 pm »

I tried this in my seventh year, but honestly there was no a single frame per second of difference so I reverted a save (that was last week with DFHack for v.0.40.10). So I would check it out on any particular machine.
The machine, and embark size and biome (4x/heavily wooded) probably do play a role. However, I am surprised you wouldn't see any improvement at all. You did use the "clean map item" command, not the confusingly similar "clean items" command?

Also - this stuff (flowers, fruit) is cleared or changed seasonally. I don't have seven layers of plums. But most spatter is not - blood, FB extracts and similar. Dwarves sometimes clean this, rain does (but only some of it - the blood is most pertinent), but most stays.
Item spatters may be cleared by some mechanism but they are certainly not being cleared seasonally. I had a persimmon tree growing inside my fortress. It dropped leaves in fall; I ordered it chopped down in early winter. Next winter the leaves were still there, and now (the summer following) the leaves still remain.
Logged

Bumber

  • Bay Watcher
  • REMOVE KOBOLD
    • View Profile
Re: 50% speed up from cleaning the map of "item spatters" (fruit & leaves)
« Reply #11 on: September 09, 2014, 01:44:37 am »

Item spatters may be cleared by some mechanism but they are certainly not being cleared seasonally. I had a persimmon tree growing inside my fortress. It dropped leaves in fall; I ordered it chopped down in early winter. Next winter the leaves were still there, and now (the summer following) the leaves still remain.
Could be the rain. It wouldn't reach inside.
Logged
Reading his name would trigger it. Thinking of him would trigger it. No other circumstances would trigger it- it was strictly related to the concept of Bill Clinton entering the conscious mind.

THE xTROLL FUR SOCKx RUSE WAS A........... DISTACTION        the carp HAVE the wagon

A wizard has turned you into a wagon. This was inevitable (Y/y)?

StagnantSoul

  • Bay Watcher
  • "Player has withdrawn from society!"
    • View Profile
Re: 50% speed up from cleaning the map of "item spatters" (fruit & leaves)
« Reply #12 on: September 09, 2014, 01:54:31 am »

I tried this on my heavily forested map, and received one full extra FPS. Considering how low it is on average, that one average was great.
Logged
Quote from: Cptn Kaladin Anrizlokum
I threw night creature blood into a night creature's heart and she pulled it out and bled to death.
Quote from: Eric Blank
Places to jibber madly at each other, got it
Quote from: NJW2000
If any of them are made of fire, throw stuff, run, and think non-flammable thoughts.