Dbench
Revision as of 12:02, 10 December 2018 by Onnowpurbo (talk | contribs) (Created page with "==Install== apt install dbench ==Run== dbench [options]numclients tbench [options]numclientsserver tbench_srv [options] ==Option== -c client.txt Use this as...")
Install
apt install dbench
Run
dbench [options]numclients tbench [options]numclientsserver tbench_srv [options]
Option
-c client.txt Use this as the full path name of the client.txt file (the default is /usr/share/dbench/client.txt).
-s Use synchronous file IO on all file operations.
-t TIME set the runtime of the benchmark in seconds (default 600)
-D DIR set the base directory to run the filesystem operations in
-x enable xattr support, simulating the xattr operations Samba4 would need to perform to run the load
-S Use synchronous IO for all directory operations (unlink, rmdir, mkdir and rename). The tbench program takes a number, which indicates the number of clients to run simultaneously, and a server name: tbench_srv should be invoked on that server before invoking tbench. tbench can also take the following options:
-T option[,...] This sets the socket options for the connection to the server. The options are a comma-separated list of one or more of the following: SO_KEEPALIVE, SO_REUSEADDR, SO_BROADCAST, SO_NODELAY, SO_LOWDELAY, SO_THROUGHPUT, SO_SNDBUF=number, SO_RCVBUF=number, SO_SNDLOWAT=number, SO_RCVLOWAT=number, SO_SNDTIMEO=number,and SO_RCVTIMEO=number. See socket(7) for details about these options. The tbench_srv can only take one option: -T option[,...] as documented above.