Jump to content

bonnie++ benchmarking tool.


abarbarian

Recommended Posts

I ha d a quick play with bonnie++ today.

 

I have Arch 64 and ran bonnie++ on a single 500GB Samsung F3 hdd and a 60GB Kingston SSDNOW 300.

 

This is the command I ran and the result.

 

[22:59][bloodaxe@longship XXX]$ bonnie++ -d /home/bloodaxe/XXX/ -r 3956 -m ARC3 | bon_csv2html > ArchF3.html		
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.
Can't process: Version 1.97	 ------Sequential Output------ --Sequential put- --Random-
Can't process: Concurrency 1	 -Per Chr- --Block-- -Rewrite- -Per Chr- --Bck-- --Seeks--
Can't process: Machine	 Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/s %CP /sec %CP
Can't process: ARCHF3		 8G 404 99 133124 40 58092 22 1895 96 1674 29 171.4 6
Can't process: Latency			 40101us	 362ms	 329ms 49998us	 1ms 1846ms
Can't process: Version 1.97	 ------Sequential Create------ --------RandoCreate--------
Can't process: ARCHF3			 -Create-- --Read--- -Delete-- -Create-- --Rd--- -Delete--
Can't process:			 files /sec %CP /sec %CP /sec %CP /sec %CP /s %CP /sec %CP
Can't process:				 16 28807 69 +++++ +++ +++++ +++ +++++ +++ +++ +++ +++++ +++
Can't process: Latency			 282us 1501us 3232us	 195us	 us 3242us
[23:05][bloodaxe@longship XXX]$ 

 

-r 3956 = is used to specify the amount of RAM in MB the system has installed. This is total RAM, and not free RAM. Use free -m to find out how much RAM is on your system.

 

-m ARC3 = adds a label to the output so that you can understand what the test was at a later date.

 

| bon_csv2html > ArchF3.html = creates a file that can be read in a browser (maybe Libre Office)

 

You can see the test took 6 minutes this is on the F3. CPU usage fluctuated 20% to 100% (not sure if that is one or two cores used)

 

Here are the results in a more readable form.

 

2014-03-03-2257331629x415scrot.png

 

I forgot to mention I only had FF and xterm running and did not use the pc at all while the run ran.

 

Thought folks might like to see how their drives compare and is an upgrade to a ssd

worth it.

 

:breakfast:

Edited by abarbarian
  • Like 1
Link to comment
Share on other sites

securitybreach

Well mine took a whole lot longer than 6 minutes:

 comhack@Cerberus ~/XXX % bonnie++ -d /home/comhack/XXX/ -r 16014 -m ARC3 | bon_csv2html > ArchF3.html 
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.
Can't process: Version 1.97 ------Sequential Output------ --Sequential Input- --Random-
Can't process: Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Can't process: Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
Can't process: ARC3 32028M 885 97 81684 5 37873 3 5670 89 82841 4 161.6 2
Can't process: Latency 10121us 1250ms 1559ms 21460us 1060ms 2019ms
Can't process: Version 1.97 ------Sequential Create------ --------Random Create--------
Can't process: ARC3 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
Can't process: files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
Can't process: 16 29496 22 +++++ +++ 30302 22 +++++ +++ +++++ +++ +++++ +++
Can't process: Latency 12824us 248us 273us 1035us 11us 241us
bonnie++ -d /home/comhack/XXX/ -r 16014 -m ARC3 3.00s user 75.02s system 4% cpu 28:44.23 total
bon_csv2html > ArchF3.html 0.00s user 0.00s system 0% cpu 28:44.23 total

 

qkUMIIJ.png

Link to comment
Share on other sites

Well it will, mine was a 8GB run yours was a 32 GB run.

 

Interesting to see that you use a great deal less cpu% than either of my runs. An your " Per Char K/sec" count is way higher but your "Block K/sec" count is way lower. Latency seems to be higher and lower.

 

What all that means, I ain't got a clue. Apart from in some ways my lowly ssd is streets ahead yet lagging in other ways.

 

I might give it a go with a 32 GB run to see what happens.

 

I forgot to mention I only had FF and xterm running and did not use the pc at all while the run ran. :fish:

  • Like 1
Link to comment
Share on other sites

securitybreach

Well it will, mine was a 8GB run yours was a 32 GB run.

 

Interesting to see that you use a great deal less cpu% than either of my runs. An your " Per Char K/sec" count is way higher but your "Block K/sec" count is way lower. Latency seems to be higher and lower.

 

What all that means, I ain't got a clue. Apart from in some ways my lowly ssd is streets ahead yet lagging in other ways.

 

I might give it a go with a 32 GB run to see what happens.

 

I forgot to mention I only had FF and xterm running and did not use the pc at all while the run ran. :fish:

 

Oh, I was running my normal stuff (about 20 consoles with 40+ tabs on chromium) but I also do not understand the differences very much B)

Link to comment
Share on other sites

2014-03-04-0217081612x609scrot.png

 

Here are the three results together. :shifty:

 

Running all the stuff would make a difference. At a guess I would say it would show lower results but that does not seem to be the case all round. Just shows how much we don't know about how linux runs. :fish:

Link to comment
Share on other sites

abarbarian, could you explain the "Random Seeks" portion. I see over all where the SSD drive is using more CPU % then the conventional drive. Under the "Random Seeks" you see under the SSD 145% and only 6% on the conventional drive.

 

Please explain.

 

Thanks,

 

Ian

Link to comment
Share on other sites

Need to do some reading so I can understand the output better so I know when I have improved or unimproved.

[ichase02@arch64 ~]$ bonnie++ -d /home/ichase02/ -r 8192 -m ARC3 | bon_csv2html > ArchF3.html
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.
Can't process: Version 1.97	 ------Sequential Output------ --Sequential Input- --Random-
Can't process: Concurrency 1	 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Can't process: Machine	 Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
Can't process: ARC3		 16G 814 92 44426 11 18868 3 2926 65 45866 4 112.2 3
Can't process: Latency			 37853us 14383ms 1821ms	 105ms	 302ms	 577ms
Can't process: Version 1.97	 ------Sequential Create------ --------Random Create--------
Can't process: ARC3			 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
Can't process:			 files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
Can't process:				 16 1590 1 +++++ +++ 24194 21 +++++ +++ +++++ +++ +++++ +++
Can't process: Latency			 14011us	 849us	 838us	 288us	 82us	 349us

 

0576be313205367.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...