tridge/dbench.git
9 years agoadd a webpage for the smb backend master
Ronnie Sahlberg [Tue, 8 Dec 2009 05:48:54 +0000 (16:48 +1100)]
add a webpage for the smb backend

9 years agoDocument the two new smb options
Ronnie Sahlberg [Tue, 8 Dec 2009 05:29:16 +0000 (16:29 +1100)]
Document the two new smb options

--smb-user=[DOMAIN/]USER%PASSWORD
and
--smb-share=//SERVER/SHARE[/PATH]

9 years agoAdd handling of /clients/client? to the SMB backend
root [Sun, 6 Dec 2009 22:51:07 +0000 (09:51 +1100)]
Add handling of /clients/client? to the SMB backend

9 years agoremove a debug message
root [Sun, 6 Dec 2009 22:26:07 +0000 (09:26 +1100)]
remove a debug message

9 years agoMention that you can specify a path in the --smb-share argument.
root [Sun, 6 Dec 2009 22:18:13 +0000 (09:18 +1100)]
Mention that you can specify a path in the --smb-share argument.

--smb-share=//SERVER/SHARE[/PATH]

9 years agochange the syntax to use --smb-share=//SERVER/SHARE instead of a separate --smb-serve...
root [Sun, 6 Dec 2009 21:11:07 +0000 (08:11 +1100)]
change the syntax to use --smb-share=//SERVER/SHARE instead of a separate --smb-server and a --smb-share argument

9 years agoAdd a DELTREE and READDIR operation
root [Sun, 6 Dec 2009 21:02:42 +0000 (08:02 +1100)]
Add a DELTREE and READDIR operation

9 years agoAdd several new functions for the SMB backend :
root [Sat, 5 Dec 2009 02:14:23 +0000 (13:14 +1100)]
Add several new functions for the SMB backend :

OPEN/CREATE
CLOSE
READ
WRITE
UNLINK

9 years agochange the status for SMB commands to be either of SUCCESS, ERROR or *
root [Fri, 4 Dec 2009 06:39:12 +0000 (17:39 +1100)]
change the status for SMB commands to be either of SUCCESS, ERROR or *

update the example loadfile and document this

update the framework code in child.c to accept SUCCESS/ERROR as the status string

change the commands for SMB to be all uppercase and add checking the status to them

9 years agoAdd support to log in to the SMB server/share
root [Fri, 4 Dec 2009 05:54:04 +0000 (16:54 +1100)]
Add support to log in to the SMB server/share
and for the MKDIR and RMDIR operations

Add initial example loadfile for these two operations

9 years agoinitial parsing of command line arguments for smb
Ronnie Sahlberg [Fri, 4 Dec 2009 04:23:23 +0000 (15:23 +1100)]
initial parsing of command line arguments for smb

9 years agoAdd smb.o to the makefile
Ronnie Sahlberg [Fri, 4 Dec 2009 04:07:00 +0000 (15:07 +1100)]
Add smb.o to the makefile

9 years agoAdd a blank file for the SMB backend.
Ronnie Sahlberg [Fri, 4 Dec 2009 04:06:26 +0000 (15:06 +1100)]
Add a blank file for the SMB backend.

9 years agoFix the webpage with the example loadfile for iSCSI.
Ronnie Sahlberg [Fri, 4 Dec 2009 04:02:04 +0000 (15:02 +1100)]
Fix the webpage with the example loadfile for iSCSI.

4kb is actually 8 blocks, not 4.

9 years agolink with zlib so we can read gzip compressed loadfiles
Ronnie Sahlberg [Tue, 3 Nov 2009 04:25:40 +0000 (15:25 +1100)]
link with zlib so we can read gzip compressed loadfiles

9 years agoadd machinereadable output for the data printed every second
Ronnie Sahlberg [Wed, 14 Oct 2009 06:29:44 +0000 (17:29 +1100)]
add machinereadable output for the data printed every second
@W@1@1085@0.74@1@21.302@

first field is W R or C   representing the state of the run
Warmup, Running or Cleanup

9 years agoadd a new option --machine-readable
Ronnie Sahlberg [Wed, 14 Oct 2009 05:52:37 +0000 (16:52 +1100)]
add a new option --machine-readable

This prints the list of operations using ':' as a separator :

 Operation                Count    AvgLat    MaxLat
 --------------------------------------------------
:GETATTR3:625:1.429:20.554:
:LOOKUP3:625:0.854:21.356:
:READ3:624:0.891:7.811:

egrep for "^:" to find these datalines.

The summary is printed using ';' as a separator :

;0.995267;1;1;9.738;

egrep "^;" to find this line

9 years agofsync directory on file creation if sync_dirs set
Andrew Tridgell [Mon, 28 Sep 2009 02:33:55 +0000 (12:33 +1000)]
fsync directory on file creation if sync_dirs set

9 years agoadd an init function to the nfs backend to test we can reach the server before we...
Ronnie Sahlberg [Sat, 26 Sep 2009 00:11:03 +0000 (10:11 +1000)]
add an init function to the nfs backend to test we can reach the server before we start spawning childprocesses

9 years agoteach NFS READ3 operation about doing I/O to a random offset in the file.
Ronnie Sahlberg [Sat, 26 Sep 2009 00:03:57 +0000 (10:03 +1000)]
teach NFS READ3 operation about doing I/O to a random offset in the file.

9 years agoupdate the usage output to include scsi and iscsi as backends.
Ronnie Sahlberg [Fri, 25 Sep 2009 23:10:07 +0000 (09:10 +1000)]
update the usage output to include scsi and iscsi as backends.

Fix a typo.

9 years agoupdate the manpage with --iscsi-port
Ronnie Sahlberg [Fri, 25 Sep 2009 23:02:09 +0000 (09:02 +1000)]
update the manpage with --iscsi-port

9 years agomention we support iscsi on the features list
Ronnie Sahlberg [Fri, 25 Sep 2009 22:59:05 +0000 (08:59 +1000)]
mention we support iscsi on the features list

9 years agolink to the iscsi page
Ronnie Sahlberg [Fri, 25 Sep 2009 22:58:53 +0000 (08:58 +1000)]
link to the iscsi page

9 years agoadd a web page for iscsi
Ronnie Sahlberg [Fri, 25 Sep 2009 22:58:21 +0000 (08:58 +1000)]
add a web page for iscsi

9 years agoupdated git tree for download
Ronnie Sahlberg [Fri, 25 Sep 2009 21:46:22 +0000 (07:46 +1000)]
updated git tree for download

9 years agoupdate incorrect git address on the web page
Ronnie Sahlberg [Fri, 25 Sep 2009 21:01:35 +0000 (07:01 +1000)]
update incorrect git address on the web page

9 years agoif we have a data-in without the S-bit, then there is more data to read
Ronnie Sahlberg [Fri, 25 Sep 2009 04:09:36 +0000 (14:09 +1000)]
if we have a data-in without the S-bit, then there is more data to read
so loop for next pdu.

9 years agoadd documentation for TESTUNITREADY
Ronnie Sahlberg [Fri, 25 Sep 2009 04:09:19 +0000 (14:09 +1000)]
add documentation for TESTUNITREADY

9 years agomake it possible to use "*" to specify a random argument in the loadfile.
Ronnie Sahlberg [Mon, 21 Sep 2009 02:22:03 +0000 (12:22 +1000)]
make it possible to use "*" to specify a random argument in the loadfile.
update the iscsi example loadfile to handle "*"

9 years agofix bug when setting default port for iscsi
Ronnie Sahlberg [Thu, 17 Sep 2009 22:22:53 +0000 (08:22 +1000)]
fix bug when setting default port for iscsi

9 years agoadd a parameter to se the iscsi port to use
Ronnie Sahlberg [Thu, 17 Sep 2009 22:04:49 +0000 (08:04 +1000)]
add a parameter to se the iscsi port to use

9 years agodocumentation
Ronnie Sahlberg [Thu, 17 Sep 2009 21:59:43 +0000 (07:59 +1000)]
documentation

9 years agodocument the iscsi cmd line arguments
Ronnie Sahlberg [Mon, 14 Sep 2009 21:01:47 +0000 (07:01 +1000)]
document the iscsi cmd line arguments

9 years agoexample laodfile for iscsi
Ronnie Sahlberg [Mon, 14 Sep 2009 20:45:32 +0000 (06:45 +1000)]
example laodfile for iscsi

9 years agoinitial support for iSCSI.
Ronnie Sahlberg [Mon, 14 Sep 2009 20:43:46 +0000 (06:43 +1000)]
initial support for iSCSI.
very primitive support which only supports a subset of iSCSI sufficient to talk to a STGT target

9 years agowhen using random lba, make it align on an xferlen boundary
root [Thu, 23 Jul 2009 05:52:25 +0000 (15:52 +1000)]
when using random lba, make it align on an xferlen boundary

9 years agoupdate documentation for the scsi backend
Ronnie Sahlberg [Wed, 22 Jul 2009 02:40:15 +0000 (12:40 +1000)]
update documentation for the scsi backend

9 years agoadd a mechanism to use random LBA in scsi read/write
root [Wed, 22 Jul 2009 02:31:27 +0000 (12:31 +1000)]
add a mechanism to use random LBA in scsi read/write

9 years agoimplement WRITE10
root [Wed, 22 Jul 2009 02:17:15 +0000 (12:17 +1000)]
implement WRITE10

also make sure the lba is wrapped if it points to something larget than the device so that loadfiles will not fail when used against a smaller device

10 years agofix a debug statement to print also the directory name (and not
Ronnie Sahlberg [Fri, 27 Feb 2009 04:21:45 +0000 (15:21 +1100)]
fix a debug statement to print also the directory name  (and not
whatever the top of stack hyappened to point at :-)

10 years agoadd a "warmup" argument so we can specify explicitely how long the warmup period...
Ronnie Sahlberg [Tue, 17 Feb 2009 23:49:52 +0000 (10:49 +1100)]
add a "warmup" argument so we can specify explicitely how long the warmup period should be

10 years agodocument the --scsi option
Ronnie Sahlberg [Fri, 17 Oct 2008 05:22:42 +0000 (16:22 +1100)]
document the --scsi option

10 years agoadd read6 support
Ronnie Sahlberg [Fri, 17 Oct 2008 03:28:25 +0000 (14:28 +1100)]
add read6 support

10 years agoupdate read10 and implement readcapacity10
Ronnie Sahlberg [Fri, 17 Oct 2008 03:23:14 +0000 (14:23 +1100)]
update read10 and implement readcapacity10

10 years agoadd link to my samba.org page
Ronnie Sahlberg [Fri, 17 Oct 2008 02:56:44 +0000 (13:56 +1100)]
add link to my samba.org page

10 years agoupdates to the scsi backend. implementing TESTUNITREADY and READ10
Ronnie Sahlberg [Wed, 15 Oct 2008 03:20:01 +0000 (14:20 +1100)]
updates to the scsi backend.   implementing TESTUNITREADY and READ10
commands

10 years agotest whether linux scsi generic ioctl() is available, in which case we
Ronnie Sahlberg [Wed, 15 Oct 2008 01:37:47 +0000 (12:37 +1100)]
test whether linux scsi generic ioctl() is available, in which case we
can build a scsi backend

10 years agofix memory leak for reads
Ronnie Sahlberg [Tue, 9 Sep 2008 01:39:13 +0000 (11:39 +1000)]
fix memory leak for reads

10 years agowe must explicitely release the memory where the filehandle is held since librpc...
Ronnie Sahlberg [Tue, 9 Sep 2008 01:34:39 +0000 (11:34 +1000)]
we must explicitely release the memory where the filehandle is held since librpc is broken

10 years agofree the memory we allocate to the child name
Ronnie Sahlberg [Tue, 9 Sep 2008 01:07:20 +0000 (11:07 +1000)]
free the memory we allocate to the child name

10 years agoiclear the allocated memory. we will later try to read this as a string and convert...
Ronnie Sahlberg [Tue, 9 Sep 2008 00:50:34 +0000 (10:50 +1000)]
iclear the allocated memory.  we will later try to read this as a string and convert it to an integer so make sure it starts out as 0

10 years agowhen we fail to lookup a handle, try doing a recursive lookup and re-scan and re...
Ronnie Sahlberg [Mon, 8 Sep 2008 23:20:30 +0000 (09:20 +1000)]
when we fail to lookup a handle, try doing a recursive lookup and re-scan and re-LOOKUP3 the objects from the server starting at / and see if this helps instead of failing immediately.

10 years agodocument the trunc-io option
Ronnie Sahlberg [Sun, 24 Aug 2008 22:01:06 +0000 (08:01 +1000)]
document the trunc-io option

10 years agoiWe dont really need the data sent back from the server in a read so make it
Ronnie Sahlberg [Sun, 24 Aug 2008 21:56:33 +0000 (07:56 +1000)]
iWe dont really need the data sent back from the server in a read so make it
conditional and skip the memcpy() if the buffer we want to read into is NULL

10 years ago add a parameter trunc-io-X when used it will truncate all reads/writes larger...
Ronnie Sahlberg [Fri, 22 Aug 2008 07:28:46 +0000 (17:28 +1000)]
 add a parameter trunc-io-X   when used it will truncate all reads/writes larger than this to X.

this to allow loadfiles to run on nfs servers that habve a small limit for rpc pdu sizes

10 years ago100 bytes is much too small for a buffer to hold an NFS filename.
Ronnie Sahlberg [Tue, 19 Aug 2008 02:17:13 +0000 (12:17 +1000)]
100 bytes is much too small for a buffer to hold an NFS filename.
Make it default to 1024 bytes.

10 years agorebase all html links to /web instead of /
Ronnie Sahlberg [Tue, 12 Aug 2008 23:07:03 +0000 (09:07 +1000)]
rebase all html links to /web  instead of /
so we can point outside of the /web subdirectory

10 years agolink to the manpage from the header
Ronnie Sahlberg [Tue, 12 Aug 2008 04:49:37 +0000 (14:49 +1000)]
link to the manpage from the header

10 years agoadd an initial manpage
Ronnie Sahlberg [Tue, 12 Aug 2008 04:48:42 +0000 (14:48 +1000)]
add an initial manpage

10 years agobuild the manpage
Ronnie Sahlberg [Tue, 12 Aug 2008 03:38:40 +0000 (13:38 +1000)]
build the manpage

10 years agomore updates
Ronnie Sahlberg [Tue, 12 Aug 2008 03:26:08 +0000 (13:26 +1000)]
more updates

10 years agoadd a download page
Ronnie Sahlberg [Tue, 12 Aug 2008 03:21:36 +0000 (13:21 +1000)]
add a download page

10 years agochange the default search string to DBENCH
Ronnie Sahlberg [Tue, 12 Aug 2008 03:05:24 +0000 (13:05 +1000)]
change the default search string to DBENCH

10 years agoexplicitely set the nfs options we need in tshark rather
Ronnie Sahlberg [Tue, 12 Aug 2008 02:59:33 +0000 (12:59 +1000)]
explicitely set the nfs options we need in tshark rather
than relying that they are set in .wireshark/preferences

10 years agofixup the headers again
Ronnie Sahlberg [Mon, 11 Aug 2008 01:08:46 +0000 (11:08 +1000)]
fixup the headers again

10 years agomake the nfs-loadfile section headings the same style as on the main index page
Ronnie Sahlberg [Mon, 11 Aug 2008 01:05:33 +0000 (11:05 +1000)]
make the nfs-loadfile section headings the same style as on the main index page

10 years agofix some typos
Ronnie Sahlberg [Mon, 11 Aug 2008 01:03:48 +0000 (11:03 +1000)]
fix some typos

10 years agoFix an incorrect link name
Ronnie Sahlberg [Mon, 11 Aug 2008 00:52:49 +0000 (10:52 +1000)]
Fix an incorrect link name

10 years agoadd webpages for the front page and for nfs-load file generation and use
Ronnie Sahlberg [Thu, 7 Aug 2008 00:44:50 +0000 (10:44 +1000)]
add webpages for the front page and for nfs-load file generation and use

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
10 years agoImplement a status code of '*' for the nfs backend.
Ronnie Sahlberg [Thu, 31 Jul 2008 01:38:50 +0000 (11:38 +1000)]
Implement a status code of '*' for the nfs backend.
This means that we dont care what the response was and may be useful for
situations where we might want to unconidtionally create a file/directory
but we dont care if it fails or not (might already exist?)

Add an example of '*' to the nfs loadfile

10 years agoAdd a new option "--run-once"
Ronnie Sahlberg [Thu, 31 Jul 2008 01:14:00 +0000 (11:14 +1000)]
Add a new option "--run-once"
If this is specified, dbench will only run the load file once
and then terminate

10 years agodont forget to update the pointer to the parent node when we move a node around in...
Ronnie Sahlberg [Tue, 29 Jul 2008 07:42:34 +0000 (17:42 +1000)]
dont forget to update the pointer to the parent node when we move a node around in the tree

10 years agoCreate the TCP and UDP clients explicitely using clnttcp/udp_create
Ronnie Sahlberg [Tue, 29 Jul 2008 06:24:47 +0000 (16:24 +1000)]
Create the TCP and UDP clients explicitely using clnttcp/udp_create

10 years agoMerge branch 'master' of git://git.samba.org/tridge/dbench
Ronnie Sahlberg [Fri, 25 Jul 2008 07:41:02 +0000 (17:41 +1000)]
Merge branch 'master' of git://git.samba.org/tridge/dbench

10 years agofix some typos
Ronnie Sahlberg [Fri, 25 Jul 2008 07:40:42 +0000 (17:40 +1000)]
fix some typos

10 years agomake symlinks for tbench and nfsbench
Andrew Tridgell [Fri, 25 Jul 2008 07:34:03 +0000 (17:34 +1000)]
make symlinks for tbench and nfsbench

10 years agoshared one binary for all backends
Andrew Tridgell [Fri, 25 Jul 2008 07:30:58 +0000 (17:30 +1000)]
shared one binary for all backends

10 years agoMerge commit 'ronnie/master'
Andrew Tridgell [Fri, 25 Jul 2008 07:15:07 +0000 (17:15 +1000)]
Merge commit 'ronnie/master'

10 years agoTrim off some LOOKUP calls we do not need in the nfs loadfile to initialize
Ronnie Sahlberg [Fri, 25 Jul 2008 07:07:54 +0000 (17:07 +1000)]
Trim off some LOOKUP calls we do not need in the nfs loadfile to initialize
the name->fhandle mapping any more.

Make sure to create the /clients directory if it does not exist

10 years agomove the loadfiles to a subdir
Andrew Tridgell [Fri, 25 Jul 2008 07:06:26 +0000 (17:06 +1000)]
move the loadfiles to a subdir

10 years agoMerge branch 'ronnie-test'
Andrew Tridgell [Fri, 25 Jul 2008 06:53:33 +0000 (16:53 +1000)]
Merge branch 'ronnie-test'

10 years agoadded newline at EOF
Andrew Tridgell [Fri, 25 Jul 2008 06:53:14 +0000 (16:53 +1000)]
added newline at EOF

10 years agoconverted all backends to new common format
Andrew Tridgell [Fri, 25 Jul 2008 06:47:56 +0000 (16:47 +1000)]
converted all backends to new common format

10 years agoupdated README (sort of)
Andrew Tridgell [Fri, 25 Jul 2008 05:10:08 +0000 (15:10 +1000)]
updated README (sort of)

10 years agoIn child.c : For all commands such as "CreateX,..." check if the backend
Ronnie Sahlberg [Fri, 25 Jul 2008 05:06:57 +0000 (15:06 +1000)]
In child.c : For all commands such as "CreateX,..." check if the backend
supports this command or not.

Create a structure of function pointers to hold all possible operations dbench
can manage.
Add all NFSv3 specific operations to this structure.

Let sockio, nfsio and fileio provide this structure to dbench telling
dbench which command they can handle and which they do not understand.

Add three new commandline parameters specific to nfsbench :
--server  --export and --protocol

10 years agoadd an nfs loadfile
Ronnie Sahlberg [Fri, 25 Jul 2008 05:03:41 +0000 (15:03 +1000)]
add an nfs loadfile

10 years agoAdd nfsbench and libnfs to the makefile
Ronnie Sahlberg [Fri, 25 Jul 2008 05:01:38 +0000 (15:01 +1000)]
Add nfsbench and libnfs to the makefile

10 years agoadd nfs client library and the dbench nfsio backend
Ronnie Sahlberg [Fri, 25 Jul 2008 04:58:51 +0000 (14:58 +1000)]
add nfs client library and the dbench nfsio backend

10 years agoadd nfs and mount rpcgen specifications
Ronnie Sahlberg [Fri, 25 Jul 2008 04:57:42 +0000 (14:57 +1000)]
add nfs and mount rpcgen specifications

10 years ago[dbench @ tridge@samba.org-20080709030609-aepl7hrdkn7mpfoz]
Andrew Tridgell [Wed, 9 Jul 2008 03:06:09 +0000 (13:06 +1000)]
[dbench @ tridge@samba.org-20080709030609-aepl7hrdkn7mpfoz]
added genloadfile stuff

11 years ago[dbench @ tridge@samba.org-20070727063723-yooqj87i60nfyedf]
Andrew Tridgell [Fri, 27 Jul 2007 06:37:23 +0000 (16:37 +1000)]
[dbench @ tridge@samba.org-20070727063723-yooqj87i60nfyedf]
added --per-client-results

11 years ago[dbench @ tridge@samba.org-20070727061212-fqo949vuzzlryi1d]
Andrew Tridgell [Fri, 27 Jul 2007 06:12:12 +0000 (16:12 +1000)]
[dbench @ tridge@samba.org-20070727061212-fqo949vuzzlryi1d]
added --skip-cleanup

11 years ago[dbench @ tridge@samba.org-20070727060117-mjnjs3nd4ca15xbm]
Andrew Tridgell [Fri, 27 Jul 2007 06:01:17 +0000 (16:01 +1000)]
[dbench @ tridge@samba.org-20070727060117-mjnjs3nd4ca15xbm]
added --fake-io for fast testing

11 years ago[dbench @ tridge@samba.org-20070726060231-cteycxr5l2ou6xj7]
Andrew Tridgell [Thu, 26 Jul 2007 06:02:31 +0000 (16:02 +1000)]
[dbench @ tridge@samba.org-20070726060231-cteycxr5l2ou6xj7]
fixed stat_check for existing files

11 years ago[dbench @ tridge@samba.org-20070726004655-8330ilxbx6n6q69a]
Andrew Tridgell [Thu, 26 Jul 2007 00:46:55 +0000 (10:46 +1000)]
[dbench @ tridge@samba.org-20070726004655-8330ilxbx6n6q69a]
added --stat-check

11 years ago[dbench @ tridge@samba.org-20070718021312-66ehd1ktbjfvq9au]
Andrew Tridgell [Wed, 18 Jul 2007 02:13:12 +0000 (12:13 +1000)]
[dbench @ tridge@samba.org-20070718021312-66ehd1ktbjfvq9au]
-print lines on io errors
- added --one-byte-write-fix
- fixed latency on wrap

11 years ago[dbench @ tridge@samba.org-20070717123945-34sbk2w6rhc3wdm9]
Andrew Tridgell [Tue, 17 Jul 2007 12:39:45 +0000 (22:39 +1000)]
[dbench @ tridge@samba.org-20070717123945-34sbk2w6rhc3wdm9]
added --no-resolve option

11 years ago[dbench @ tridge@samba.org-20070717095043-tifyvmnopab19ztq]
Andrew Tridgell [Tue, 17 Jul 2007 09:50:43 +0000 (19:50 +1000)]
[dbench @ tridge@samba.org-20070717095043-tifyvmnopab19ztq]
re-enable name resolution code

11 years ago[dbench @ tridge@samba.org-20070717092959-atanw5uu94lnpfj4]
Andrew Tridgell [Tue, 17 Jul 2007 09:29:59 +0000 (19:29 +1000)]
[dbench @ tridge@samba.org-20070717092959-atanw5uu94lnpfj4]
reset counters after warmup