Bonnie++

From OnnoWiki
Jump to navigation Jump to search

Pada bagian ini Bonnie++ akan digunakan untuk melakukan benchmarking Xeon Quad dengan Pentium III dalam hal terutama mengakses harddisk SATA vs IDE.

Untuk menjalankan Bonnie++ cukup menuliskan bonnie++ di shell / terminal. Kita akan memperoleh tampilan berikut,

$ bonnie++ 
onno@ubuntu:~$ bonnie++ 
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. 

Hasil yang akan di peroleh untuk Mesin Xeon Quad Rainer yang saya gunakan kira-kira sebagai berikut,


Version  1.03       ------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 
ubuntu.test.co.i 2G 50233  95 59400  16 23749   6 45215  75 57491   9 203.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 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ 
ubuntu.test.co.id,2G,50233,95,59400,16,23749,6,45215,75,57491,9,203.8,0,16,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++ 


Sementara hasil yang akan di peroleh dari mesin Pentium III adalah sebagai berikut,


Version  1.03       ------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 
server.yc0mlc. 300M 12054  86 41655  50 14676  16 15764  93 34108  20 191.1   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 19836  94 +++++ +++ 31705  99 21485  99 +++++ +++ 25913  86 
server.yc0mlc.ampr.org,300M,12054,86,41655,50,14676,16,15764,93,34108,20,191.1,1,16,19836,94,+++++,+++,31705,99,21485,99,+++++,+++,25913,86 


Perhatikan bahwa pada mesin Xeon Quad Rainer Server digunakan file 2Gbyte untuk test, sementara pada Pentium III digunakan file 300Mbyte. Hasil yang di peroleh sangat menakjubkan, pada Rainer Server kecepatan transfer rata-rata sekitar 50Mbyte/detik sementara pada Pentium III hanya sekitar 12Mbyte/detik sangat beda sekali. Dalam banyak proses, seperti sequential create dan random create pada Rainer Server, Bonnie++ sama sekali tidak dapat mengukur karena terlalu cepat sekali proses-nya.


Referensi

Pranala Menarik