]> git.sesse.net Git - stockfish/commitdiff
Set TT size to 32 MB during 'bench'
authorMarco Costalba <mcostalba@gmail.com>
Sun, 14 Oct 2012 07:02:04 +0000 (09:02 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 14 Oct 2012 07:02:17 +0000 (09:02 +0200)
On some platforms 128 MB of RAM for TT is too much,
so run 'bench' with the default 32 MB size.

No functional change although of course now 'bench'
reports a different number: 5545018

src/benchmark.cpp

index f63cb8e9b7f6005a7e0aa7bdea2c256d10651e0b..0e7208755fbacc65e4fc4c916de552e23dacfa4e 100644 (file)
@@ -66,7 +66,7 @@ void benchmark(const Position& current, istream& is) {
   vector<string> fens;
 
   // Assign default values to missing arguments
-  string ttSize    = (is >> token) ? token : "128";
+  string ttSize    = (is >> token) ? token : "32";
   string threads   = (is >> token) ? token : "1";
   string limit     = (is >> token) ? token : "12";
   string fenFile   = (is >> token) ? token : "default";