View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005384 | Dwarf Fortress | Dwarf Mode -- Idle Behavior | public | 2012-02-21 20:22 | 2012-02-22 12:49 |
Reporter | Solra Bizna | Assigned To | |||
Priority | low | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | 0.34.02 | ||||
Summary | 0005384: Widespread starvation causes lag from dwarves searching for food too often | ||||
Description | When a dwarf is very hungry ("Starving?") he/she will try to find food every time he/she gets a move. With an extended famine in a large fort, this causes a substantial drop in tickrate. | ||||
Steps To Reproduce | 1. Get a large population. 2. Stop making food. 3. Wait. | ||||
Additional Information | Famine is something that happens rarely, and is a very serious event on its own. Avoiding famine--a popular policy--avoids this problem. This problem disappears instantly when the dwarves are fed. This problem could be fixed by making starving dwarves search for food less often, but that would also make them less responsive to a restoration of the food supply, and therefore more likely to starve before reaching food. Most people (myself included) would rather watch their dwarves weather the famine than watch them die, regardless of tickrate. Honestly, if this bug gets CLOSED'd and WONTFIX'd, I won't even blink. I'm only filing it in the first place because I'm utterly insane. | ||||
Tags | No tags attached. | ||||
|
related to 0001937 (Animal Hauler Caught in Loop When Hauling Out of Burrow - action retrie too often, but due to burrows) |
|
This one could potentially be fixed by searching for food at all before trying to path to it, or some other form of not every dwarf needs to search the map for food before the engine realizes there is none on a given turn. Since the pathfinding engine already supports connectivity zones, it should be able to track if a dwarf in this zone has failed to find food this turn. Might lead to issues with burrows, though |
|
Does "try to find food" mean normal food or the "Hunt for small creature" job? |
|
Normal food. The "hunt for small creature" job is also pathfinding intensive, but they only try to get a new path every few moves instead of every move. (I did notice that every single dwarf in my fort with that job would attempt to hunt the same individual vermin, though. Watching 80+ dwarves scramble over each other to catch one fly was a little sad. I'd file a separate bug for that if I had more data.) |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-02-21 20:22 | Solra Bizna | New Issue | |
2012-02-22 00:44 | Kogut | Note Added: 0020436 | |
2012-02-22 06:09 | Granite26 | Note Added: 0020444 | |
2012-02-22 06:23 |
|
Summary | Famine causes lag => Widespread starvation causes lag from dwarves searching for food too often |
2012-02-22 06:24 |
|
Note Added: 0020449 | |
2012-02-22 06:25 |
|
Tag Attached: AWAITING UPDATE | |
2012-02-22 12:11 | Solra Bizna | Note Added: 0020477 | |
2012-02-22 12:49 |
|
Tag Detached: AWAITING UPDATE |