]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: tweaks to improve throughput for journaled IO 29723/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 13 Jun 2019 19:22:54 +0000 (15:22 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 19 Aug 2019 15:16:34 +0000 (11:16 -0400)
commit5286e37857aad3901636f3c9a3a301c0eaa35f68
tree8a1c628c77f456ea4c8f70f5cd6f1ccfce1cff54
parent5b96bc0a493c680a92e75fc20c23b917202c2dda
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 <dillaman@redhat.com>
(cherry picked from commit 5f3b043896762fa97eb35648f8639004c45f5978)
src/common/options.cc