[转载] blktrace 分析 IO
前言
上篇博客介绍了 iostat 的一些输出,这篇介绍 blktrace 这个神器。上一节介绍 iostat 的时候,我们心心念念希望得到块设备处理 io 的 service time,而不是 service time + wait time,因为对于评估一个磁盘或者云磁盘而言,service time 才是衡量磁盘性能的核心指标和直接指标。很不幸 iostat 无法提供这个指标,但是 blktrace 可以。
blktrace 是一柄神器,很多工具都是基于该神器的:ioprof、seekwatcher、iowatcher,这个工具基本可以满足我们的对块设备请求的所有了解。
blktrace 的原理
一个 I/O 请求,从应用层到底层块设备,路径如下图所示 …
more ...[转载] Debugging disk issues with blktrace, blkparse, btrace and btt in Linux environment
blktrace is a block layer IO tracing mechanism which provides detailed information about request queue operations up to user space. There are three major components: a kernel component, a utility to record the i/o trace information …
more ...bno_plot - generate interactive 3D plot of IO blocks and sizes
- blktrace.git
- man bno_plot
- /usr/share/doc/blktrace/btt.pdf
To use this utility, the gnuplot package needs to be installed.
bno_plot is a visualization tool for the block layer IO tracing tool called blktrace(8). As noted in its documentation, blktrace is a block layer IO tracing mechanism which …
more ...btt - analyse block i/o traces produces by blktrace
- blktrace.git
- man btt
- /usr/share/doc/blktrace/btt.pdf
btt is a post-processing tool for the block layer IO tracing tool called blktrace(8). As noted in its documentation, blktrace is a block layer IO tracing mechanism which provides detailed information about request queue operations up to user space …
more ...