]> git.sesse.net Git - stockfish/commitdiff
Increase reductions with the number of threads
authorStéphane Nicolet <cassio@free.fr>
Tue, 22 Sep 2020 20:43:41 +0000 (22:43 +0200)
committerStéphane Nicolet <cassio@free.fr>
Tue, 22 Sep 2020 20:45:02 +0000 (22:45 +0200)
Passed STC with 8 threads:
LLR: 2.92 (-2.94,2.94) {-0.25,1.25}
Total: 13520 W: 1135 L: 1012 D: 11373
Ptnml(0-2): 39, 815, 4929, 938, 39
https://tests.stockfishchess.org/tests/view/5f68e274ded68c240be73f41

Passed LTC with 8 threads:
LLR: 2.96 (-2.94,2.94) {0.25,1.25}
Total: 48384 W: 2183 L: 1994 D: 44207
Ptnml(0-2): 28, 1777, 20402, 1948, 37
https://tests.stockfishchess.org/tests/view/5f68f068ded68c240be747e9

closes https://github.com/official-stockfish/Stockfish/pull/3142

No functional change (for one thread)

src/search.cpp

index edc020fd6900f289c2dd33f75eb7327476ce60d2..4650b1579bf0e11dafd78722151ab5d54f0370d5 100644 (file)
@@ -192,7 +192,7 @@ namespace {
 void Search::init() {
 
   for (int i = 1; i < MAX_MOVES; ++i)
-      Reductions[i] = int((22.0 + std::log(Threads.size())) * std::log(i));
+      Reductions[i] = int((22.0 + 2 * std::log(Threads.size())) * std::log(i));
 }