From c6e5ba831330a49b657cf719620dab759e105dde Mon Sep 17 00:00:00 2001 From: John Sully Date: Sun, 12 Jul 2020 18:49:02 +0000 Subject: [PATCH] Document min-clients-per-thread Former-commit-id: 1b9ade7f657d9b142f78a46565e65b52904dad47 --- keydb.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/keydb.conf b/keydb.conf index bd702b016..43ce0c8a6 100644 --- a/keydb.conf +++ b/keydb.conf @@ -1811,6 +1811,9 @@ jemalloc-bg-thread yes # Set bgsave child process to cpu affinity 1,10,11 # bgsave_cpulist 1,10-11 +# The minimum number of clients on a thread before KeyDB assigns new connections to a different thread +# Tuning this parameter is a tradeoff between locking overhead and distributing the workload over multiple cores +# min-clients-per-thread 50 # Path to directory for file backed scratchpad. The file backed scratchpad # reduces memory requirements by storing rarely accessed data on disk