From a906cbd31266432c4f54f4201a753624a787ed98 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Wed, 17 Feb 2021 12:04:37 +0000 Subject: [PATCH] crimson/osd: tune the default for crimson_alien_op_num_threads. This commit tries to optimize the default size of AlienStore's thread pool. Recent testing has shown the intial value, which is `16`, is far from being optimal while the optimum is close to `4`: https://gist.github.com/rzarzynski/c851212f4b0baef4097a6087533ba17b Further testing by Mark Nelson suggests that the sweet spot is closer to `8` taking into account 4 KB writes with lower queue depths: https://docs.google.com/spreadsheets/d/1IR9ysWRkaGdX5e9w_YV8kfeeglR2pEY3V9hovY0ECV8/edit#gid=1884533182 As a kind of compromise `6` is proposed in this commit. Signed-off-by: Radoslaw Zarzynski --- src/common/options.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/options.cc b/src/common/options.cc index 3412f92d994..638574d4af3 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5579,7 +5579,7 @@ std::vector