1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/torture
Stefan Metzmacher 2dfb334f8c s4:torture/smb2: add smb2.bench.path-contention-shared
This test tortures contention on a single path where
all opens are shared stat opens without any oplock/lease
interaction.

It opens 'nproc' connections to the share and runs
for 'timelimit' seconds, while it opens and closes
the 'bench_path' on each connection as fast as possible.

The number of concurrent connections can be specified
with:

  --option="torture:nprocs=256"

while the default is 4.

The runtime can be specified by

  --option='torture:timelimit=30'

the default being 10.

By default the test operates on the share root directory, but
the path can be changed with:

  --option='torture:bench_path=Apps\1\2\3\4\5\6\7\8\9\10'

pointing to an existing file or directory.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
2022-07-05 15:09:35 +00:00
..
auth s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
basic source4/torture: Drop unused variable tdif 2022-02-17 18:12:52 +00:00
dfs
dns tortures/dlz: more DNS update tests 2022-06-17 01:28:30 +00:00
drs s4-smbtorture: Fix typo in assertion message 2022-03-17 00:41:34 +00:00
gpo lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
krb5 s4:torture: Adapt KDC canon test to Heimdal upstream changes 2022-01-19 20:50:35 +00:00
ldap s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
ldb Fix clang 9 missing-field-initializer warnings 2020-05-08 09:31:31 +00:00
libnet s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
libnetapi torture: Fix build on freebsd, missing deps on cmdline 2021-06-22 02:05:17 +00:00
libsmbclient spelling: connnect encrytion exisit expection explicit invalide missmatch paramater paramter partion privilige relase reponse seperate unkown verson authencication progagated 2022-06-10 18:12:33 +00:00
local s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
man Argument to control number of operations -o no longer valid 2019-09-18 19:51:11 +00:00
nbench lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
nbt s4/torture: Update winsreplication to only use IPv4 addresses 2019-03-27 13:31:27 +00:00
ndr s4:torture: check return of ndr_pull_init_blob() via torture_assert() 2022-07-01 08:12:49 +00:00
ntp s4:torture: Use GnuTLS MD5 in ntp_signd test 2019-05-21 00:03:23 +00:00
rap s4:torture: Use GnuTLS RC4 for RAP SAM test 2019-07-26 01:48:25 +00:00
raw s4: torture: Fix raw.search:test_one_file() by using the SMB1+POSIX connection for POSIX info levels. 2021-12-11 11:14:31 +00:00
rpc spelling: connnect encrytion exisit expection explicit invalide missmatch paramater paramter partion privilige relase reponse seperate unkown verson authencication progagated 2022-06-10 18:12:33 +00:00
smb2 s4:torture/smb2: add smb2.bench.path-contention-shared 2022-07-05 15:09:35 +00:00
tests s4:torture: Change -U|--user to --user1 and --user2 2021-06-16 00:34:38 +00:00
unix s4/torture/unix_info2: return NULL on failure 2022-06-17 02:18:32 +00:00
vfs s4: torture: Improve error messages in check_stream() and read_stream() to include the filename and NTSTATUS. 2021-06-25 15:53:31 +00:00
winbind selftest: Extend test_wbc_logon_user to test WBFLAG_PAM_UNIX_NAME flag 2022-04-08 20:13:37 +00:00
gentest.c s4/torture/gentest: don't ignore unknown options 2021-09-10 15:10:30 +00:00
locktest.c s4/torture/locktest: don't ignore unknown options 2021-09-10 15:10:30 +00:00
masktest.c s4: torture: Use smbcli_unlink_wcard() to setup and cleanup in masktest. 2021-12-09 18:06:35 +00:00
shell.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
smbtorture.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
smbtorture.h s4:torture/smb2: replace torture:cn_max_buffer_size option with the negotiated max trans size 2019-03-28 23:09:37 +00:00
torture.c s4:torture: Remove unused include 2021-06-16 00:34:38 +00:00
util_smb.c s4:torture: Migrate smbtorture to new cmdline option parser 2021-06-16 00:34:38 +00:00
util.h s4:torture: add a torture_user2_credentials() helper to pass additional credentials 2021-03-17 00:49:32 +00:00
wscript_build s4:waf: Fix dependencies for TORTURE_UTIL 2021-12-06 22:08:31 +00:00