understanding and tuning the bonnie++ benchmarks.

From: Antonio G. - Geotronix (antonio@sunstone.it)
Date: Thu Apr 17 2003 - 14:56:48 EST


I've tried running a few bonnie++ benchmarks but I'm not understaning
how to tune the options. Nor can I figure out much form the output
because I don't understand what the options do...
I went to the programs homepage but theres no info on this.

This is the string I used to measure my single HD throughput. This
because I want to compare it with the RAID system I will soon implement.

bonnie++ -d /mnt/download/hd_tests/ -s:1024:32k -m Gaia -r 512 -x 2 -u
antonio -f | bon_csv2txt

And this is the output:

Version 1.02b ------Sequential Output------ --Sequential Input- --Random-
                    -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
Gaia 1G:32k 26895 41 10177 13 25450 16 145.5 3
Gaia 1G:32k 26636 42 9849 12 25920 17 146.4 3
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files:max:min /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
Gaia 16 340 97 +++++ +++ 16450 79 340 97 +++++ +++ 1861 96
Gaia 16 267 77 +++++ +++ 12301 62 240 69 +++++ +++ 1339 69

----------------end of first test-------------------

If my filesys is ext3 with 4K blocks must I use a 4K chunk-size? Is this
what the chunk-size is for??
Why is the "sequential create --> read" empty? I would like to
understand how fast is my HD in reading but can't get it from the

Would be greatfull if someone could help me with this stuff. A nice link
to some www page would do fine. I tried with google but can't find much
that is helpfull.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:22 EST