Bonnie++ vs Filebench
Bonnie++
github.comFilebench
github.comSide by side
| Figure | Bonnie++ | Filebench |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| Linux | Yes | Yes |
| Self-hosted | Yes | — |
| Plans published | 1 | 1 |
| Spec score · Disk Benchmark Software | 8.4 (#3) | 7.2 (#23) |
| Spec score · PC Benchmark Software | 8.4 (#10) | 7.5 (#50) |
| Spec score · PC benchmark tools | 7.9 (#36) | 7.2 (#63) |
| Free plan | Yes | Yes |
| License | The project documentation states that Bonnie++ is licensed under GPL version 2.0. | The repository’s LICENSE file identifies the Common Development and Distribution License (CDDL), Version 1.0. |
| Purpose | Bonnie++ benchmarks hard drives and file systems by measuring work per second and CPU usage. | Filebench is a file system and storage benchmark that generates a variety of workloads. |
Plans
In their own words
Bonnie++
Bonnie++ is a free, command-line benchmark suite for measuring filesystem and disk I/O performance on Linux. It exercises sequential input and output, rewrites, random seeks, and file operations including creation, stat, and deletion of many small files. The project describes these workloads as useful for investigating I/O bottlenecks in I/O-intensive applications, including database work, and for simulating file activity associated with Squid or INN. Bonnie++ can test more than 2 GB of storage on a 32-bit machine. Its -D option enables direct I/O for bulk tests, while -b calls fsync after each write and syncs the directory after file creation or deletion. Semaphore support can synchronize multiple instances. Results can be emitted as plain text or CSV, with companion tools to convert CSV into HTML or formatted plain text. The project is licensed under GPL version 2.0, and the repository includes source code and Debian, RPM, and Sun-related packaging files. Its documentation warns against running the benchmark on live production machines because it can affect services and consume disk space or inodes.
Filebench
Filebench is a Linux file system and storage benchmark for generating workloads and measuring I/O behavior. It supports micro- and macro-benchmarking, with random and sequential tests, IOPS measurement, and latency measurement. Its Workload Model Language (WML) lets users describe application I/O by defining filesets, processes, threads, and flow operations. Built-in workload personalities cover mail, web, file, and database servers, and predefined examples include webserver, fileserver, and mailserver workloads. Shipped workloads may not match a particular system's scale, so the documentation recommends copying and adjusting them. Filebench is free: its listed plan is free, with no usage limits stated. It runs on Linux and provides a command-line interface. The README describes building and installing it with configure, make, and sudo make install; yacc and lex are required. Questions, bug reports, and feature requests go to GitHub Issues. The project uses the Common Development and Distribution License (CDDL), Version 1.0.