deep-position-analysis
deep-position-analysis copied to clipboard
Writing analysis output...
Hello,
When analyzing a pos in really higher depths (>30plies) writing final analysis from memory to a file can be extremely time consuming.
Case study Some trivial rook ending: 3 connected pwns vs 3 isolated - long mating variations for Black Starting FEN "8/8/5k2/2PR1ppp/8/2r1PK1P/8/8 b - - 0 56" (Best move f4)
dpa.py -p ./stockfish -d 24 -c ./sf.cfg --depth 30 --pv 10W3B -k 350W60B --threshold 25B g.pgn (Using: 30 Threads & 16G mem) ...................................... Completed position analysis 1 of 1 from g.pgn in 2 hours 27 minutes 47 seconds. Saving result.
Saving took ~5h (for ~26M output)!!!
Can this procedure be optimized?
Thank you M.N.
Sorry for only noticing this now. Somehow no notifications popped up in my feed...
I will try to take look at your issue this week. I think it can be easily optimized but I could be wrong.
Thank you for submitting an issue !