Bonnie++
github.com
- Free plan
- Linux
- Self-hosted
What Bonnie++ is
Bonnie++ is a free, Linux command-line benchmark suite for measuring filesystem and disk I/O performance. It examines sequential input and output, rewrites, random seeks, and file operations such as creating, checking, and deleting many small files. These workloads can help investigate I/O bottlenecks in demanding applications, including database work. Bonnie++ can test more than 2 GB of storage on a 32-bit machine, and its -D option enables direct I/O for bulk tests. The -b option calls fsync after each write and syncs the directory after file creation or deletion. Semaphore support can coordinate multiple running instances. Results are available as plain text or CSV, with companion tools to convert CSV output to HTML or formatted text. The project is licensed under GPL version 2.0, and its repository includes Debian, RPM, and Sun packaging files. The documentation cautions against running the benchmark on live production machines because it can affect services and use disk space or inodes.
Who it suits
Bonnie++ suits Linux users investigating filesystem or disk I/O bottlenecks, including those examining workloads associated with database applications. It is intended for non-production testing, since its documentation warns against running it on live production machines.
Good to know, and what to watch
- Tests sequential, random, and file-operation workloads
- Handles more than 2 GB on 32-bit machines
- Offers direct I/O and per-write syncing options
- Exports plain text and CSV results
- Free under GPL version 2.0
- Command-line software for Linux
- Production use can affect services
- Runs can consume disk space or inodes
Plans
Every plan and priceBonnie++
Free plan
The verdict
Bonnie++ covers several disk and filesystem workloads and offers flexible result formats. Its production warning is important: run it only where its impact on services and storage is acceptable.
What the maker publishes
- Author
- The manual credits Russell Coker as the writer of the program and manual page, with parts based on Tim Bray's work. source
- Availability
- The repository contains source code, Debian and RPM packaging files, and Sun-related files. source
- Direct I/O
- The -D option enables direct I/O for bulk I/O tests. source
- Distribution files
- The repository includes Debian, RPM, and Sun packaging directories. source
- File operations
- It tests file creation, stat, and unlink operations as well as sequential and random I/O. source
- File tests
- It tests creation, stat, and deletion of many small files. source
- Free plan
- Yes source
- Intended use
- The documentation describes its tests as useful for examining I/O bottlenecks in I/O-intensive applications, including database work. source
- Intended users
- The documentation describes tests that simulate I/O patterns in database applications and file activity similar to Squid or INN. source
- I/O tests
- It tests sequential input and output, rewrites, and random seeks. source
- Large storage
- It adds support for testing more than 2 GB of storage on a 32-bit machine. source
- License
- The project documentation states that Bonnie++ is licensed under GPL version 2.0. source
- Maintainer attribution
- The copyright notice credits Russell Coker with updating the program and adding large-storage and file-creation tests. source
- Operational caution
- The documentation warns that running Bonnie++ on live servers can consume disk space or inodes and advises against running it on production machines. source
- Output formats
- Bonnie++ provides plain-text and CSV output, with included tools to convert CSV to HTML or formatted text. source
- Production warning
- The documentation warns against running Bonnie++ on live production machines because it can severely affect services and consume disk space or inodes. source
- Purpose
- Bonnie++ is a benchmark suite for measuring filesystem and disk I/O performance. source
- Purpose
- Bonnie++ benchmarks hard drives and file systems by measuring work per second and CPU usage. source
- Results
- It can output results in CSV format, and companion tools convert CSV data to HTML or formatted plain text. source
- Synchronized runs
- Semaphore support lets multiple Bonnie++ instances run in synchronization. source
- Synchronized runs
- Multiple Bonnie++ processes can synchronize their tests using semaphores. source
- Write behavior
- The -b option disables write buffering by calling fsync after each write. source
- Write syncing
- The -b option calls fsync after each write and syncs the directory after file creation or deletion. source
Checked against the maker's pages on 8 Oct 2026.