From 5f3b043896762fa97eb35648f8639004c45f5978 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 --- 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 167bb45044ec4..f8f32119878c6 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -7305,7 +7305,7 @@ static std::vector