BSD Ports

benchmarks/bonnie 2.0.6_2 DragonFly

Performance Test of Filesystem I/O

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
Categories
benchmarks
Package size
7.6 KiB, 14.7 KiB installed

Description

Bonnie: Filesystem Benchmark Program

Bonnie tests the speed of file I/O using standard C library calls. It does reads and writes of blocks, testing for the limit of sustained data rate (usually limited by the drive or controller) and updates on a file (better simulating normal operating conditions and quite dependent on drive and OS optimisations).

The per-character read and write tests are generally limited by CPU speed only on current-generation hardware. It takes some 35 SPECint92 to read or write a file at a rate of 1MB/s using getc() and putc().

The seek tests are dependent on the buffer cache size, since the fraction of disk blocks that fits into the buffer cache will be found without any disk operation and will contribute zero seek time readings. I.e. if the buffer cache is 16MB and the Bonnie test file is 32MB in size, then the seek time will come out as half its real value. The seek time includes rotational delay, and will thus always come out higher than specified for a drive.

In the other systems

SystemPortVersion
DragonFlybenchmarks/bonnie2.0.6_2
FreeBSDbenchmarks/bonnie2.0.6_2
NetBSDbenchmarks/bonnie2.06nb3
MidnightBSDbenchmarks/bonnie2.0.6_1
HardenedBSDbenchmarks/bonnie2.0.6_2
GhostBSDbenchmarks/bonnie2.0.6_2

Install

Binary package:

pkg install bonnie

From DPorts:

cd /usr/dports/benchmarks/bonnie && make install clean

Dependencies

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

===>   NOTICE:

The bonnie port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing