diff options
author | Tor Brede Vekterli <vekterli@yahooinc.com> | 2022-01-18 11:15:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 11:15:54 +0100 |
commit | 9de6b0dc0fcc736112b17a35a3de053bd4039913 (patch) | |
tree | 9872f523284b35a586ae9091b692876af1bd321e | |
parent | ea84509dca3a72c092e9b28a9e31b5ebae3788fa (diff) | |
parent | e07e686c3701ecbbf2afb97a0e6bd2f548f90310 (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.cpp | 2 |
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; |