the size (in Meg) of the blocks to read/write (default 512M), optionally
followed by a : and the chunk size for read/write operations (default 1M).
Note that the chunk size must be less than or equal to the block size and
must also be significantly less than the size of the RAM in the machine.
Also note that for the write test there will be a fsync() after writing every
the number of times to read/write the entire disk.
the range of data (in Meg) to read/write on each pass (default the entire
device). Useful if you want to quickly test part of a large drive. If a
single number is given then that is the last block to read, if two numbers
then its the start and end of a range. Values are in megs, but they are
rounded down to the block size.
skip rate. The option -s 10 will cause it to read every 10th block and skip
the rest. Accepts values from 2 to 20.
the file-name for the input data. This isnt needed on well configured
systems that have a recent Glibc where you can specify the file name without
the -f flag.
user-id to use. When running as root specify the UID to run the tests as, it
is not recommended to use root, so if you want to run as root use
-u root. Also if you want to specify the group to run as then use the
user:group format. If you specify a user by name but no group then the primary group of
that user will be chosen. If you specify a user by number and no group then
the group will be
group-id to use. Same as using
:group for the
-u parameter, just a different way to specify it for compatibility with other
write zero blocks to the disk instead of reading from the disk - will destroy data!
This program, its manual page, and the Debian package were written by Russell Coker <email@example.com>.
The source is available from http://www.coker.com.au/bonnie++ .
See http://etbe.coker.com.au/category/benchmark for further information.