Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0010399Dwarf FortressPathfindingpublic2017-12-01 10:462017-12-03 10:19
Syndras 
Loci 
highmajorsometimes
acknowledgedopen 
Windows 7
0.44.02 
 
0010399: Visitors pathing to attack flying animals cause heavy lag.
Certain flying creatures will drop my FPS from solid 65~ to anywhere between 1 and 25 usually in the 1-10 range.
Have a group of flying creatures appear in area.
Certain flying creatures cause issues and some don't.
Don't:
Ravens, Giant ravens.
Do:
Buzzards, Peach faced lovebird men/women.
Could be aggressive creatures that cause issues?

They seem to lag when they get near my overground tavern consisting of over 120 human soldiers, perhaps its pathing issues or ranger issues? It lags when they're not shooting.

Could also be the simple hunter lag issue although there are no hunting job cancellations.
0.44.02, lag
related to 0009601resolved Loci Reproducible crash 
Issue History
2017-12-01 10:46SyndrasNew Issue
2017-12-01 10:56SyndrasTag Attached: 0.44.02
2017-12-01 10:57SyndrasTag Attached: lag
2017-12-01 11:33SyndrasIssue Monitored: Syndras
2017-12-01 11:33SyndrasIssue End Monitor: Syndras
2017-12-01 11:54SyndrasNote Added: 0037166
2017-12-03 08:22SyndrasNote Added: 0037199
2017-12-03 08:56LociNote Added: 0037202
2017-12-03 08:56LociAssigned To => Loci
2017-12-03 08:56LociStatusnew => acknowledged
2017-12-03 08:58LociSummaryFlying animals cause heavy lag. => Visitors pathing to attack flying animals cause heavy lag.
2017-12-03 09:00LociNote Edited: 0037202bug_revision_view_page.php?bugnote_id=0037202#r15007
2017-12-03 10:19SyndrasNote Added: 0037204
2018-05-08 20:10LociRelationship addedrelated to 0009601

Notes
(0037166)
Syndras   
2017-12-01 11:54   
I have disabled all hunters and the issue persists, will try moving tavern underground next.
(0037199)
Syndras   
2017-12-03 08:22   
It seems to just be something to do with vast amounts of human soldiers trying to kill the flying creatures although not many are shooting so i guess the melee soldiers are also trying to path.

This isn't necessarily a bug so close it if you wish.
(0037202)
Loci   
2017-12-03 08:56   
(edited on: 2017-12-03 09:00)
The martial code uses "jump/climb pathing", which is more costly than regular pathing. Perhaps there should be some sort of sanity-check or cool-down when targeting flying creatures.

If you still have the laggy save, please upload it on DFFD ( http://dffd.bay12games.com/ [^] ) and post a link here.

(0037204)
Syndras   
2017-12-03 10:19   
http://dffd.bay12games.com/file.php?id=13277 [^]