OnWorks favicon

dbench - Online in the Cloud

Run dbench in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command dbench that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



dbench - Measure disk throughput for simulated netbench run


dbench [options]numclients
tbench [options]numclientsserver tbench_srv [options]


This manual page documents briefly the dbench and tbench benchmarks. This manual 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.
Given the requirements of running netbench (60 and 150 Windows PCs all on switched fast
ethernet and a really grunty server, and some way to nurse all those machines along so
they will run a very fussy benchmark suite without crashing), these programs were written
to open up netbench to the masses.
Both dbench and tbench read a load description file called client.txt that was derived
from a network sniffer dump of a real netbench run. client.txt is about 4MB and describes
the 90 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.
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
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


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 the client.txt file (the default is

-s Use synchronous file IO on all file operations.

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_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.

Use dbench online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    USBLoaderGX is a GUI for
    Waninkoko's USB Loader, based on
    libwiigui. It allows listing and
    launching Wii games, Gamecube games and
    homebrew on Wii and WiiU...
    Download USBLoaderGX
  • 2
    Firebird RDBMS offers ANSI SQL features
    & runs on Linux, Windows &
    several Unix platforms. Features
    excellent concurrency & performance
    & power...
    Download Firebird
  • 3
    KompoZer is a wysiwyg HTML editor using
    the Mozilla Composer codebase. As
    Nvu's development has been stopped
    in 2005, KompoZer fixes many bugs and
    adds a f...
    Download KompoZer
  • 4
    Free Manga Downloader
    Free Manga Downloader
    The Free Manga Downloader (FMD) is an
    open source application written in
    Object-Pascal for managing and
    downloading manga from various websites.
    This is a mirr...
    Download Free Manga Downloader
  • 5
    UNetbootin allows you to create bootable
    Live USB drives for Ubuntu, Fedora, and
    other Linux distributions without
    burning a CD. It runs on Windows, Linux,
    and ...
    Download UNetbootin
  • 6
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM
    Dolibarr ERP - CRM is an easy to use
    ERP and CRM open source software package
    (run with a web php server or as
    standalone software) for businesses,
    Download Dolibarr ERP - CRM
  • More »

Linux commands