]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: tweaks to improve throughput for journaled IO 28539/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 13 Jun 2019 19:22:54 +0000 (15:22 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 19 Jun 2019 14:38:53 +0000 (10:38 -0400)
commit5f3b043896762fa97eb35648f8639004c45f5978
treebc964814ca0ed755e78e647bbb3c4c4692313d98
parent172ad649fb8a2410bdc078a5752b2ca09dc03ac2
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>
src/common/options.cc