DBENCH(1)
π dbench(1) β General Commands Manual π
okay bestie, this is the dbench(1) page from the General Commands Manual, and weβre gonna make it make sense without losing a single crumb β¨
πΈ NAME πΈ
dbench β Measure disk throughput for simulated netbench run
β¨ SYNOPSIS β¨
copy this exactly, no vibe-based βfixingβ:
dbench [options]numclients
tbench [options]numclientsserver tbench_srv [options]
π¦ DESCRIPTION π¦
This manual page documents briefly the dbench and tbench benchmarks. This page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. However, it has fairly easy to read source code π
Netbench is a terrible benchmark, but itβs an βindustry standardβ and itβs what is used in the press to rate windows fileservers like Samba and WindowsNT. The original page literally drops this sentence: βGiven the requirements of running netbench (60 and 150 Windows PCs all on switched fast ethernet and a really grunty server, and a to open up netbench to the masses.β iconic run-on, no notes π
Both dbench and tbench read a load description file called client.txt that was derived from a capture of a real netbench run. client.txt is about 25MB and describes the 500 thousand operations that a netbench client does in a typical netbench run. They parse client.txt and use it to produce the same load without having to buy a huge lab. slay π
dbench produces only the filesystem load. It does all the same IO calls that the smbd server in Samba would produce when confronted with a netbench run. It does no networking calls.
tbench produces only the TCP and process load. It does the same socket calls that smbd would do under a netbench load. It does no filesystem calls. The idea behind tbench is to eliminate smbd from the netbench test, as though the smbd code could be made infinately fast.
π OPTIONS π
The dbench program takes a number, which indicates the number of clients to run simultaneously. It can also take the following options:
-c client.txtβ Use this as the full path name of theclient.txtfile (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,mkdirandrename).
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:
-c loadfileβ Use this as the full path name of theclient.txtfile (the default is/usr/share/dbench/client.txt).-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, andSO_RCVTIMEO=number. Seesocket(7)for details about these options.
The tbench_srv can only take one option: -t option[,...] as documented above. yes, lowercase -t here, exactly as the page says π«Ά
π SEE ALSO π
/usr/share/doc/dbench/README contains the original README by Andrew Tridgell which accompanies the dbench source.
π AUTHOR π
This manual page was written by Paul Russell <prussell@alderaan.franken.de>, for the Debian GNU/Linux system (but may be used by others).
Page check complete: DBENCH(1), October 15, 2001, from the General Commands Manual β love u, bye π
π¦ where this page comes from
- epel 10: dbench 4.0-32.el10_0 Β· GPL-2.0-or-later
- epel 9: dbench 4.0-25.el9 Β· GPLv2+
- fedora 43: dbench 4.0-34.fc43 Β· GPL-2.0-or-later
- fedora 44: dbench 4.0-36.fc44 Β· GPL-2.0-or-later
- opensuse-leap 16.0: dbench 3.04-bp160.1.12 Β· GPL-2.0+
- opensuse-leap 16.0: dbench 3.04-bp160.1.12 Β· GPL-2.0+
- opensuse-leap 16.0: dbench 3.04-bp160.1.12 Β· GPL-2.0+
- opensuse-leap 16.0: dbench 3.04-bp160.1.12 Β· GPL-2.0+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms