summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2017-03-16 16:06:43 +0100
committerMagnus Ahltorp <map@kth.se>2017-03-16 16:06:43 +0100
commit3df1ceb5f3896a58b11381d1987b9b40defa0643 (patch)
tree1b2a196e4cd9ce36cb945b63b46143f76464c4fe /tools
parent597055e2b1bfadb08a59f9d3f6e328444012d893 (diff)
Only use more than 4 fsync processes when using fsdb
Diffstat (limited to 'tools')
-rwxr-xr-xtools/compileconfig.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/compileconfig.py b/tools/compileconfig.py
index c2463df..b4e4e46 100755
--- a/tools/compileconfig.py
+++ b/tools/compileconfig.py
@@ -316,6 +316,10 @@ def gen_config(nodename, config, localconfig):
plopconfig += [
(Symbol("db_backend"), Symbol(dbbackend)),
]
+ if dbbackend != "fsdb":
+ plopconfig += [
+ (Symbol("fsync_parallel_tasks"), 4),
+ ]
if dbbackend == "permdb" and len(localconfig["localnodes"]) != 1:
print >>sys.stderr, "When using permdb, all services have to be in the same node"
sys.exit(1)