summaryrefslogtreecommitdiff
path: root/btreplay/doc
diff options
context:
space:
mode:
authorLuis Useche <luis@cis.fiu.edu>2008-05-05 20:53:13 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-05-05 20:53:13 +0200
commit4a7968cc672f39573abc6002f0afbed2a8e8139b (patch)
treec75b92ac4e0e6c1f1def1c299e085c2ed15efc48 /btreplay/doc
parent7072ee3f2f12a1363d6f7378df3f268350e5bd52 (diff)
downloadblktrace-4a7968cc672f39573abc6002f0afbed2a8e8139b.tar.gz
blktrace-4a7968cc672f39573abc6002f0afbed2a8e8139b.tar.bz2
Add -x accellerator option
This patch adds a new functionality to the btreplay tool, the -x option. This parameter accelerate the replication by the factor specified. This means that the stall time is divided by the number introduced. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'btreplay/doc')
-rw-r--r--btreplay/doc/btreplay.tex13
1 files changed, 12 insertions, 1 deletions
diff --git a/btreplay/doc/btreplay.tex b/btreplay/doc/btreplay.tex
index beec720..b4027ff 100644
--- a/btreplay/doc/btreplay.tex
+++ b/btreplay/doc/btreplay.tex
@@ -386,12 +386,13 @@ Usage: btreplay -- version 0.9.3
[ -c <cpus> : --cpus=<cpus> ] Default: 1
[ -d <dir> : --input-directory=<dir> ] Default: .
- [ -F : --find-records ] Default: Off
+ [ -F : --find-records ] Default: Off
[ -h : --help ] Default: Off
[ -i <base> : --input-base=<base> ] Default: replay
[ -I <iters>: --iterations=<iters> ] Default: 1
[ -M <file> : --map-devs=<file> ] Default: None
[ -N : --no-stalls ] Default: Off
+ [ -x <int> : --acc-factor=<int> ] Default: 1
[ -v : --verbose ] Default: Off
[ -V : --version ] Default: Off
[ -W : --write-enable ] Default: Off
@@ -496,6 +497,16 @@ Pre-bunch Stalls}
When specified on the command line, all pre-bunch stall indicators will be
ignored. IOs will be replayed without inter-bunch delays.
+\subsubsection{\label{sec:o-x}\texttt{-x} or \texttt{--acc-factor}\\Accelaration
+Factor}
+
+ While the \texttt{--no-stalls} option allows the traces to be replayed
+ with no waiting time, this option specifies some acceleration factor
+ to be used. If the value of two is used, then the stall time is
+ divided by half resulting in a reduction of the execution time by
+ this factor. Note that if this number is too high, the results will
+ be equivalent of not having stall.
+
\subsubsection{\label{sec:p-o-v}\texttt{-v} or
\texttt{--verbose}\\Select Verbose Output}