]> git.hungrycats.org Git - bees/commitdiff
config: default rewrite.total-max back to 100
authorZygo Blaxell <bees@furryterror.org>
Thu, 24 Sep 2026 05:35:43 +0000 (01:35 -0400)
committerZygo Blaxell <bees@furryterror.org>
Sun, 11 Oct 2026 00:48:00 +0000 (20:48 -0400)
Version 2 lowered total-max from 100 to 10.  On the same build, kernel
and corpus, 10 stopped at 64.6 GB freed while 100 reached 87.3 GB:  a
low cap leaves every extent that needs more than ten operations
undeduped.  The 10 run ended sooner only because it gave up on that
work.

Restore 100, the version 1 value.

Assisted-by: Claude-Code:claude-opus-5-5
docs/config-file.md
src/bees-config-v2.cc

index 6824b2d572d81fc00f27d4b1988634b6236d910b..c9b0ef73766d3b156fbd780daed63c0a6e852777 100644 (file)
@@ -344,7 +344,7 @@ removed.
 
 * **`total-max`**
   Maximum total operations per extent: dedupe + copy + hole.
-  * Default: `10` (config version 1 and `v0.11`: `100`)
+  * Default: `100`
   * Accepts a non-negative integer or `unlimited`.
 
 * **`refs-max`**
index b2c577f646cdae3d0400c815044ed6b73770f692..34f502ec4bf1e85b503de2082d7ed2226b663638 100644 (file)
@@ -121,10 +121,6 @@ static const char bees_config_v2[] = R"--v2-config--(
 
 [rewrite]
 
-        # Maximum total operations per extent: dedupe + copy + hole.
-        # Integer count, or unlimited.
-        total-max = 10
-
         # Minimum portion of extent which must be freed.
         # Percentage with %, or a size value (e.g. 128K, 1M - 4K).
         free-min = 128K