mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 16:53:09 +00:00
![]() Because of aggressive time management and optimistic assumptions about move overhead, it's still very easy to get Stockfish to forfeit on time when we hit an endgame and have Syzygy EGTB on a spinning drive. The latency from serving a few thousand EGTB probes (~10ms each), of which there can currently be up to 4000 outstanding before a time check, will easily overwhelm the default Move Overhead of 30ms. This problem was first raised by Gian-Carlo Pascutto and some solutions and improvements were discussed in the following pull requests: https://github.com/official-stockfish/Stockfish/pull/1471 https://github.com/official-stockfish/Stockfish/pull/1623 https://github.com/official-stockfish/Stockfish/pull/1783 This patch is a minimal change proposed by Marco Costalba to lower the impact of the bug. We now force a check of the clock right after each tablebase read. No functional change. |
||
---|---|---|
.. | ||
syzygy | ||
benchmark.cpp | ||
bitbase.cpp | ||
bitboard.cpp | ||
bitboard.h | ||
endgame.cpp | ||
endgame.h | ||
evaluate.cpp | ||
evaluate.h | ||
main.cpp | ||
Makefile | ||
material.cpp | ||
material.h | ||
misc.cpp | ||
misc.h | ||
movegen.cpp | ||
movegen.h | ||
movepick.cpp | ||
movepick.h | ||
pawns.cpp | ||
pawns.h | ||
position.cpp | ||
position.h | ||
psqt.cpp | ||
search.cpp | ||
search.h | ||
thread.cpp | ||
thread.h | ||
thread_win32.h | ||
timeman.cpp | ||
timeman.h | ||
tt.cpp | ||
tt.h | ||
types.h | ||
uci.cpp | ||
uci.h | ||
ucioption.cpp |