Project

General

Profile

Actions

Feature #10193

closed

Perf counter for WBThrottle

Added by Haomai Wang over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

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

It looks difficult to leverage writeback and sync thread, maybe we can firstly add some perf counter to WBThrottle. For example, we may want to know during a period, how much object or bytes are write backed by WBThread and how much are flushed by SyncThread. Via viewing these counter, 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.

So maybe we can have a more stable latency curve?

Actions #1

Updated by Haomai Wang over 9 years ago

  • Status changed from New to Fix Under Review
Actions #2

Updated by Haomai Wang over 9 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF