196
DF Dwarf Mode Discussion / Re: Anything I can do to reduce lag?
« on: December 08, 2009, 10:21:21 pm »
See this article. In short, try embarking with a smaller map (4x4 is the size I use and is significantly faster while still being able to accommodate a very large fort, albeit one being a little more vertical) and avoid features like chasms, towns (lots of denizens pathing everywhere) rivers (due to flow; brooks are the least laggy of them) extreme cliffs (no idea why), and magma (clunky temperature engine). Cage all creatures or put them in 1 tile pens with a restraint so they don't path all over the darn place. If you use that method make sure to make the doors non pet passable.
Probably one of the most significant sources of lag in any fort though is the number of dwarves. 200 dwarves, the default population cap in the init is insane, 100 dwarves is the max anyone should use unless your computer really can handle more, that's more dwarves than anyone should need. I set it to 40 (which usually equates to ~50 due to it not being a hard cap but a simple immigration check) and it's enough for me to get by with 50fps on a mountain map with a 1.8ghz cpu, though I won't be raising any massive armies.
Besides that, avoiding lag entirely in DF is pretty much impossible, especially since IIRC it only uses one core in any cpu. Everyone gets it. Embrace the lag.
Probably one of the most significant sources of lag in any fort though is the number of dwarves. 200 dwarves, the default population cap in the init is insane, 100 dwarves is the max anyone should use unless your computer really can handle more, that's more dwarves than anyone should need. I set it to 40 (which usually equates to ~50 due to it not being a hard cap but a simple immigration check) and it's enough for me to get by with 50fps on a mountain map with a 1.8ghz cpu, though I won't be raising any massive armies.
Besides that, avoiding lag entirely in DF is pretty much impossible, especially since IIRC it only uses one core in any cpu. Everyone gets it. Embrace the lag.


