summaryrefslogtreecommitdiff
path: root/source4/torture/nbench/nbench.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23535: accept numeric ntstatus codes in nbench load files (ronnies wiresharkAndrew Tridgell1-3/+9
script generates numeric codes) (This used to be commit 455895c4b1651bc74f2f64514344d3561a2cd5bb)
2007-10-10r23534: honour the targetrate even for loadfiles with timestampsAndrew Tridgell1-1/+5
(This used to be commit 24b6aabd11849518f46231358994118a39bb0cb3)
2007-10-10r23533: added --option torture:targetrate=rate to target a particularAndrew Tridgell1-0/+7
throughput in MBytes/sec (This used to be commit 35477e8e3d58acce467648f3bd83a43d135caefa)
2007-10-10r23531: added optional latency reporting in BENCH-NBENCH. To use it, you needAndrew Tridgell1-3/+14
to have a load file that puts a timestamp in the first column. That tells NBENCH to target the same throughput as the capture, and to report the maximum amount of latency miss in the test This allows you to quickly see how many clients you can run with while still meeting a given target (This used to be commit 7f045ca4f5e3e777978cad39ac22f0c611af6b10)
2007-10-10r20650: revert a bunch of code I didn't mean to commit yetAndrew Tridgell1-14/+3
(This used to be commit b3e2d4908781781a487eaeb683d22eb967e5597d)
2007-10-10r20647: add cluster codeAndrew Tridgell1-3/+14
(This used to be commit 5870830b99a8d76bda1ff5af3fcf8dda9aba50ec)
2007-10-10r20302: added support for 64 bit file offsets in NBENCHAndrew Tridgell1-1/+1
(This used to be commit 9a9f18914139370311a13044bde7948a2a901738)
2007-10-10r20301: add an option torture:readonly which allows the NBENCH test to be runAndrew Tridgell1-12/+15
read only. This is only any use with customer loadfiles, and pre-created data. I'm using this to test performance as a video server, with pre-created video files. (This used to be commit 48a322a9c19f10fa95c1f8092c643d8e10df1303)
2007-10-10r19510: Make smbtorture's `nprocs' parameter a parametric option.Jelmer Vernooij1-2/+2
(This used to be commit f5d6b3ca29788d171d53822a26295ae895a5ed8f)
2007-10-10r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij1-2/+2
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
2007-10-10r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grainedJelmer Vernooij1-3/+13
output in the testsuite rather than just True or False for a set of tests. The aim is to use this for: * known failure lists (run all tests and detect tests that started working or started failing). This would allow us to get rid of the RPC-SAMBA3-* tests * nicer torture output * simplification of the testsuite system * compatibility with other unit testing systems * easier usage of smbtorture (being able to run one test and automatically set up the environment for that) This is still a work-in-progress; expect more updates over the next couple of days. (This used to be commit 0eb6097305776325c75081356309115f445a7218)
2007-10-10r16907: Add an index parameter to torture_open_connection. Next step is to ↵Volker Lendecke1-1/+1
enable the unclist parameter for all tests that do two connections, to enable cluster testing. Volker (This used to be commit a5d6db09244d444986f8fded3fc6e72c74c8ca1f)
2007-10-10r16333: Move more code out of the core smbtorture. It now no longerJelmer Vernooij1-0/+6
contains protocol-specific code. (This used to be commit 819d3b457648ffb7526a770e842badc17b6061fb)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-1/+1
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14527: Fix build problems.Jelmer Vernooij1-1/+2
(This used to be commit 863ca4014d9b821706ee90f58ab5d5cf3899a4c7)
2007-10-10r13346: use private proto header files for the torture testsStefan Metzmacher1-0/+2
metze (This used to be commit 67837dbd2bcff8ec1917ba02884ee2eaa0776b46)
2007-10-10r12694: Move some headers to the directory of the subsystem they belong to.Jelmer Vernooij1-0/+1
(This used to be commit c722f665c90103f3ed57621c460e32ad33e7a8a3)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij1-0/+1
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r10662: Eliminate pstring and friends.Jelmer Vernooij1-8/+6
(This used to be commit ecef1ee6cd0bdae2fcbff3f57edaa26eb72f3481)
2007-10-10r7431: this should fix the bug that mkaplan and I noticed which is thatAndrew Tridgell1-0/+8
BENCH-NBENCH sometimes incorrectly reports that it failed. (This used to be commit 167c29bec6f28e58b5d36325b4285748a47adc58)
2007-10-10r7180: Missed fixing the shutdown for 1 process...Jeremy Allison1-1/+6
Jeremy. (This used to be commit 997e1405cbd4535e18c4729c77ec5de4237f78d7)
2007-10-10r7178: If we're using one process in NETBENCH simultion only open oneJeremy Allison1-5/+14
connection to the server. Makes valgrind/cachegrind on the server easier. Jeremy. (This used to be commit fba9462591864a4efcfae653e1cef81f08299f92)
2007-10-10r5298: - got rid of pstring.h from includes.h. This at least makes it a bitAndrew Tridgell1-0/+2
less likely that anyone will use pstring for new code - got rid of winbind_client.h from includes.h. This one triggered a huge change, as winbind_client.h was including system/filesys.h and defining the old uint32 and uint16 types, as well as its own pstring and fstring. (This used to be commit 9db6c79e902ec538108d6b7d3324039aabe1704f)
2007-10-10r3976: changed NBENCH to use the same recording method as the latest dbench,Andrew Tridgell1-21/+10
where the warmup phase continues until all clients have done some file IO. This gives more repeatable results when under high load (This used to be commit aca0658f6dfe8b7c90afcac87e8cc68965a4288d)
2007-10-10r3507: - added deferred replies on sharing violation in pvfs open. TheAndrew Tridgell1-4/+7
deferred reply is short-circuited immediately when the file is closed by another user, allowing it to be opened by the waiting user. - added a sane set of timeval manipulation routines - converted all the events code and code that uses it to use struct timeval instead of time_t, which allows for microsecond resolution instead of 1 second resolution. This was needed for doing the pvfs deferred open code, and is why the patch is so big. (This used to be commit 0d51511d408d91eb5f68a35e980e0875299b1831)
2007-10-10r3324: made the smbtorture code completely warning freeAndrew Tridgell1-2/+2
(This used to be commit 7067bb9b52223cafa28470f264f0b60646a07a01)
2007-10-10r3040: Add sleeps between operations to nbench. Submitted by ↵Jim McDonough1-0/+2
aliguori@us.ibm.com. (This used to be commit b1bbf0a431a9bcfc786b773be1adf39eaccb0b6e)
2007-10-10r1654: rename cli_ -> smbcli_Stefan Metzmacher1-2/+2
rename CLI_ -> SMBCLI_ metze (This used to be commit 8441750fd9427dd6fe477f27e603821b4026f038)
2007-10-10r1123: Make all lp_ string functions return 'const char *'.Andrew Bartlett1-2/+2
Fix other 'const' warnings in the torture code. Andrew Bartlett (This used to be commit 5d39d7497f189da15d659b3f83b7314026040a15)
2004-03-26use client1, client2 not client0, client1 to better match netbenchAndrew Tridgell1-1/+1
(This used to be commit 4bbc77fa0c3a91fd34e1966892782f5b2a441359)
2004-03-10nicer way of handling \clientsAndrew Tridgell1-0/+2
(This used to be commit 931138cc440f646671ec5e9b52eb3666b2ff014b)
2004-03-10added a 5% warmup time to NBENCH to make the results more consistentAndrew Tridgell1-6/+16
(This used to be commit df50911a9c71bf5b8a8988fdbf6c716f8343fa45)
2004-03-09handle incomplete load filesAndrew Tridgell1-4/+2
change default timelimit to 600 secs (This used to be commit c5c75a6adab10e35584dca760586fda333ca5308)
2004-03-09greatly improved NBENCH netbench simulatorAndrew Tridgell1-0/+192
- more accurate request simulation using Samba4 raw client library - now checks for correct status on all requests - timelimit based benchmarking, default of 600 seconds (This used to be commit a46c009c0459658784d7d7b3b0502dc20958043a)