]> git.sesse.net Git - remoteglot-book/commitdiff
Create somewhat smaller shards.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 1 Jun 2016 10:06:28 +0000 (12:06 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 1 Jun 2016 10:06:28 +0000 (12:06 +0200)
build-book.sh

index 94f3a298ef6c655f7c296fe24d7b3f1b4da7c462..f29b974ffef9ad379c0745a56d7c13956ea0e840 100755 (executable)
@@ -29,7 +29,7 @@ for X in $( seq 0 $(( MAPPERS - 1 )) ); do
                                ~/nmu/pgn-extract/pgn-extract --computerflag $COMP --startpos $START --endpos $END --startfilenum $PGNNUM -e -Wsessebin "$FILE" 2>/dev/null
                                PGNNUM=$(( PGNNUM + 1 ))
                        done
-               ) | ./binloader - tmp.mtbl.mapper$X $SHARDS 500000
+               ) | ./binloader - tmp.mtbl.mapper$X $SHARDS 200000
        ) &
 done
 wait