The following report might be useful for people experiencing bad "lag attacks" when playing DF on laptops.
Ever since starting to play DF, I had trouble with lag. Usually the game would run really smooth at first, for example at 75 FPS with 40 dwarves. But after playing for 5 minutes, the FPS would suddenly drop to 30, or even less, everything slowing down to a crawl. After pausing the game for a while, it would return to 75 FPS, only to slow down again a minute later. So frustrating!
My machine is an Acer Aspire 5650 laptop, core duo (T2400 @ 1.83GHz) with 2 GB RAM and NVidia GeForce Go 7600.
At first I blamed DF, and tried to fix it by using smaller areas, or limiting the population. That did increase the FPS a little bit, but I still had the problem with the sudden slowdown after a few minutes of play.
Next I tried fiddling with the graphics settings... vsync, FPS caps, and so on... but that didn't change anything at all.
Finally I got the idea to monitor my CPU speed and temperature. I used a tool called Notebook Hardware Control (NHC) for that. When the game was running, the CPU (well, one core of course) ran at full clock (1.83GHz) and at full load, and the CPU temperature climbed rapidly. Starting from 65C, it rose up to 100C in 5 minutes. At that point, the game suddenly slowed down from 75 FPS to 30 FPS, even though NHC still said the CPU was running at 1.83GHz. I suppose some internal mechanism of the CPU kicked in to prevent overheating. The temperature dropped to 92C, then rising again slowly. When it hit 100C again, the game slowed down even more, to 22 FPS. Pausing the game for a while let the CPU cool down, so it ran at 75 FPS again until getting too hot.
Now to the solution. Most laptops will dynamically switch the CPU speed depending on CPU load, at least while running on AC power. NHC and some other tools allow setting/limiting the CPU clock speed. So I locked the CPU clock at its lowest setting, 1 GHz. The game ran at only 42 FPS then, but the CPU temperature never climbed above 70C and there was no slowdown, the FPS remained constant. Not very fast, but playable. I found that I could allow a clock speed of up to 1.50 GHz, if I pause the game occasionally, resulting in a constant 60 FPS.
In short... if you have a laptop (or maybe PC) like mine, which apparently isn't designed to run at full load for more than 5 minutes, check if your CPU might be overheating. In that case, limiting the CPU to a lower speed could improve your playing experience, even if it decreases the FPS a bit. But I find that much more tolerable then the sudden lag attacks I got before.
Cheers!