table of contents
BTT(1) | BTT(1) |
NAME¶
btt - analyse block i/o traces produces by blktrace
SYNOPSIS¶
btt
[ -a | --seek-absolute ]
[ -A | --all-data ]
[ -B <output name> | --dump-blocknos=<output name> ]
[ -d <seconds> | --range-delta=<seconds> ]
[ -D <dev;...> | --devices=<dev;...> ]
[ -e <exe,...> | --exes=<exe,...> ]
[ -h | --help ]
[ -i <input name> | --input-file=<input name> ]
[ -I <output name> | --iostat=<output name> ]
[ -l <output name> | --d2c-latencies=<output name> ]
[ -L <freq> | --periodic-latencies=<freq> ]
[ -m <output name> | --seeks-per-second=<output
name> ]
[ -M <dev map> | --dev-maps=<dev map>
[ -o <output name> | --output-file=<output name> ]
[ -p <output name> | --per-io-dump=<output name> ]
[ -P <output name> | --per-io-trees=<output name> ]
[ -q <output name> | --q2c-latencies=<output name> ]
[ -Q <output name> | --active-queue-depth=<output
name> ]
[ -r | --no-remaps ]
[ -s <output name> | --seeks=<output name> ]
[ -S <interval> | --iostat-interval=<interval> ]
[ -t <sec> | --time-start=<sec> ]
[ -T <sec> | --time-end=<sec> ]
[ -u <output name> | --unplug-hist=<output name> ]
[ -v | --verbose ]
[ -V | --version ]
[ -X | --easy-parse-avgs ]
[ -z <output name> | --q2d-latencies=<output name> ]
[ -Z | --do-active ]
DESCRIPTION¶
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.
btt will take in binary dump data from blkparse, and analyse the events, producing a series of output from the analysis. It will also build .dat files containing "range data" -- showing things like Q activity (periods of time while Q events are being produced), C activity (likewise for command completions), and etc.
Included with the distribution is a simple 3D plotting utility, bno_plot, which can plot the block numbers btt outputs if the -B option is specified. The display will display each IO generated, with the time (seconds) along the X-axis, the block number (start) along the Y-axis and the number of blocks transferred in the IO represented along the Z-axis.
OPTIONS¶
-a
--seek-absolute
-A
--all-data
-B <output name>
--dump-blocknos=<output name>
prefix_device_r.dat
All read block numbers are output, first column is time (seconds), second is
the block number, and the third column is the ending block number.
prefix_device_w.dat
All write block numbers are output, first column is time (seconds), second is
the block number, and the third column is the ending block number.
prefix_device_c.dat
All block numbers (read and write) are output, first column is time (seconds),
second is the block number, and the third column is the ending block
number.
-d <seconds>
--range-delta=<seconds>
-D <dev;...>
--devices=<dev;...>
-e <exe,...>
--exes=<exe,...>
-h
--help
-i <input name>
--input-file <input file>
-I <output name>
--iostat=<output name>
-l <output name>
--d2c-latencies=<output name>
-L <freq>
--periodic-latencies=<freq>
-m <output name>
--seeks-per-second=<output name>
-M <dev map>
--dev-maps=<dev map>
-o <output name>
--output-file=<output name>
-p <output name>
--per-io-dump=<output name>
-P <output name>
--per-io-trees=<output name>
-q <output name>
--q2c-latencies=<output name>
-Q <output name>
--active-queue-depth=<output name>
-r
--no-remaps
-s <output name>
--seeks=<output name>
-S <interval>
--iostat-interval=<interval>
-t <sec>
--time-start=<sec>
-T <sec>
--time-end=<sec>
-u <output name>
--unplug-hist=<output name>
a value of 1 represents 5..9 counts
a value of 2 represents 10..14 counts
etc, until
a value of 20 represents 100+ counts
The file name(s) generated use the text string passed as an argument for the prefix, followed by the device identifier in major,minor form, with a .dat extension. For example, with -u up_hist specified on the command line: up_hist_008,032.dat.
-V
--version
-v
--verbose
-X
--easy-parse-avgs
-z <output name>
--q2d-latencies=<output name>
-Z
--do-active
AUTHORS¶
btt was written by Alan D. Brunelle. This man page was created from the blktrace documentation by Bas Zoetekouw.
REPORTING BUGS¶
Report bugs to <linux-btrace@vger.kernel.org>
COPYRIGHT¶
Copyright © 2006 Jens Axboe, Alan D. Brunelle and Nathan
Scott.
This is free software. You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
This manual page was created for Debian by Bas Zoetekouw. It was derived from
the documentation provided by the authors and it may be used, distributed
and modified under the terms of the GNU General Public License, version 2.
On Debian systems, the text of the GNU General Public License can be found in
/usr/share/common-licenses/GPL-2.
SEE ALSO¶
The btt Users Guide, which can be found in
/usr/share/doc/blktrace/btt.pdf
bno_plot (1), blktrace (8), blkparse (1), verify_blkparse (1), blkrawverify
(1), btt (1)
September 29, 2007 | blktrace git-20070910192508 |