1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source4/torture
Stefan Metzmacher 5303f6f7fd s4:torture/smb2: add smb2.bench.read test
This test opens one file for each loop (for nprocs * qdepth loops)
and for each file it loops in read requests for the first
io_size bytes.

time smbtorture //127.0.0.1/m -Uroot%test smb2.bench.read \
        --option="torture:timelimit=600" \
        --option="torture:nprocs=1" \
        --option="torture:qdepth=4" \
        --option="torture:io_size=4096"

In order to generate constant load for profiles
--option="torture:looplimit=150000" can be used to stop
after the given number of loops before the timelimit hits.

Sometimes the bottleneck is the smbtorture process.
In order to bring the smbd process to 100% cpu, you can use
'--option="libsmb:client_guid=6112f7d3-9528-4a2a-8861-0ca129aae6c4"'
and run multiple instances of the test at the same time,
which both talk to the same smbd process.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>

Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Thu Jun  1 08:14:23 UTC 2023 on atb-devel-224
2023-06-01 08:14:23 +00:00
..
auth auth: Make more liberal use of SID index constants 2023-02-08 00:03:39 +00:00
basic s4:torture:basic: use milliseconds granularity in delayed_write_update7 2023-03-01 20:55:47 +00:00
dfs
dns s4:dnsserver: Rename dns_name_equal() to samba_dns_name_equal() 2023-01-19 10:20:27 +00:00
drs librpc/ndr: Unimplement DRSUAPI_COMPRESSION_TYPE_XPRESS and rename 2023-03-31 01:48:30 +00:00
gpo lib/util: remove extra safe_string.h file 2020-08-28 02:18:40 +00:00
krb5 s4:torture: Replace calls to deprecated function 2023-05-17 00:24:38 +00:00
ldap s4:torture: Consistently use NBT_SERVER_* flags 2023-05-29 22:32:28 +00:00
ldb CVE-2023-0614 ldb: Make use of ldb_filter_attrs_in_place() 2023-04-05 02:10:35 +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 libsmb: Fix test for smbc_getxattr 2023-04-09 10:44:38 +00:00
local lib/comression: convert test_lzxpress_plain to cmocka 2022-12-01 22:56:39 +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 librpc:ndr: Update ndr_print_debug() to the new ndr ABI 2022-07-15 14:25:38 +00:00
ntp CVE-2022-38023 s4:torture: use NETLOGON_NEG_SUPPORTS_AES by default 2022-12-13 13:07:29 +00:00
rap s4:torture: Use GnuTLS RC4 for RAP SAM test 2019-07-26 01:48:25 +00:00
raw s4:torture: Fix warning messages for smb.raw.session 2023-04-06 12:51:30 +00:00
rpc s4:torture: Don't try to close the connection after running disconnect tests 2023-04-12 13:52:32 +00:00
smb2 s4:torture/smb2: add smb2.bench.read test 2023-06-01 08:14:23 +00:00
tests s4:torture: Fix shellcheck errors in test_masktest.sh 2022-08-22 20:35:36 +00:00
unix s4/torture/unix_info2: return NULL on failure 2022-06-17 02:18:32 +00:00
vfs CI: add a test for fruit AppleDouble conversion when deletion triggers conversion 2023-05-25 23:59:33 +00:00
winbind s4:kdc: Add resource SID compression 2023-02-08 00:03:39 +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