1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-07-12 03:59:15 +00:00

Use minimumSplitDepth = 5

Using minimumSplitDepth = 5 seems to be the best compromise in the
current SMP implementation

STC, 11 threads:

ELO: 14.87 +-4.1 (95%) LOS: 100.0%
Total: 8509 W: 1497 L: 1133 D: 5879

STC, 4 threads:

ELO: 0.30 +-2.8 (95%) LOS: 58.2%
Total: 20000 W: 3365 L: 3348 D: 13287

STC, 2 threads:

ELO: -1.02 +-2.0 (95%) LOS: 16.4%
Total: 40000 W: 7087 L: 7204 D: 25709

Resolves #324
This commit is contained in:
Stéphane Nicolet 2015-04-04 18:07:45 +02:00 committed by Joona Kiiski
parent ffbaa1c5a8
commit 2ca142a5b4

View file

@ -323,7 +323,7 @@ void ThreadPool::read_uci_options() {
// If zero (default) then set best minimum split depth automatically // If zero (default) then set best minimum split depth automatically
if (!minimumSplitDepth) if (!minimumSplitDepth)
minimumSplitDepth = requested < 8 ? 4 * ONE_PLY : 7 * ONE_PLY; minimumSplitDepth = 5 * ONE_PLY ;
while (size() < requested) while (size() < requested)
push_back(new_thread<Thread>()); push_back(new_thread<Thread>());