Meego Wiki
From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Bonnie++)
Line 6: Line 6:
1. download the tar from this page [http://wiki.meego.com/images/Bonnie_install.tar Bonnie++ v1.96] <br />
1. download the tar from this page [http://wiki.meego.com/images/Bonnie_install.tar Bonnie++ v1.96] <br />
2. untar it in your device <br />
2. untar it in your device <br />
-
3. run install_bonnie.sh as root <br />
+
3. run install_bonnie.sh as root in the same directory where you untarred the package <br />
* Running tests with bonnie++
* Running tests with bonnie++

Revision as of 07:20, 11 May 2011

Contents

Bonnie++

Bonnie++ is a disk IO benchmark utility that allows easy IO performance testing from command line without dependencies to other packages. See further details here bonnie++, here man-page, and here some result explanations

  • Installation

1. download the tar from this page Bonnie++ v1.96
2. untar it in your device
3. run install_bonnie.sh as root in the same directory where you untarred the package

  • Running tests with bonnie++

as root type following to start the standard test:

bonnie++ -u 0 > test_result

to view the result:

cat test_result

or if you don't need to store the result, just do

bonnie++ -u 0

Example run

Nokia-N900:~# bonnie\+\+ -u 0 > bonnie_emmc_1
Using uid:0, gid:0.
Writing a byte at a time...done
Writing intelligently...done
Rewriting...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...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.
Nokia-N900:~# cat bonnie_emmc_1 
Version  1.96       ------Sequential Output------ --Sequential Input- --Random-
Concurrency   1     -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
Nokia-N900     472M   225  97 15611  15 10685  34   458  98 38628  97  2426 336
Latency             58685us    2695ms    4811ms   27497us   34790us    1090ms
Version  1.96       ------Sequential Create------ --------Random Create--------
Nokia-N900          -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16  3484  41 15752  98  1278  15  5421  64 +++++ +++  4058  68
Latency              7079us    9063us    7019us    1677us     213us    1862us
1.96,1.96,Nokia-N900,1,1230783378,472M,,225,97,15611,15,10685,34,458,98,38628,97,2426,336,16,,,,,3484,41,15752,98,1278,15,5421,64,+++++,+++,4058,68,5
8685us,2695ms,4811ms,27497us,34790us,1090ms,7079us,9063us,7019us,1677us,213us,1862us

Tips

  • Testing conditions
    • To achieve somewhat comparable results, let the device boot up fully before running the test
    • Don't do anything else during the test, as this could impact the result.
  • The "bon_csv2html" for ARM in the tar does not seem to work in MeeGo
    • One can probably use also the x86 version to create the html pages from the CSV line at the end of the result output...

TODO

1. Do an RPM package from Bonnie++ (current package is just cross-compiled binaries put manually in a tar...)

Personal tools