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
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.
Ronnie Sahlberg [Sun, 24 Aug 2008 22:01:06 +0000 (08:01 +1000)]
document the trunc-io option
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
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
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.
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
Ronnie Sahlberg [Tue, 12 Aug 2008 04:49:37 +0000 (14:49 +1000)]
link to the manpage from the header
Ronnie Sahlberg [Tue, 12 Aug 2008 04:48:42 +0000 (14:48 +1000)]
add an initial manpage
Ronnie Sahlberg [Tue, 12 Aug 2008 03:38:40 +0000 (13:38 +1000)]
build the manpage
Ronnie Sahlberg [Tue, 12 Aug 2008 03:26:08 +0000 (13:26 +1000)]
more updates
Ronnie Sahlberg [Tue, 12 Aug 2008 03:21:36 +0000 (13:21 +1000)]
add a download page
Ronnie Sahlberg [Tue, 12 Aug 2008 03:05:24 +0000 (13:05 +1000)]
change the default search string to DBENCH
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
Ronnie Sahlberg [Mon, 11 Aug 2008 01:08:46 +0000 (11:08 +1000)]
fixup the headers again
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
Ronnie Sahlberg [Mon, 11 Aug 2008 01:03:48 +0000 (11:03 +1000)]
fix some typos
Ronnie Sahlberg [Mon, 11 Aug 2008 00:52:49 +0000 (10:52 +1000)]
Fix an incorrect link name
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>
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
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
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
Ronnie Sahlberg [Tue, 29 Jul 2008 06:24:47 +0000 (16:24 +1000)]
Create the TCP and UDP clients explicitely using clnttcp/udp_create
Ronnie Sahlberg [Fri, 25 Jul 2008 07:41:02 +0000 (17:41 +1000)]
Merge branch 'master' of git://git.samba.org/tridge/dbench
Ronnie Sahlberg [Fri, 25 Jul 2008 07:40:42 +0000 (17:40 +1000)]
fix some typos
Andrew Tridgell [Fri, 25 Jul 2008 07:34:03 +0000 (17:34 +1000)]
make symlinks for tbench and nfsbench
Andrew Tridgell [Fri, 25 Jul 2008 07:30:58 +0000 (17:30 +1000)]
shared one binary for all backends
Andrew Tridgell [Fri, 25 Jul 2008 07:15:07 +0000 (17:15 +1000)]
Merge commit 'ronnie/master'
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
Andrew Tridgell [Fri, 25 Jul 2008 07:06:26 +0000 (17:06 +1000)]
move the loadfiles to a subdir
Andrew Tridgell [Fri, 25 Jul 2008 06:53:33 +0000 (16:53 +1000)]
Merge branch 'ronnie-test'
Andrew Tridgell [Fri, 25 Jul 2008 06:53:14 +0000 (16:53 +1000)]
added newline at EOF
Andrew Tridgell [Fri, 25 Jul 2008 06:47:56 +0000 (16:47 +1000)]
converted all backends to new common format
Andrew Tridgell [Fri, 25 Jul 2008 05:10:08 +0000 (15:10 +1000)]
updated README (sort of)
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
Ronnie Sahlberg [Fri, 25 Jul 2008 05:03:41 +0000 (15:03 +1000)]
add an nfs loadfile
Ronnie Sahlberg [Fri, 25 Jul 2008 05:01:38 +0000 (15:01 +1000)]
Add nfsbench and libnfs to the makefile
Ronnie Sahlberg [Fri, 25 Jul 2008 04:58:51 +0000 (14:58 +1000)]
add nfs client library and the dbench nfsio backend
Ronnie Sahlberg [Fri, 25 Jul 2008 04:57:42 +0000 (14:57 +1000)]
add nfs and mount rpcgen specifications
Andrew Tridgell [Wed, 9 Jul 2008 03:06:09 +0000 (13:06 +1000)]
[dbench @ tridge@samba.org-
20080709030609-aepl7hrdkn7mpfoz]
added genloadfile stuff
Andrew Tridgell [Fri, 27 Jul 2007 06:37:23 +0000 (16:37 +1000)]
[dbench @ tridge@samba.org-
20070727063723-yooqj87i60nfyedf]
added --per-client-results
Andrew Tridgell [Fri, 27 Jul 2007 06:12:12 +0000 (16:12 +1000)]
[dbench @ tridge@samba.org-
20070727061212-fqo949vuzzlryi1d]
added --skip-cleanup
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
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
Andrew Tridgell [Thu, 26 Jul 2007 00:46:55 +0000 (10:46 +1000)]
[dbench @ tridge@samba.org-
20070726004655-8330ilxbx6n6q69a]
added --stat-check
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
Andrew Tridgell [Tue, 17 Jul 2007 12:39:45 +0000 (22:39 +1000)]
[dbench @ tridge@samba.org-
20070717123945-34sbk2w6rhc3wdm9]
added --no-resolve option
Andrew Tridgell [Tue, 17 Jul 2007 09:50:43 +0000 (19:50 +1000)]
[dbench @ tridge@samba.org-
20070717095043-tifyvmnopab19ztq]
re-enable name resolution code
Andrew Tridgell [Tue, 17 Jul 2007 09:29:59 +0000 (19:29 +1000)]
[dbench @ tridge@samba.org-
20070717092959-atanw5uu94lnpfj4]
reset counters after warmup
Andrew Tridgell [Tue, 17 Jul 2007 08:41:52 +0000 (18:41 +1000)]
[dbench @ tridge@samba.org-
20070717084152-smtpps3ihfko3s16]
- fixed deltree
- added per operation reporting
Andrew Tridgell [Tue, 17 Jul 2007 05:50:47 +0000 (15:50 +1000)]
[dbench @ tridge@samba.org-
20070717055047-m20k2oq6mulzyj87]
fixed the corruption bug in loadfiles
Andrew Tridgell [Mon, 16 Jul 2007 06:44:15 +0000 (16:44 +1000)]
[dbench @ tridge@samba.org-
20070716064415-cpll2e4px9l436a1]
setlinebuf in parent
Andrew Tridgell [Mon, 16 Jul 2007 06:32:38 +0000 (16:32 +1000)]
[dbench @ tridge@samba.org-
20070716063238-0m0hhf8123qua8vz]
consistent throughput result
Andrew Tridgell [Mon, 16 Jul 2007 06:21:38 +0000 (16:21 +1000)]
[dbench @ tridge@samba.org-
20070716062138-tkjb96ppy0ure478]
show number of active clients
Andrew Tridgell [Mon, 16 Jul 2007 06:01:14 +0000 (16:01 +1000)]
[dbench @ tridge@samba.org-
20070716060114-oa7cpn3y3b9ynky4]
fixed default server for tbench
Andrew Tridgell [Mon, 16 Jul 2007 05:28:09 +0000 (15:28 +1000)]
[dbench @ tridge@samba.org-
20070716052809-g729pk7588pgkbh2]
show max latency
Andrew Tridgell [Mon, 16 Jul 2007 05:08:29 +0000 (15:08 +1000)]
[dbench @ tridge@samba.org-
20070716050829-51bn6awtq5nlcr9n]
fixed bogus startup latencies
Andrew Tridgell [Mon, 16 Jul 2007 04:57:38 +0000 (14:57 +1000)]
[dbench @ tridge@samba.org-
20070716045738-w43whgzrlijwipu7]
fixed cleanup for multiple clients per process
Andrew Tridgell [Mon, 16 Jul 2007 04:12:05 +0000 (14:12 +1000)]
[dbench @ tridge@samba.org-
20070716041205-ndm0vhllg1guj8eb]
allow multiple clients per process
Andrew Tridgell [Mon, 16 Jul 2007 02:26:37 +0000 (12:26 +1000)]
[dbench @ tridge@samba.org-
20070716022637-ylnbp60t9smd08gv]
change to GPLv3
Andrew Tridgell [Mon, 16 Jul 2007 02:19:18 +0000 (12:19 +1000)]
[dbench @ tridge@samba.org-
20070716021918-3kmmz3x2hzwccxam]
- no statics in backends
- fix tbench
Andrew Tridgell [Sun, 15 Jul 2007 12:45:31 +0000 (22:45 +1000)]
[dbench @ tridge@samba.org-
20070715124531-g2327o7r0y3eo3q1]
convert to popt
Andrew Tridgell [Fri, 13 Jul 2007 04:20:44 +0000 (14:20 +1000)]
[dbench @ tridge@samba.org-
20070713042044-2d7cz73ew2dx2ive]
fixed flush to actually flush
Andrew Tridgell [Mon, 25 Jun 2007 02:04:09 +0000 (12:04 +1000)]
[dbench @ tridge@samba.org-
20070625020409-1ky1oe54k6bhn4kq]
ignore some files
tridge [Sun, 24 Jun 2007 14:49:47 +0000 (14:49 +0000)]
[dbench @ cvs-1:tridge-
20070624144947-nvb9q50s9ps3a3al]
show latency, and added -F switch
tridge [Fri, 22 Jun 2007 10:18:40 +0000 (10:18 +0000)]
[dbench @ cvs-1:tridge-
20070622101840-jlcfy1gphxfo0ts3]
added support for rate limiting, numeric status codes and timed operations
tridge [Wed, 15 Nov 2006 16:40:26 +0000 (16:40 +0000)]
[dbench @ cvs-1:tridge-
20061115164026-iw98h2hy00fjv67r]
patch to use sysv semaphores at startup to prevent a race. Patch from
Christian Ehrhardt <EHRHARDT@de.ibm.com>
tridge [Wed, 16 Nov 2005 12:49:43 +0000 (12:49 +0000)]
[dbench @ cvs-1:tridge-
20051116124943-u90297v8d2mwwadg]
more verbose error reporting patch from Oliver Ries
tridge [Mon, 7 Nov 2005 16:40:52 +0000 (16:40 +0000)]
[dbench @ cvs-1:tridge-
20051107164052-dkh800nlmav1crv4]
upped version
tridge [Wed, 12 Jan 2005 11:34:38 +0000 (11:34 +0000)]
[dbench @ cvs-1:tridge-
20050112113438-hqyww4hv80kau51v]
updated version
tridge [Wed, 12 Jan 2005 11:04:18 +0000 (11:04 +0000)]
[dbench @ cvs-1:tridge-
20050112110418-1itneozrn5ngng5a]
fixed va_copy definitions to follow standard
tridge [Sun, 12 Dec 2004 15:46:52 +0000 (15:46 +0000)]
[dbench @ cvs-1:tridge-
20041212154652-znm2v8tptca1ddyg]
mak dbench portable to AIX 5.1
tridge [Sun, 12 Dec 2004 15:37:02 +0000 (15:37 +0000)]
[dbench @ cvs-1:tridge-
20041212153702-jiql52xlm6veyfqs]
mak dbench portable to sunos 5.8
tridge [Sun, 12 Dec 2004 15:26:32 +0000 (15:26 +0000)]
[dbench @ cvs-1:tridge-
20041212152632-lk9gt1u7mb0bq40o]
make dbench portable to IRIX 6.4
tridge [Sun, 12 Dec 2004 14:37:42 +0000 (14:37 +0000)]
[dbench @ cvs-1:tridge-
20041212143742-r0tjbd9yb1njroen]
- patch from BaT for bsd EA support
- cleanup some unusued fns
- move to samba4 mkproto.pl instead of mkproto.awk
tridge [Thu, 2 Dec 2004 13:11:56 +0000 (13:11 +0000)]
[dbench @ cvs-1:tridge-
20041202131156-yxlgeepetksfwqrm]
gettimeofday is a more accurate estimate for a samba4 xattr
tridge [Mon, 22 Nov 2004 11:48:19 +0000 (11:48 +0000)]
[dbench @ cvs-1:tridge-
20041122114819-4sxquozftfsnhv4v]
cope with a wider range of xattr headers
tridge [Sun, 21 Nov 2004 23:11:47 +0000 (23:11 +0000)]
[dbench @ cvs-1:tridge-
20041121231147-uttvlufrirqdx3q4]
only set tv_end once
tridge [Sun, 21 Nov 2004 22:25:33 +0000 (22:25 +0000)]
[dbench @ cvs-1:tridge-
20041121222533-dz2dolrdo5bpevt9]
make version 3.01
tridge [Sun, 21 Nov 2004 21:57:24 +0000 (21:57 +0000)]
[dbench @ cvs-1:tridge-
20041121215724-3wi29kgrnp696bqj]
make sure the child dies if the parent dies
tridge [Sun, 21 Nov 2004 21:51:35 +0000 (21:51 +0000)]
[dbench @ cvs-1:tridge-
20041121215135-5elp6j9jg44fr82c]
print right value for nprocs
tridge [Sun, 21 Nov 2004 21:48:23 +0000 (21:48 +0000)]
[dbench @ cvs-1:tridge-
20041121214823-zy71jopb5i8dxchd]
ensure xattrs work
tridge [Sun, 21 Nov 2004 21:45:00 +0000 (21:45 +0000)]
[dbench @ cvs-1:tridge-
20041121214500-yah2wuld0biw6sl0]
changed min warmup time to 20%
tridge [Sun, 21 Nov 2004 21:43:12 +0000 (21:43 +0000)]
[dbench @ cvs-1:tridge-
20041121214312-iaxq43gehj21otop]
ensure that every client has started some real work before warmup
stage starts
tridge [Sat, 20 Nov 2004 23:20:44 +0000 (23:20 +0000)]
[dbench @ cvs-1:tridge-
20041120232044-b09954284qcjo9dw]
added GPL COPYING file
tridge [Sat, 20 Nov 2004 20:57:48 +0000 (20:57 +0000)]
[dbench @ cvs-1:tridge-
20041120205748-dj1arh812wukc4k7]
fixed -D
tridge [Sat, 20 Nov 2004 20:48:08 +0000 (20:48 +0000)]
[dbench @ cvs-1:tridge-
20041120204808-6tabzcwrds19u81q]
renamed to client.txt
tridge [Sat, 20 Nov 2004 20:41:39 +0000 (20:41 +0000)]
[dbench @ cvs-1:tridge-
20041120204139-2x6alo16bsoewknf]
better -v behaviour
tridge [Sat, 20 Nov 2004 20:39:36 +0000 (20:39 +0000)]
[dbench @ cvs-1:tridge-
20041120203936-sv6zw8j6bju29slq]
ignore some files
tridge [Sat, 20 Nov 2004 20:39:06 +0000 (20:39 +0000)]
[dbench @ cvs-1:tridge-
20041120203906-17u2zvu36r7puxg7]
doc fixes
tridge [Sat, 20 Nov 2004 20:28:34 +0000 (20:28 +0000)]
[dbench @ cvs-1:tridge-
20041120202834-mukz6gmmd1g9le8y]
- converted to new load file
- made a much better match to samba4
tridge [Sat, 20 Nov 2004 17:06:44 +0000 (17:06 +0000)]
[dbench @ cvs-1:tridge-
20041120170644-utbtoh8xq8osoc6z]
ignore some files and put configure in cvs
tridge [Sat, 20 Nov 2004 17:04:52 +0000 (17:04 +0000)]
[dbench @ cvs-1:tridge-
20041120170452-ikit60o5mh7x0jww]
fixed install
tridge [Sat, 20 Nov 2004 16:52:30 +0000 (16:52 +0000)]
[dbench @ cvs-1:tridge-
20041120165230-79uzz0dny3yyd5vd]
added some autoconf foo
tridge [Fri, 19 Nov 2004 02:04:46 +0000 (02:04 +0000)]
[dbench @ cvs-1:tridge-
20041119020446-cb4b8o6j9furvt1q]
quick hack addition of -x option for xattr support
tridge [Wed, 15 Oct 2003 15:58:48 +0000 (15:58 +0000)]
[dbench @ cvs-1:tridge-
20031015155848-mo532i7yg19srujm]
aix portability fixes
tridge [Tue, 11 Feb 2003 16:32:27 +0000 (16:32 +0000)]
[dbench @ cvs-1:tridge-
20030211163227-xunz0a7djc1jwc5f]
more accurate size of packets
tridge [Tue, 11 Feb 2003 16:31:46 +0000 (16:31 +0000)]
[dbench @ cvs-1:tridge-
20030211163146-l8936c5mayjtolwe]
make sure we clear to end of line
tridge [Wed, 17 Apr 2002 21:43:42 +0000 (21:43 +0000)]
[dbench @ cvs-1:tridge-
20020417214342-k7s5si612kf1e9d8]
fixed arguments to createx for initial dir create
tridge [Mon, 11 Mar 2002 12:08:18 +0000 (12:08 +0000)]
[dbench @ cvs-1:tridge-
20020311120818-avpsww3be9ok8cgc]
don't print the silly "."