jhonnold / berserk

UCI Chess Engine written in C
GNU General Public License v3.0
200 stars 32 forks source link

Implement CFish sleeping thread pool #434

Closed jhonnold closed 1 year ago

jhonnold commented 1 year ago

Bench: 4803004

Patch shows minor regression at SMP, but merging regardless. Patch will improve reliability at high thread counts, and I suspect the SMP regression is due to the VSTC TC.

STC

ELO   | 2.28 +- 3.06 (95%)
SPRT  | 10.0+0.10s Threads=1 Hash=8MB
LLR   | 2.98 (-2.94, 2.94) [-3.00, 0.00]
GAMES | N: 23272 W: 5551 L: 5398 D: 12323

STC SMP

ELO   | -1.80 +- 1.73 (95%)
SPRT  | 5.0+0.05s Threads=8 Hash=64MB
LLR   | -2.00 (-2.94, 2.94) [-3.00, 0.00]
GAMES | N: 71049 W: 16196 L: 16564 D: 38289