From 5286e37857aad3901636f3c9a3a301c0eaa35f68 Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Thu, 13 Jun 2019 15:22:54 -0400 Subject: [PATCH] librbd: tweaks to improve throughput for journaled IO Increase the per-object append flush bytes to 1MiB to mimic the 16MiB in-memory writeback cache. Finally, default enable the new journal writethrough until flush option. Performance results comparing no journal, pre-change, and post-change: no journal original modified 4K 40310.84 7223.73 27427.27 32K 21530.37 3256.39 10284.05 256K 3159.67 564.73 1627.16 4M 223.03 48.03 91.91 Fixes: http://tracker.ceph.com/issues/40072 Signed-off-by: Jason Dillaman (cherry picked from commit 5f3b043896762fa97eb35648f8639004c45f5978) --- src/common/options.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/options.cc b/src/common/options.cc index 7c022dd34a8a2..078c2aa696e6e 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -7329,7 +7329,7 @@ static std::vector