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.
===> The following configuration options are available for bonnie-2.0.6_2:
STATIC=off: Build static executables and/or libraries
===> Use 'make config' to modify these settings
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
benchmarks: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Alexander Logvinov <ports@logvinov.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey V. Degtyarev
* Andreas Kohn <andreas@syndrom23.de>
* Andrew Shevtsov <nyxo@dnuc.polyn.kiae.su>
* Andrey Zakhvatov <andy@FreeBSD.org>
* Andy Clark <andrewclarkii@gmail.com>
* Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
* Bill Fumerola <billf@chc-chimes.com>
* Brad Davis <brd@FreeBSD.org>
* Bruce A. Mah <bmah@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
- Remove the DESTDIR modifications from individual ports as we have a new,
fully chrooted DESTDIR, which does not need such any more.
Sponsored by: Google Summer of Code 2007
Approved by: portmgr (pav)
Fix two bugs affecting bonnie runs with large data files:
- A printf format specified a long operand but received an offset_t value.
- The random numbers for large seek ranges were computed without regard
for operator precedence and could become negative (for file sizes larger
than 4GB, which was a wrong test for "large", since it did not account
for the chunk size).
The problems were found by etc at fluffles dot net (Enlightenment). Thanks
for the detailed report. Guess there aren't many Bonnie users with multi-
terabyte RAID systems; these bugs had been found long ago, else ...
Use 8k chunks as Bonnie 1.0 did rather than 16k ones.
Otherwise the benchmark output is different (and noticeably lower) when
compared to 1.0.
Requested by: se