mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
5303f6f7fd
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 |
||
---|---|---|
.. | ||
auth | ||
cldap_server | ||
client | ||
cluster | ||
dns_server | ||
dsdb | ||
echo_server | ||
include | ||
kdc | ||
ldap_server | ||
lib | ||
libcli | ||
libnet | ||
librpc | ||
nbt_server | ||
ntp_signd | ||
ntvfs | ||
param | ||
rpc_server | ||
samba | ||
script | ||
scripting | ||
selftest | ||
setup | ||
smb_server | ||
torture | ||
utils | ||
winbind | ||
wrepl_server | ||
.clang_complete | ||
.valgrind_suppressions | ||
wscript_build |