]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
WBThrottle: make bytes/ios/inode_wb's perf counter effective 3111/head
authorHaomai Wang <haomaiwang@gmail.com>
Mon, 8 Dec 2014 03:41:54 +0000 (11:41 +0800)
committerHaomai Wang <haomaiwang@gmail.com>
Mon, 8 Dec 2014 03:45:00 +0000 (11:45 +0800)
commitc2d933361e5e288e13b952dde3a85fe057566f43
treeff6c6a0784fb33f434957bd3b20e0e36a45ddf36
parent53fe29611d2248b04c197afdc8ca5fbb60324853
WBThrottle: make bytes/ios/inode_wb's perf counter effective

Since sync thread will cause unstable iops and latency performance curve, we
may want make WBThread do more(or moderate?) writeback and avoid sync thread
flush too much which will cause journal io long tail.

Via these counters, we can view how much object or bytes are write backed by
WBThread and how much bytes are flushed . Then we can have a great tuning for
"*bytes_start_flusher", "*ios_start_flusher" and "*inodes_start_flusher".
What we want to see is that in-memory data can writeback into disk with a
moderate rate.

Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
src/os/WBThrottle.cc