block: export I/O latency histograms#1026
Open
blktests-ci[bot] wants to merge 1 commit into
Open
Conversation
Author
|
Upstream branch: dc59e4f |
90ffd56 to
d52f35a
Compare
The existing block I/O statistics expose completed I/O counts and total elapsed time for each operation group. Userspace can derive average latency from those counters, but it cannot recover tail latency information such as P99 from cumulative totals. Add optional per-block-device latency histogram accounting for read, write, discard and flush statistics groups. The counters follow the existing I/O statistics accounting paths and are exported through /proc/disk_lat_hists. Add /proc/disk_lat_buckets to expose the bucket upper bounds in microseconds so userspace can interpret each histogram counter. Histogram storage is allocated per block_device and treated as optional. If allocation fails, regular I/O statistics continue to work and the histogram output skips that device. Signed-off-by: Diangang Li <lidiangang@bytedance.com>
Author
|
Upstream branch: 87320be |
b7a8be3 to
676f13f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request for series with
subject: block: export I/O latency histograms
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1120508