Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

When I'm playing Dwarf Fortress my CPU usage is near 100%. This limits the usage of other applications when I alt-tab out of the game. Why does the game require so much processor usage? Is there a way to turn down some options to reduce the processor usage?

share|improve this question
2  
Imagine if the interface was 100% graphical :-D –  Luc M Mar 17 '12 at 2:56
    
yikes! it'd be like 1 frame-per-second or something. –  philthemustard Mar 17 '12 at 3:03
2  
Have you ever looked at the size of the file? It huge for a close to no graphics game! –  Russell Mar 19 '12 at 15:15
add comment

1 Answer

up vote 12 down vote accepted

When talking about Dwarf Fortress, it sometimes helps to not think of the game as a game, but more like a simulation. The game simulates a lot of things behind the scenes, some of which are very computationally intensive. For instance:

  • Pathfinding - Every unit on the map - not only your dorfs, but also animals, pets, enemies does pathfinding to to keep track of where they're going
  • Fluids - The game simulates flowing fluid's velocity, pressure and depth, as well as generating mists when they fall over several z-levels
  • Temperature - When having Fun with magma and fire, the game keeps track of temperature of each individual tile and object, melting and setting them on fire when necessary
  • Body parts - During combat, parts as small as individual fingernails are simulated and taken into account when combatants engage in biting, stabbing and chopping

In addition to the above, DF is mostly single threaded - the main simulation thread usually runs on one CPU core, while the secondary graphics thread runs on another. This means that DF usually does not see significant speedup with modern, multicores processors.

To reduce CPU usage, first cap your FPS below the maximum you usually get, then improve performance by disabling some of the simulation elements mentioned above. Magmawiki has a good article about maximizing FPS that should help you.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.