summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahoo-inc.com>2016-12-15 16:37:31 +0100
committerTor Brede Vekterli <vekterli@yahoo-inc.com>2016-12-15 16:51:37 +0100
commitd8d4de14d75cec4485afc9a6393b52166db2e83c (patch)
tree8069a61308bf6d7dc2e306810b235ddcf6cebfd9 /storage
parentbe638ccbc49e6d52d0b7cd208f7e2a9aae9ebe12 (diff)
Increase number of buckets/sec processed by distributors
This greatly reduces time to process large bucket databases, especially when the number of buckets go into the millions. With the previous defaults, this could take absolute ages and fail to get in sync within a reasonable time. If we do not observe any negative effects as part of this change, we'll likely boost the ticks_before_wait default even more.
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/config/stor-distributormanager.def8
1 files changed, 4 insertions, 4 deletions
diff --git a/storage/src/vespa/storage/config/stor-distributormanager.def b/storage/src/vespa/storage/config/stor-distributormanager.def
index c6cefcca4d2..142ebc733f2 100644
--- a/storage/src/vespa/storage/config/stor-distributormanager.def
+++ b/storage/src/vespa/storage/config/stor-distributormanager.def
@@ -65,12 +65,12 @@ maximum_nodes_per_merge int default=16
start_distributor_thread bool default=true restart
## The number of ticks calls done before a wait is done. This can be
-## set higher than 1 for the distributor to improve speed of bucket iterations
+## set higher than 10 for the distributor to improve speed of bucket iterations
## while still keep CPU load low/moderate.
-ticks_before_wait int default=1
+ticks_before_wait int default=10
-## The sleep time between ticks if there are no more queed tasks.
-ticks_wait_time_ms int default=5
+## The sleep time between ticks if there are no more queued tasks.
+ticks_wait_time_ms int default=1
## Max processing time used by deadlock detector.
max_process_time_ms int default=5000