]> git.sesse.net Git - stockfish/blobdiff - src/search.cpp
Reduce variation in rootDepth between different threads
[stockfish] / src / search.cpp
index 77c5b2d3b8829a42ff31e75d743f9fe282d3d919..fff9144d93152b1a7fd0469bdffa3d63877960c8 100644 (file)
@@ -376,7 +376,7 @@ void Thread::search(bool isMainThread) {
   {
       // Set up the new depth for the helper threads
       if (!isMainThread)
-          rootDepth = Threads.main()->rootDepth + Depth(int(3 * log(1 + this->idx)));
+          rootDepth = Threads.main()->rootDepth + Depth(int(2.2 * log(1 + this->idx)));
 
       // Age out PV variability metric
       if (isMainThread)