summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahooinc.com>2022-01-18 11:15:54 +0100
committerGitHub <noreply@github.com>2022-01-18 11:15:54 +0100
commit9de6b0dc0fcc736112b17a35a3de053bd4039913 (patch)
tree9872f523284b35a586ae9091b692876af1bd321e
parentea84509dca3a72c092e9b28a9e31b5ebae3788fa (diff)
parente07e686c3701ecbbf2afb97a0e6bd2f548f90310 (diff)
Merge pull request #20852 from vespa-engine/vekterli/tune-persistence-dynamic-throttle-policy
Tune persistence dynamic throttling policy
-rw-r--r--storage/src/vespa/storage/persistence/shared_operation_throttler.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/src/vespa/storage/persistence/shared_operation_throttler.cpp b/storage/src/vespa/storage/persistence/shared_operation_throttler.cpp
index 7b05decb851..7db1a0ccdbb 100644
--- a/storage/src/vespa/storage/persistence/shared_operation_throttler.cpp
+++ b/storage/src/vespa/storage/persistence/shared_operation_throttler.cpp
@@ -59,6 +59,8 @@ DynamicOperationThrottler::DynamicOperationThrottler(uint32_t min_size_and_windo
_pending_ops(0),
_waiting_threads(0)
{
+ _throttle_policy.setWindowSizeDecrementFactor(1.2);
+ _throttle_policy.setWindowSizeBackOff(0.95);
}
DynamicOperationThrottler::~DynamicOperationThrottler() = default;