diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2018-03-02 10:58:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-02 10:58:01 +0100 |
commit | f0e1232e5606a81b632700cc1a1b7da06b3ba463 (patch) | |
tree | bebc56e241240c8b2958e9cb98d7d4fd07dbefa3 | |
parent | a563987ff2dabdcc6a8a61fc6e69c12c75414340 (diff) | |
parent | bf2d8c4c85433712687c43def4bb4b459a7cdca1 (diff) |
Merge pull request #5188 from vespa-engine/toregge/consider-replay-more-expensive-when-preparing-for-restart
Consider replay more expensive when preparing for restart.
-rw-r--r-- | searchcore/src/vespa/searchcore/config/proton.def | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/config/proton.def b/searchcore/src/vespa/searchcore/config/proton.def index c7a3fc7cb62..5076b923482 100644 --- a/searchcore/src/vespa/searchcore/config/proton.def +++ b/searchcore/src/vespa/searchcore/config/proton.def @@ -90,7 +90,7 @@ flush.memory.conservative.lowwatermarkfactor double default=0.9 ## The prepare for restart flush strategy will choose a set of components to flush ## such that the cost of flushing these + the cost of replaying the transaction log ## is as low as possible. -flush.preparerestart.replaycost double default=2.0 +flush.preparerestart.replaycost double default=8.0 ## The cost of replaying an operation when replaying the transaction log. ## @@ -99,12 +99,12 @@ flush.preparerestart.replaycost double default=2.0 ## ## The default value is chosen based on the following example: ## Assume we can replay 9 MB/s and this corresponds to 24000 ops/s. -## replayoperationcost = (bytes to replay) * replaycost / (operations to replay) = 9 MB * 2.0 / 24000 = 750 +## replayoperationcost = (bytes to replay) * replaycost / (operations to replay) = 9 MB * 8.0 / 24000 = 3000 ## ## The prepare for restart flush strategy will choose a set of components to flush ## such that the cost of flushing these + the cost of replaying the transaction log ## is as low as possible. -flush.preparerestart.replayoperationcost double default=750.0 +flush.preparerestart.replayoperationcost double default=3000.0 ## The cost of writing a byte when flushing components to disk. ## |