Testing on a busy btrfs system with indexlevel=medium reveals
another ~15% speedup compared to the previous 450000 value since
shards are smaller and less prone to slowdown. The smaller
splits should also work better with indexlevel=full (the
default) since full indexing with positions takes up the bulk of
the space.
likely fine. Tiny values may overflow system file/command-line
limits while giant values negate the performance benefit.
-Default: 450000
+Default: 100000
=item --multipass
our $DB_DANGEROUS = 0;
our $CHECKPOINT_INTVL = 15; # seconds
our $DEFRAG_NR = 100000; # document count
-our $SHARD_SPLIT_AT = 450000; # document count
+our $SHARD_SPLIT_AT = 100000; # document count
our $BATCH_BYTES = $ENV{XAPIAN_FLUSH_THRESHOLD} ? 0x7fffffff :
# assume a typical 64-bit system has 8x more RAM than a
# typical 32-bit system: