update the manpage with --iscsi-port
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 25 Sep 2009 23:02:09 +0000 (09:02 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Fri, 25 Sep 2009 23:02:09 +0000 (09:02 +1000)
doc/dbench.1
doc/dbench.1.html
doc/dbench.1.xml

index e5c10f7a98dbf94903c94faa47624615efe436e3..d851b48f5b37b1d590b97f3ce8fd46f31d8d2e14 100644 (file)
@@ -1,11 +1,11 @@
 .\"     Title: dbench
 .\"    Author: 
 .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
-.\"      Date: 09/15/2009
+.\"      Date: 09/26/2009
 .\"    Manual: 
 .\"    Source: 
 .\"
-.TH "DBENCH" "1" "09/15/2009" "" ""
+.TH "DBENCH" "1" "09/26/2009" "" ""
 .\" disable hyphenation
 .nh
 .\" disable justification (adjust text to left margin only)
@@ -16,7 +16,7 @@ dbench - a benchmark tool
 .HP 29
 \fBdbench [OPTIONS] <num\-procs>\fR
 .HP 7
-\fBdbench\fR [\-B\ \-\-backend=<dbench\ backend>] [\-c\ \-\-loadfile=<filename>] [\-D\ \-\-directory=<string>] [\-F\ \-\-fsync] [\-R\ \-\-target\-rate=<double>] [\-s\ \-\-sync] [\-S\ \-\-sync\-dir] [\-t\ \-\-timelimit=<integer>] [\-T\ \-\-tcp\-options=<string>] [\-\-run\-once] [\-\-fake\-io] [\-\-scsi=<scsi\-device>] [\-\-server=<hostname>] [\-\-export=<string>] [\-\-protocol=<string>] [\-\-clients\-per\-process=<integer>] [\-\-trunc\-io=<integer>] [\-\-stat\-check] [\-\-skip\-cleanup] [\-\-per\-client\-results] [\-\-iscsi\-portal=<ip\-address>] [\-\-iscsi\-target=<iqn\ name>] [\-\-iscsi\-lun=<LUN>] [\-?\ \-\-help] [\-\-usage]
+\fBdbench\fR [\-B\ \-\-backend=<dbench\ backend>] [\-c\ \-\-loadfile=<filename>] [\-D\ \-\-directory=<string>] [\-F\ \-\-fsync] [\-R\ \-\-target\-rate=<double>] [\-s\ \-\-sync] [\-S\ \-\-sync\-dir] [\-t\ \-\-timelimit=<integer>] [\-T\ \-\-tcp\-options=<string>] [\-\-run\-once] [\-\-fake\-io] [\-\-scsi=<scsi\-device>] [\-\-server=<hostname>] [\-\-export=<string>] [\-\-protocol=<string>] [\-\-clients\-per\-process=<integer>] [\-\-trunc\-io=<integer>] [\-\-stat\-check] [\-\-skip\-cleanup] [\-\-per\-client\-results] [\-\-iscsi\-portal=<ip\-address>] [\-\-iscsi\-port=<port>] [\-\-iscsi\-target=<iqn\ name>] [\-\-iscsi\-lun=<LUN>] [\-?\ \-\-help] [\-\-usage]
 .SH "DESCRIPTION"
 .PP
 dbench is a utility to benchmark a system based on client workload profiles\.
@@ -131,6 +131,13 @@ This option only apply to the "iscsi" backend\.
 This option is mandatory when the "iscsi" backend is used\.
 .PP
 This specifies the host\-name or ip\-address of the target to test\.
+.SS "\-\-iscsi\-port=<tcp port>"
+.PP
+This option only apply to the "iscsi" backend\.
+.PP
+This option is optional when the "iscsi" backend is used\. If not used the tcp port defaults to 3260\.
+.PP
+This specifies the tcp port to connect to on the target\.
 .SS "\-\-iscsi\-target=<iqn name>"
 .PP
 This option only apply to the "iscsi" backend\.
index a5c01bcf02474d63c8387cbf9a0c07aa6099ca7e..a5ddc52ee9c03ebc95d61fc155d626843e554a14 100644 (file)
@@ -1,21 +1,21 @@
-<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>dbench</title><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="dbench.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>dbench &#8212; a benchmark tool</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">dbench [OPTIONS] &lt;num-procs&gt;</code> </p></div><div class="cmdsynopsis"><p><code class="command">dbench</code>  [-B --backend=&lt;dbench backend&gt;] [-c --loadfile=&lt;filename&gt;] [-D --directory=&lt;string&gt;] [-F --fsync] [-R --target-rate=&lt;double&gt;] [-s --sync] [-S --sync-dir] [-t --timelimit=&lt;integer&gt;] [-T --tcp-options=&lt;string&gt;] [--run-once] [--fake-io] [--scsi=&lt;scsi-device&gt;] [--server=&lt;hostname&gt;] [--export=&lt;string&gt;] [--protocol=&lt;string&gt;] [--clients-per-process=&lt;integer&gt;] [--trunc-io=&lt;integer&gt;] [--stat-check] [--skip-cleanup] [--per-client-results] [--iscsi-portal=&lt;ip-address&gt;] [--iscsi-target=&lt;iqn name&gt;] [--iscsi-lun=&lt;LUN&gt;] [-? --help] [--usage]</p></div></div><div class="refsect1" lang="en"><a name="id2479666"></a><h2>DESCRIPTION</h2><p>
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>dbench</title><meta name="generator" content="DocBook XSL Stylesheets V1.73.2"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="dbench.1"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>dbench &#8212; a benchmark tool</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">dbench [OPTIONS] &lt;num-procs&gt;</code> </p></div><div class="cmdsynopsis"><p><code class="command">dbench</code>  [-B --backend=&lt;dbench backend&gt;] [-c --loadfile=&lt;filename&gt;] [-D --directory=&lt;string&gt;] [-F --fsync] [-R --target-rate=&lt;double&gt;] [-s --sync] [-S --sync-dir] [-t --timelimit=&lt;integer&gt;] [-T --tcp-options=&lt;string&gt;] [--run-once] [--fake-io] [--scsi=&lt;scsi-device&gt;] [--server=&lt;hostname&gt;] [--export=&lt;string&gt;] [--protocol=&lt;string&gt;] [--clients-per-process=&lt;integer&gt;] [--trunc-io=&lt;integer&gt;] [--stat-check] [--skip-cleanup] [--per-client-results] [--iscsi-portal=&lt;ip-address&gt;] [--iscsi-port=&lt;port&gt;] [--iscsi-target=&lt;iqn name&gt;] [--iscsi-lun=&lt;LUN&gt;] [-? --help] [--usage]</p></div></div><div class="refsect1" lang="en"><a name="id2479674"></a><h2>DESCRIPTION</h2><p>
       dbench is a utility to benchmark a system based on client workload
       profiles.
-    </p></div><div class="refsect1" lang="en"><a name="id2479677"></a><h2>STANDARD OPTIONS</h2><div class="refsect2" lang="en"><a name="id2479683"></a><h3>-B --backend=&lt;dbench backend&gt;</h3><p>
+    </p></div><div class="refsect1" lang="en"><a name="id2479685"></a><h2>STANDARD OPTIONS</h2><div class="refsect2" lang="en"><a name="id2479691"></a><h3>-B --backend=&lt;dbench backend&gt;</h3><p>
       The backend type specifies which kind of commandset and what kind of
       tests that dbench will perform. The backend type specifies which
       kind of loadfile that can be used.
       </p><p>
       There are currently five types of backends : "fileio", "sockio", "nfs", "scsi"and "iscsi". The default is "fileio" which uses a CIFS style loadfile.
-      </p></div><div class="refsect2" lang="en"><a name="id2479701"></a><h3>-c --loadfile=&lt;filename&gt;</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2479709"></a><h3>-c --loadfile=&lt;filename&gt;</h3><p>
       This specifies the name of the loadfile to use. The loadfile describes
       the sequence and timing of operations that dbench will issue.
-      </p></div><div class="refsect2" lang="en"><a name="id2479713"></a><h3>-D --directory=&lt;string&gt;</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2479721"></a><h3>-D --directory=&lt;string&gt;</h3><p>
       This controls which directory that dbench will use as the root for when
       running the loadfile. This defaults to "." which refers to the current
       directory for the "fileio" and "sockio" backends and the root of the
       export for the "nfs" backend.
-      </p></div><div class="refsect2" lang="en"><a name="id2479727"></a><h3>-R --target-rate=&lt;double&gt;</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2479735"></a><h3>-R --target-rate=&lt;double&gt;</h3><p>
       By default dbench will try to replay the loadfile and keep the same
       rate as the original application the loadfile was captured from.
       Using this option it is possible to run the load file faster/slower
       </p><p>
       By setting this limit to something very large, such as 999999.99 you can
       effectively tell dbench to "run this loadfile as fast as possible".
-      </p></div><div class="refsect2" lang="en"><a name="id2479757"></a><h3>-t --timelimit=&lt;integer&gt;</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2479765"></a><h3>-t --timelimit=&lt;integer&gt;</h3><p>
       How long to run the test for.
-      </p></div><div class="refsect2" lang="en"><a name="id2479766"></a><h3>--run-once</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2479774"></a><h3>--run-once</h3><p>
       Only run the loadfile once and stop when the end of the loadfile is
       reached.
       </p><p>
       The default for dbench is to wrap the loadfile when the end is
       reached and continue running the loadfile over and over until the
       timelimit is reached.
-      </p></div><div class="refsect2" lang="en"><a name="id2479783"></a><h3>--clients-per-process=&lt;integer&gt;</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2479791"></a><h3>--clients-per-process=&lt;integer&gt;</h3><p>
       By default dbench will fork one child process for each client emulated.
       Using this option dbench will run multiple emulated clients inside
       each process.
       This is useful for testing how performance differs between the case
       of n processes with one thread of I/O each and one process with n threads
       of I/O.
-      </p></div><div class="refsect2" lang="en"><a name="id2479801"></a><h3>--skip-cleanup</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2479810"></a><h3>--skip-cleanup</h3><p>
       Do not cleanup and delete all temporary files in the clients work
       directory when the test ends.
-      </p></div><div class="refsect2" lang="en"><a name="id2479812"></a><h3>--per-client-results</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2479820"></a><h3>--per-client-results</h3><p>
       When the test is finished print a latency report for each inidvidual
       client in addition to the aggregated report over all clients.
-      </p></div></div><div class="refsect1" lang="en"><a name="id2479825"></a><h2>FILEIO OPTIONS</h2><div class="refsect2" lang="en"><a name="id2479830"></a><h3>-F --fsync</h3><p>
+      </p></div></div><div class="refsect1" lang="en"><a name="id2479833"></a><h2>FILEIO OPTIONS</h2><div class="refsect2" lang="en"><a name="id2528486"></a><h3>-F --fsync</h3><p>
       This option only apply to the "fileio" backend.
       </p><p>
       This will make dbench perform a fsync() to the file after each write
       operation.
-      </p></div><div class="refsect2" lang="en"><a name="id2528493"></a><h3>-s --sync-open</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2528500"></a><h3>-s --sync-open</h3><p>
       This option only apply to the "fileio" backend.
       </p><p>
       This makes dbench override the loadfile and use O_SYNC for all 
       file open operations.
-      </p></div><div class="refsect2" lang="en"><a name="id2528508"></a><h3>-S --sync-dir</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2528516"></a><h3>-S --sync-dir</h3><p>
       This option only apply to the "fileio" backend.
       </p><p>
       Call fsync() on the directory after each "unlink", "rmdir" or "rename"
       operation. This emulates how the linux kernel nfs daemon syncs
       directories after performing directory modifying operations.
-      </p></div><div class="refsect2" lang="en"><a name="id2528525"></a><h3>--fake-io</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2528533"></a><h3>--fake-io</h3><p>
       This option only apply to the "fileio" backend.
       </p><p>
       Do not do any file read/write operations at all.
-      </p></div><div class="refsect2" lang="en"><a name="id2528540"></a><h3>--stat-check</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2528547"></a><h3>--stat-check</h3><p>
       This option only apply to the "fileio" backend.
       </p><p>
       After each create/mkdir/rmdir/rename operation, immediately try to
       is correct. I.e. Verify that immediately after we have created an
       object that stat() will succeed and that immediately after we have
       deleted an object that stat() will fail.
-      </p></div></div><div class="refsect1" lang="en"><a name="id2528560"></a><h2>SOCKIO OPTIONS</h2><div class="refsect2" lang="en"><a name="id2528566"></a><h3>-T --tcp-options=&lt;string&gt;</h3><p>
+      </p></div></div><div class="refsect1" lang="en"><a name="id2528568"></a><h2>SOCKIO OPTIONS</h2><div class="refsect2" lang="en"><a name="id2528573"></a><h3>-T --tcp-options=&lt;string&gt;</h3><p>
       This option only apply to the "sockio" backend.
-      </p></div></div><div class="refsect1" lang="en"><a name="id2528577"></a><h2>NFS OPTIONS</h2><div class="refsect2" lang="en"><a name="id2528583"></a><h3>--server=&lt;hostname&gt;</h3><p>
+      </p></div></div><div class="refsect1" lang="en"><a name="id2528585"></a><h2>NFS OPTIONS</h2><div class="refsect2" lang="en"><a name="id2528591"></a><h3>--server=&lt;hostname&gt;</h3><p>
       This option only apply to the "nfs" backend.
       </p><p>
       This option is mandatory when the "nfs" backend is used.
       </p><p>
       This specifies the host-name or ip-address of the server to test.
-      </p></div><div class="refsect2" lang="en"><a name="id2528602"></a><h3>--export=&lt;string&gt;</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2528610"></a><h3>--export=&lt;string&gt;</h3><p>
       This option only apply to the "nfs" backend.
       </p><p>
       This option is mandatory when the "nfs" backend is used.
       </p><p>
       This specifies the nfs-export on the server to do i/o to.
-      </p></div><div class="refsect2" lang="en"><a name="id2528621"></a><h3>--protocol=&lt;string&gt;</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2528629"></a><h3>--protocol=&lt;string&gt;</h3><p>
       This option only apply to the "nfs" backend.
       </p><p>
       This specifies whether "tcp" or "udp" is to be used. Default is "tcp".
-      </p></div><div class="refsect2" lang="en"><a name="id2528636"></a><h3>--trunc-io=&lt;integer&gt;</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2528644"></a><h3>--trunc-io=&lt;integer&gt;</h3><p>
       This option only apply to the "nfs" backend.
       </p><p>
       Some NFS server may have limitations on how large READ/WRITE I/Os they
       accept preventing some loadfiles from running. Using this option will
       override the length specified in the loadfile and make dbench never
       issuing any READ/WRITE operations larger than this.
-      </p></div></div><div class="refsect1" lang="en"><a name="id2528656"></a><h2>SCSI OPTIONS</h2><div class="refsect2" lang="en"><a name="id2528662"></a><h3>--scsi=&lt;scsi-device&gt;</h3><p>
+      </p></div></div><div class="refsect1" lang="en"><a name="id2528664"></a><h2>SCSI OPTIONS</h2><div class="refsect2" lang="en"><a name="id2528669"></a><h3>--scsi=&lt;scsi-device&gt;</h3><p>
       This option only apply to the "scsi" backend.
       </p><p>
       This option is mandatory when the "scsi" backend is used.
       </p><p>
       This specifies the device node of the scsi-device we want to run the loadfile on. Example: --scsi=/dev/sda
-      </p></div></div><div class="refsect1" lang="en"><a name="id2528683"></a><h2>iSCSI OPTIONS</h2><p>
+      </p></div></div><div class="refsect1" lang="en"><a name="id2528691"></a><h2>iSCSI OPTIONS</h2><p>
     Dbench contains a primitive iSCSI initiator, allowing it to perform I/O
     to some iSCSI targets.
-    </p><div class="refsect2" lang="en"><a name="id2528694"></a><h3>--iscsi-portal=&lt;ip-address&gt;</h3><p>
+    </p><div class="refsect2" lang="en"><a name="id2528702"></a><h3>--iscsi-portal=&lt;ip-address&gt;</h3><p>
       This option only apply to the "iscsi" backend.
       </p><p>
       This option is mandatory when the "iscsi" backend is used.
       </p><p>
       This specifies the host-name or ip-address of the target to test.
-      </p></div><div class="refsect2" lang="en"><a name="id2528714"></a><h3>--iscsi-target=&lt;iqn name&gt;</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2528721"></a><h3>--iscsi-port=&lt;tcp port&gt;</h3><p>
+      This option only apply to the "iscsi" backend.
+      </p><p>
+      This option is optional when the "iscsi" backend is used.
+      If not used the tcp port defaults to 3260.
+      </p><p>
+      This specifies the tcp port to connect to on the target.
+      </p></div><div class="refsect2" lang="en"><a name="id2528742"></a><h3>--iscsi-target=&lt;iqn name&gt;</h3><p>
       This option only apply to the "iscsi" backend.
       </p><p>
       This option is mandatory when the "iscsi" backend is used.
       </p><p>
       This specifies the iscsi iqn name of the target to test.
-      </p></div><div class="refsect2" lang="en"><a name="id2528733"></a><h3>--iscsi-lun=&lt;LUN&gt;</h3><p>
+      </p></div><div class="refsect2" lang="en"><a name="id2528761"></a><h3>--iscsi-lun=&lt;LUN&gt;</h3><p>
       This option only apply to the "iscsi" backend.
       </p><p>
       This option is mandatory when the "iscsi" backend is used.
       </p><p>
       This specifies the LUN of the target to test.
-      </p></div></div><div class="refsect1" lang="en"><a name="id2528753"></a><h2>COPYRIGHT/LICENSE</h2><div class="literallayout"><p><br>
+      </p></div></div><div class="refsect1" lang="en"><a name="id2528781"></a><h2>COPYRIGHT/LICENSE</h2><div class="literallayout"><p><br>
 Copyright (C) Andrew Tridgell 2008<br>
 Copyright (C) Ronnie Sahlberg 2008<br>
 <br>
index 2e14acf76a86de896ab8801d056d34e43d6bfcdd..ea01df04a52cf9918e02185a7c5065a7c9e0865e 100644 (file)
@@ -41,6 +41,7 @@
                <arg choice="opt">--skip-cleanup</arg>
                <arg choice="opt">--per-client-results</arg>
                <arg choice="opt">--iscsi-portal=&lt;ip-address&gt;</arg>
+               <arg choice="opt">--iscsi-port=&lt;port&gt;</arg>
                <arg choice="opt">--iscsi-target=&lt;iqn name&gt;</arg>
                <arg choice="opt">--iscsi-lun=&lt;LUN&gt;</arg>
 
       This specifies the host-name or ip-address of the target to test.
       </para>
     </refsect2>
+    <refsect2><title>--iscsi-port=&lt;tcp port&gt;</title>
+      <para>
+      This option only apply to the "iscsi" backend.
+      </para>
+
+      <para>
+      This option is optional when the "iscsi" backend is used.
+      If not used the tcp port defaults to 3260.
+      </para>
+
+      <para>
+      This specifies the tcp port to connect to on the target.
+      </para>
+    </refsect2>
 
     <refsect2><title>--iscsi-target=&lt;iqn name&gt;</title>
       <para>