.\" Title: dbench
.\" Author:
.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
-.\" Date: 09/26/2009
+.\" Date: 12/08/2009
.\" Manual:
.\" Source:
.\"
-.TH "DBENCH" "1" "09/26/2009" "" ""
+.TH "DBENCH" "1" "12/08/2009" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.PP
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\.
.PP
-There are currently five types of backends : "fileio", "sockio", "nfs", "scsi"and "iscsi"\. The default is "fileio" which uses a CIFS style loadfile\.
+There are currently six types of backends : "fileio", "sockio", "nfs", "scsi", "iscsi" and "smb"\. The default is "fileio" which uses a smbtorture/BENCH\-NBENCH style loadfile\.
.SS "\-c \-\-loadfile=<filename>"
.PP
This specifies the name of the loadfile to use\. The loadfile describes the sequence and timing of operations that dbench will issue\.
.SS "\-T \-\-tcp\-options=<string>"
.PP
This option only apply to the "sockio" backend\.
+.SH "SMB OPTIONS"
+.SS "\-\-smb\-share=//<hostname>/<share>[/<path>]"
+.PP
+This option only apply to the "smb" backend\.
+.PP
+This option is mandatory when the "smb" backend is used\.
+.PP
+This specifies the server and the share to use for the testing\. It also contains an optional path to a directory to use\.
+.PP
+Example: \-\-smb\-share=//MY\-SERVER/DATA
+.SS "\-\-smb\-user=[<domain>/]<user>%<password>"
+.PP
+This option only apply to the "smb" backend\.
+.PP
+This option is mandatory when the "smb" backend is used\.
+.PP
+This specifies the username and password to use when authenticationg to the server\.
+.PP
+Example: \-\-smb\-user=Administrator%Password
.SH "NFS OPTIONS"
.SS "\-\-server=<hostname>"
.PP
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="id2479709"></a><h3>-c --loadfile=<filename></h3><p>
+ There are currently six types of backends : "fileio", "sockio", "nfs", "scsi", "iscsi" and "smb". The default is "fileio" which uses a smbtorture/BENCH-NBENCH style loadfile.
+ </p></div><div class="refsect2" lang="en"><a name="id2479710"></a><h3>-c --loadfile=<filename></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="id2479721"></a><h3>-D --directory=<string></h3><p>
+ </p></div><div class="refsect2" lang="en"><a name="id2479722"></a><h3>-D --directory=<string></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="id2479735"></a><h3>-R --target-rate=<double></h3><p>
+ </p></div><div class="refsect2" lang="en"><a name="id2479736"></a><h3>-R --target-rate=<double></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></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="id2479820"></a><h3>--per-client-results</h3><p>
+ </p></div><div class="refsect2" lang="en"><a name="id2479821"></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="id2479833"></a><h2>FILEIO OPTIONS</h2><div class="refsect2" lang="en"><a name="id2528486"></a><h3>-F --fsync</h3><p>
deleted an object that stat() will fail.
</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=<string></h3><p>
This option only apply to the "sockio" backend.
- </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=<hostname></h3><p>
+ </p></div></div><div class="refsect1" lang="en"><a name="id2528585"></a><h2>SMB OPTIONS</h2><div class="refsect2" lang="en"><a name="id2528591"></a><h3>--smb-share=//<hostname>/<share>[/<path>]</h3><p>
+ This option only apply to the "smb" backend.
+ </p><p>
+ This option is mandatory when the "smb" backend is used.
+ </p><p>
+ This specifies the server and the share to use for the testing. It also contains an optional path to a directory to use.
+ </p><p>
+ Example: --smb-share=//MY-SERVER/DATA
+ </p></div><div class="refsect2" lang="en"><a name="id2528616"></a><h3>--smb-user=[<domain>/]<user>%<password></h3><p>
+ This option only apply to the "smb" backend.
+ </p><p>
+ This option is mandatory when the "smb" backend is used.
+ </p><p>
+ This specifies the username and password to use when authenticationg to the server.
+ </p><p>
+ Example: --smb-user=Administrator%Password
+ </p></div></div><div class="refsect1" lang="en"><a name="id2528641"></a><h2>NFS OPTIONS</h2><div class="refsect2" lang="en"><a name="id2528647"></a><h3>--server=<hostname></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="id2528610"></a><h3>--export=<string></h3><p>
+ </p></div><div class="refsect2" lang="en"><a name="id2528666"></a><h3>--export=<string></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="id2528629"></a><h3>--protocol=<string></h3><p>
+ </p></div><div class="refsect2" lang="en"><a name="id2528685"></a><h3>--protocol=<string></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="id2528644"></a><h3>--trunc-io=<integer></h3><p>
+ </p></div><div class="refsect2" lang="en"><a name="id2528700"></a><h3>--trunc-io=<integer></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="id2528664"></a><h2>SCSI OPTIONS</h2><div class="refsect2" lang="en"><a name="id2528669"></a><h3>--scsi=<scsi-device></h3><p>
+ </p></div></div><div class="refsect1" lang="en"><a name="id2528720"></a><h2>SCSI OPTIONS</h2><div class="refsect2" lang="en"><a name="id2528725"></a><h3>--scsi=<scsi-device></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="id2528691"></a><h2>iSCSI OPTIONS</h2><p>
+ </p></div></div><div class="refsect1" lang="en"><a name="id2528747"></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="id2528702"></a><h3>--iscsi-portal=<ip-address></h3><p>
+ </p><div class="refsect2" lang="en"><a name="id2528758"></a><h3>--iscsi-portal=<ip-address></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="id2528721"></a><h3>--iscsi-port=<tcp port></h3><p>
+ </p></div><div class="refsect2" lang="en"><a name="id2528777"></a><h3>--iscsi-port=<tcp port></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=<iqn name></h3><p>
+ </p></div><div class="refsect2" lang="en"><a name="id2528798"></a><h3>--iscsi-target=<iqn name></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="id2528761"></a><h3>--iscsi-lun=<LUN></h3><p>
+ </p></div><div class="refsect2" lang="en"><a name="id2528817"></a><h3>--iscsi-lun=<LUN></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="id2528781"></a><h2>COPYRIGHT/LICENSE</h2><div class="literallayout"><p><br>
+ </p></div></div><div class="refsect1" lang="en"><a name="id2528837"></a><h2>COPYRIGHT/LICENSE</h2><div class="literallayout"><p><br>
Copyright (C) Andrew Tridgell 2008<br>
Copyright (C) Ronnie Sahlberg 2008<br>
<br>