diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-02-14 15:29:07 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-02-14 15:29:07 +0000 |
commit | 33e5925fa441bbc22e322403df9fec7bd305b835 (patch) | |
tree | 8840d79669b0e6fa375634b3c671702e36b2d191 | |
parent | 5170906995915c2e321d6af1bd05846f3d5cac21 (diff) |
Default number of threads should be a multiple of number of stripes, which is now 4
-rw-r--r-- | config-model/src/test/java/com/yahoo/vespa/model/content/StorageClusterTest.java | 2 | ||||
-rw-r--r-- | configdefinitions/src/vespa/stor-filestor.def | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/config-model/src/test/java/com/yahoo/vespa/model/content/StorageClusterTest.java b/config-model/src/test/java/com/yahoo/vespa/model/content/StorageClusterTest.java index 8f60ad6217f..883d8b89765 100644 --- a/config-model/src/test/java/com/yahoo/vespa/model/content/StorageClusterTest.java +++ b/config-model/src/test/java/com/yahoo/vespa/model/content/StorageClusterTest.java @@ -195,7 +195,7 @@ public class StorageClusterTest { StorFilestorConfig.Builder builder = new StorFilestorConfig.Builder(); stc.getConfig(builder); StorFilestorConfig config = new StorFilestorConfig(builder); - assertEquals(6, config.num_threads()); + assertEquals(8, config.num_threads()); } { assertEquals(1, stc.getChildren().size()); diff --git a/configdefinitions/src/vespa/stor-filestor.def b/configdefinitions/src/vespa/stor-filestor.def index c02a9018064..7816ee74fde 100644 --- a/configdefinitions/src/vespa/stor-filestor.def +++ b/configdefinitions/src/vespa/stor-filestor.def @@ -24,7 +24,7 @@ disk_operation_timeout int default=0 restart ## PERFORMANCE PARAMETERS ## Number of threads to use for each mountpoint. -num_threads int default=6 restart +num_threads int default=8 restart ## When merging, if we find more than this number of documents that exist on all ## of the same copies, send a separate apply bucket diff with these entries |