Bonnie Linux Io Benchmark

Bonnie++

Bonnie++ is a io benchmark tool

installation

tar -zxvf bonnie++-1.03e.tgz
cd bonnie++-1.03e
./configure
make
make install

run benchmark

default benchmark runs with 2 time size of memory, so We should prepare enough disk space.

free -m

It's a good idea, that open another terminal and monitor overhead with top and iostat -x

output log:

# /usr/local/sbin/bonnie++ -d /tmp -u benchmark_os_user

Writing with putc()...done
Writing intelligently...done
Rewriting...done
Reading with getc()... done
Reading intelligently...done
start 'em...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.03e       ------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
test-machi      16G 67552  91 140600  20 60418   6 55812  82 144291   5 365.8   0
                    ------Sequential Create------ --------Random Create--------
                    -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
td-tmc-t01,16G,67552,91,140600,20,60418,6,55812,82,144291,5,365.8,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++

the last line output as bon_csv2html perl script format.

benchmark sample1

Dell PE R710 H700 SAS HDD6G RAID1/RAID5

Machine:
PowerEdge R710 II
Intel(R) Xeon(R) CPU E5620 @ 2.40GH
Model 44 Stepping 2
Mem 7974 MB
PERC H700 Integrated
Red Hat Enterprise Linux AS    
release 4 (Nahant Update 8) Kernel 2.6.9-89.ELsmp (x86_64

RAID1
DELL(tm)    HUS156060VLS600    6.00 Gbps SAS
*2
      ------Sequential Output------ --Sequential Input- --Random-
      -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
 Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
  16G 67552 91 140600  20 60418   6 55812 82 144291   5 365.8   0

      ------Sequential Create------ --------Random Create--------
      -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
   16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++

RAID5
SEAGATE        ST3300657SS    6.00 Gbps SAS
*3
      ------Sequential Output------ --Sequential Input- --Random-
      -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
 Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
  16G 65917 94 159732  22 75116   8 51502 79 226969  11 414.8   0
      ------Sequential Create------ --------Random Create--------
      -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
   16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++

benchmark sample2

Dell R510 H700 SAS HDD6G RAID1/RAID0+1

Machine:
Dell PowerEdge R510 II
Intel(R) Xeon(R) CPU X5650 @ 2.67GHz
Model 44 Stepping 2
Mem 12000 MB ECC
PERC H700 Integrated
Red Hat Enterprise Linux AS
release 4 (Nahant Update 8) Kernel 2.6.9-89.ELlargesmp (x86_64)

RAID1
DELL(tm)        ST3300657SS-H    3.00 Gbps SAS
*2
       ------Sequential Output------ --Sequential Input- --Random-
       -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
  Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
   24G 65603  82 85555  12 44204   5 45780 85 104384   5 419.0   0
       ------Sequential Create------ --------Random Create--------
       -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
 files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
    16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++

RAID0+1
DELL(tm)        HUS156060VLS600    6.00 Gbps SAS
*2*2
       ------Sequential Output------ --Sequential Input- --Random-
       -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
  Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP  /sec %CP
   24G 87806 98 358205 51 183132  22 58260 91 518902  27 942.9   1
       ------Sequential Create------ --------Random Create--------
       -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
 files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
    16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++