The errorlog didn't reveal anything that I think is of interest. It's simply spammed with few lines of
Unrecognized Tile Page Token: CREATURE
Unrecognized Tile Page Token: DEFAULT
Unrecognized Tile Page Token: CHILD
Unrecognized Tile Page Token: ZOMBIE
Unrecognized Tile Page Token: SKELETON
and at the very bottom I got one pathfinding error relating to one worker not finding a path to a stockpile. I played over 2 in-game months to get that one error, at the same time there must've been hundreds of lags.
Regarding to the "Maximizing framerate" article...
Atm, I got weather off, temp. off, artifacts off, everything else on. Most corridors are either 2 or 3 squares, with pillar in the middle, wide, effectively they both have the same traffic capacity. I've tried getting rid of the bottlenecks, pillars and widen the hallways, but it had no effect. In fact, most fortresses can't benefit from corridors wider than 2-3 squares, since dwarfs will always walk the same path as all others heading in the same direction regardless of how crowded it is. Usually the dwarfs going and those who are coming walk different sides of the corridor, but thats about it. A good planner can take advantage of corridors 3, 4 or even 5 squares wide by placing obstacles, exits and entrances the right way, but it requires a lot of planning and space and pays off only if theres truly massive traffic in the area. If I'm building a very compact fortress with short hauling paths, I simply build a lot of alternative paths, so that different haulers take different paths. However, if the paths are very long then I simply go with only a few 2-3 square corridors. There's simply no point in making wider corridors. And corridors only affected the framerate in .33a, when every time a path filled up the dwarfs would try to calculate a new path and that created lag, which I mentioned in my previous post as the "33a pathfinding lag".
Anyway, back to the topic. My embark rectangle was 3-4 in with and some 7-9 squares in length and one my corridors goes from the middle of the map to the upper right corner of the map. The destination for the corridor lies in a diagonal path, but the corridor has no diagonal parts, making it even longer and it seems that the lag is caused every time a worker tries to find a path through that corridor. May it be that the pathing code has a distance at which it tries to recalculate the path? The distance itself shouldn't be much of a problem.
Heck, may-be it's the government trying to get me!
- Noctis