This articlerelies excessively onreferences toprimary sources. Please improve this article by addingsecondary or tertiary sources. Find sources: "Bonnie++" – news ·newspapers ·books ·scholar ·JSTOR(July 2012) (Learn how and when to remove this message) |
Developer(s) | Russell Coker |
---|---|
Initial release | October 13, 1999; 25 years ago (1999-10-13) (0.97) |
Stable release | 2.00a / September 22, 2020; 4 years ago (2020-09-22) |
Written in | C++ |
Operating system | Unix-like |
Available in | English |
Type | Benchmarking |
License | GPL v2[1] |
Website | doc |
Bonnie++ is afree softwarefile system benchmarking tool forUnix-likeoperating systems, developed byRussell Coker. Bonnie++ is a benchmark suite that is aimed at performing a number of simple tests of hard drive and file system performance.
Bonnie++ allows you to benchmark how your file systems perform with respect to data read and write speed, the number of seeks that can be performed per second, and the number of file metadata operations that can be performed per second.[2]
#./bonnie++-urootUsing uid:0, gid:0.Writing with putc()...doneWriting intelligently...doneRewriting...doneReading with getc()...doneReading intelligently...donestart '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.03d ------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 %CPlocalhost 300M 6000 40 5913 9 4213 10 10407 86 20664 20 1078 13 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete— files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP 16 10 93 +++++ +++ 74 63 17 90 +++++ +++ 27 58 localhost,300M,6000,40,5913,9,4213,10,10407,86,20664,20,1078.1,13,16,10,93,+++++,+++,74,63,17,90,+++++,+++,27,58
The finalCSV output includes the information related to data read and write speed, number of seeks that can be performed per second, and number of file metadata operations that can be performed per second and the CPU usage statistics for the below given tests:
This benchmark is named Bonnie++ because it is based on the Bonnie benchmark written byTim Bray.