summaryrefslogtreecommitdiffstats
path: root/configdefinitions
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-01-11 07:15:54 +0100
committerGitHub <noreply@github.com>2022-01-11 07:15:54 +0100
commit0d21c1830fff13fd19f7c6342ec2184979769185 (patch)
tree033aaaaef8624c76ad8c239bab52527e61982483 /configdefinitions
parent8b9c3f9640c6a44719f3c92355c9d6d50ad7340d (diff)
parent3f15206f090ce36c08282b8d64d6ff9c15c8fd69 (diff)
Merge pull request #20739 from vespa-engine/vekterli/dynamic-throttling-of-persistence-operations
Support dynamic throttling of async persistence operations [run-systemtest]
Diffstat (limited to 'configdefinitions')
-rw-r--r--configdefinitions/src/vespa/stor-filestor.def19
1 files changed, 19 insertions, 0 deletions
diff --git a/configdefinitions/src/vespa/stor-filestor.def b/configdefinitions/src/vespa/stor-filestor.def
index 66700eff3e6..c351e52b557 100644
--- a/configdefinitions/src/vespa/stor-filestor.def
+++ b/configdefinitions/src/vespa/stor-filestor.def
@@ -75,3 +75,22 @@ use_async_message_handling_on_schedule bool default=false restart
## the entire resource usage sample is immediately reported to the cluster controller (via host info).
## This config can be live updated (doesn't require restart).
resource_usage_reporter_noise_level double default=0.001
+
+## Specify throttling used for async persistence operations. This throttling takes place
+## before operations are dispatched to Proton and serves as a limiter for how many
+## operations may be in flight in Proton's internal queues.
+##
+## - UNLIMITED is, as it says on the tin, unlimited. Offers no actual throttling, but
+## has near zero overhead and never blocks.
+## - DYNAMIC uses DynamicThrottlePolicy under the hood and will block if the window
+## is full (if a blocking throttler API call is invoked).
+##
+async_operation_throttler_type enum { UNLIMITED, DYNAMIC } default=UNLIMITED restart
+
+## Specifies the extent the throttling window is increased by when the async throttle
+## policy has decided that more concurrent operations are desirable. Also affects the
+## _minimum_ size of the throttling window; its size is implicitly set to max(this config
+## value, number of threads).
+##
+## Only applies if async_operation_throttler_type == DYNAMIC.
+async_operation_dynamic_throttling_window_increment int default=20 restart