Use Bonnie to Test system IO speed

Source: Internet
Author: User
Tags array

Use Bonnie to Test system IO speed

Friday, 2004-09-17 11:33 eygle


Original link:

Http://www.eygle.com/unix/Use.Bonnie.To.Test.IO.speed.htm

Bonnie is a minimal test system IO Performance tool, the source code is open. Author Homepage:
http://www.textuality.com/bonnie/
You can also click here to download

Compiling Bonnie is extremely simple, but requires you to install make and GCC (or cc)



# makeoptions are ' make BSD ' and ' make SysV '-The default is ' BSD '. If you are messages about missing functions, try "make sysv." Make Bonnie make[1]: Entering directory '/export/home/gqgai/bonnie ' Cc-o bonnie.c-o bonniemake[1]: Leaving directory '/ex Port/home/gqgai/bonnie '

Its use manual is:

Http://www.textuality.com/bonnie/advice.html

Test IO Speed:

1.t3 array Speed test (RAID5)



# df-kfilesystem Kbytes used avail capacity mounted on/dev/dsk/c0t0d0s0 1018382 117711 839569 13%//dev/dsk/c0t0d0s6 2055 705 1177602 816432 60%/usr/proc 0 0 0 0%/procfd 0 0 0 0%/dev/fdmnttab 0 0 0 0%/etc/mnttab/dev/dsk/c0t0d0s1 1448911 772 148 618807 56% /varswap 4770120 8 4770112 1% /var/runswap 4958928 188816 4770112 4% /tmp/dev/dsk/c5t1d0s0 51634648 3515440 4 15963898 69%/data1/dev/dsk/c5t1d1s1 25816144 21498881 4059102 85%/data3/dev/dsk/c5t1d1s0 25816144 14650723 10907260 58 %/data2/dev/dsk/c0t2d0s1 15483618 1074317 14254465 8%/temp/dev/dsk/c0t2d0s0 7136886 2824586 4240932 40%/varlink/dev/ds K/C0T2D0S5 8258597 5868224 2307788 72%/opt/dev/dsk/c0t2d0s7 2053605 1281342 710655 65%/EXPORT/HOME/DEV/DSK/C0T2D0S6 205 3605 178151 1813846 9%/usr/local# formatsearching for disks...doneavailable DISK selections:0. c0t0d0/pci@1f,4000/scsi@ 3/sd@0,0 1. c0t1d0/pci@1f,4000/scsi@3/sd@1,0 2. c0t2d0/pci@1f,4000/scsi@3/sd@2,0 3. c3t0d0/pci@4,4000/scsi@4/sd@0,0 4. c3t1d0/pci@4,4000/scsi@4/sd@1,0 5. c3t2d0/pci@4,4000/scsi@4/sd@2,0 6. c3t3d0/pci@4,4000/scsi@4/sd@3,0 7. c5t1d0/pci@1f,2000/sunw,qlc@1/fp@0,0/ssd@w50020f23000083a2,0 8. C5t1d1/pci@1f,2000/sunw,qlc@1/fp@0,0/ssd@w50020f23000083a2,1specify disk (enter its number): ^d#./bonnie-d/data1-s 2 046-m billing-center File '/data1/bonnie.8273 ', size:2145386496writing with PUTC () ... donerewriting...donewriting Intelligently...donereading with getc () ... donereading intelligently...adoneseeker 2...Seeker 1...Seeker 3...start ' em Done...done...done ...-------sequential Output-----------sequential Input----Random---per char---block---- Rewrite---per char---block-----seeks---Machine MB k/sec%cpu k/sec%cpu k/sec%cpu k/sec%cpu k/sec%cpu/sec%cpubilli ng-2046 10251 87.5 32430 55.7 14048 39.5 12625 99.5 48763 67.3 61.5-8.3

Briefly describe the output:

Here sequential output refers to the write speed, char refers to write by character, Block is written in chunks, rewrite refers to the sequential rewrite speed (that is, data modification)
Sequential input refers to read speed

CPU, which refers to the CPU resources that the operation consumes.

Here T3 Raid5 's writing reaches 10251 k/sec

2. Local Disk speed

#./bonnie-d/opt/oracle-s 1024-m billing-centerfile '/opt/oracle/bonnie.8545 ', size:1073741824writing with PUTC () ... d Onerewriting...donewriting intelligently...donereading with getc () ... donereading intelligently...doneseeker Seeker 2...1...Seeker 3...start ' Em...done...done...done ...-------sequential Output-----------sequential Input---- Random---per char---block----Rewrite---per char---block-----seeks---Machine MB k/sec%cpu k/sec%cpu k/sec%cpu k/se C%cpu k/sec%cpu/sec%cpubilling-1024 9582 85.0 15928 29.8 6900 20.3 11735 96.5 46098 67.2 256.6 8.8

Later, you will gradually add test data for some other hardware.

3. EMC CLARiiON CX500 test data

System environment:

 #/usr/platform/sun4u/sbin/prtdiag-vsystem Configuration:sun Microsystems sun4u Sun Fire 480RSystem Clock Frequen cy:150 mhzmemory size:4096 megabytes========================= CPUs =============================================== Run e$ CPU CPU BRD CPU MHz MB Impl. Mask------------------------a 0 1050 8.0 us-iii+ 11.0 a 2 1050 8.0 us-iii+ 11.0========================= Memory Con figuration =============================== Logical Logical Logical MC Bank Bank DIMM interleave INTERLEAVEDBRD ID num Size Status size Factor with------------------------------------------------------A 0 0 512MB no_status 256MB 8-w Ay 0 A 0 1 512MB no_status 256MB 8-way 0 A 0 2 512MB no_status 256MB 8-way 0 A 0 3 512MB no_status 256MB 8-way 0 A 2 0 512 MB No_status 256MB 8-way 0 A 2 1 512MB no_status 256MB 8-way 0 A 2 2 512MB no_status 256MB 8-way 0 A 2 3 512MB no_status 2 56MB 8-way 0========================= io Cards ========================= bus Max io Port bus freq bus Dev,type ID SiDe Slot MHz freq Func State Name Model--------------------------------------------------------------------------- ------------PCI 8 B 2 2,0 OK sunw,xvr-100 sunw,375-3126 PCI 8 B 4 4,0 OK fibre-channel-pci10df,f900.10df.+ PCI 8 B 5 5,0 OK fibre-channel-pci10df,f900.10df.+ PCI 8 A 0 GHz 1,0 ok pci-pci8086,b154.0/pci108e,1000 Pci-bridge PC I 8 A 0 0,0 OK pci108e,1000-pci108e,1000.1 device on Pci-bridge PCI 8 A 0 GHz 0,1 ok sunw,qfe-pci108e,1001 sunw,pc I-qfe/pci-bridg+pci 8 A 0 1,0 OK pci108e,1000-pci108e,1000.1 device on Pci-bridge PCI 8 A 0 GHz 1,1 OK sunw,qfe-pc i108e,1001 Sunw,pci-qfe/pci-bridg+pci 8 A 0 2,0 OK pci108e,1000-pci108e,1000.1 device on Pci-bridge PCI 8 A 0 66 66 2,1 OK sunw,qfe-pci108e,1001 sunw,pci-qfe/pci-bridg+pci 8 A 0 3,0 OK pci108e,1000-pci108e,1000.1 device on PCI-BRIDG E PCI 8 A 0 3,1 OK sunw,qfe-pci108e,1001 sunw,pci-qfe/pci-bridg+========================= environmental Status ===== ====================systEM temperatures (Celsius):-------------------------------Device temperature Status---------------------------------------CPU0 OKCPU2 OKDBP0 Ok=================================front Status Panel:-------------------keyswitch position:normalsystem LED status:locator FAULT power---------------------[ OFF] [off] [On]=================================disk Status:------------Disk 0: [no_fault]disk 1: [no_fault]========= ========================fan Status:-----------Bank RPM Status---------------CPU0 5660 [no_fault]cpu1 3896 [No_fault] CPU2 3797 [No_fault]io0 3947 [No_fault]io1 4166 [no_fault]=================================power Supplies:----------- ----Supply Status------------PS0 [NO_FAULT]PS1 [no_fault]======================================================== = = HW Revisions =======================================system PROM revisions:----------------------OBP 4.10.8 2003/07 /25 08:44io ASIC Revisions:------------------portmodel ID Status Version-------------------------SchIzo 8 OK 7 Schizo 9 OK 7

The array is listed as the CLARiiON CX500, with the following test data for the raid1+0 and RAID5 of the 4 disk:

Raid1+0 Test

#./bonnie-d/eygle-s 2046-m jumpfile '/eygle/bonnie.460 ', size:2145386496writing with PUTC () ... donerewriting...donewr Iting intelligently...donereading with getc () ... donereading intelligently...doneseeker seeker 2...1...Seeker 3 ... Start ' Em...done...done...done ...-------sequential Output-----------sequential Input----Random---per char--- Block----Rewrite---char---block-----seeks---Machine MB k/sec%cpu k/sec%cpu k/sec%cpu k/sec%cpu k/sec%cpu/sec %cpujump 2046 37438 88.8 111172 63.8 75940 90.0 43495 99.7 322153 99.9 17747.8 177.5

Here the speed of EMC CX500, 37438k/sec, much stronger than T3 performance

Here is the test data for RAID5:

#./bonnie-d/eygle-s 2046-m jumpfile '/eygle/bonnie.473 ', size:2145386496writing with PUTC () ... donerewriting...donewr Iting intelligently...donereading with getc () ... donereading intelligently...doneseeker seeker 2...1...Seeker 3 ... Start ' Em...done...done...done ...-------sequential Output-----------sequential Input----Random---per char--- Block----Rewrite---char---block-----seeks---Machine MB k/sec%cpu k/sec%cpu k/sec%cpu k/sec%cpu k/sec%cpu/sec %cpujump 2046 40652 95.5 106768 56.1 75673 90.9 43356 99.4 314381 99.8 17347.3 160.5



RAID5 here the character write speed reached the 40652k/sec, slightly faster than raid1+0, and block way to write raid1+0 more quickly than RAID5.

In fact, EMC has always emphasized that its RAID5 read and write performance is less than raid1+0.




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.