wiki:TipAndDoc/storage/RAID/benchmark

Version 1 (modified by mitty, 14 years ago) (diff)

--

initiator

target

hardware 1

  • Intel D915GAV
  • Pentium 4 531 3.00GHz
  • DDR400 2.5GB (see wiki:TipAndDoc/Hardware/memtest#a915GExpressonD915GAV)
  • Intel PRO/1000 PT
  • HDD
    /dev/sda: Device Model:     ST340014A
    /dev/sdb: Device Model:     WDC WD3000JD-22KLB0
    /dev/sdc: Device Model:     WDC WD3000JD-22KLB0
    /dev/sdd: Device Model:     WDC WD3000JD-22KLB0
    /dev/sde: Device Model:     WDC WD3000JD-22KLB0
    
    • hdparm
      /dev/sda:
       Timing buffered disk reads:  168 MB in  3.01 seconds =  55.77 MB/sec
      /dev/sdb:
       Timing buffered disk reads:  176 MB in  3.02 seconds =  58.29 MB/sec
      /dev/sdc:
       Timing buffered disk reads:  188 MB in  3.01 seconds =  62.42 MB/sec
      /dev/sdd:
       Timing buffered disk reads:  188 MB in  3.01 seconds =  62.36 MB/sec
      /dev/sde:
       Timing buffered disk reads:  186 MB in  3.00 seconds =  61.99 MB/sec
      
  • fdisk
    /dev/sdb1              63    10485822     5242880   fd  Linux raid autodetect
    /dev/sdc1              63    10485822     5242880   fd  Linux raid autodetect
    /dev/sdd1              63    10485822     5242880   fd  Linux raid autodetect
    /dev/sde1              63    10485822     5242880   fd  Linux raid autodetect
    
  • Ubuntu 10.04 x64 (Linux iscsi 2.6.32-31-generic #61-Ubuntu SMP Fri Apr 8 18:25:51 UTC 2011 x86_64 GNU/Linux)
  • iscsitarget 1.4.19+svn275-ubuntu2
    • /etc/ietd.conf
      Target iqn.2011-05.jp.mitty.local.iscsi:md0.disk
      	Lun 0 Path=/dev/md0,Type=blockio
      

sdc1

  • /etc/ietd.conf
    Target iqn.2011-05.jp.mitty.local.iscsi:md0.disk
            Lun 0 Path=/dev/sdc1,Type=blockio
    
    /dev/sdc1:
     Timing buffered disk reads:  186 MB in  3.00 seconds =  61.92 MB/sec
    
  • result
    -----------------------------------------------------------------------
    CrystalDiskMark 3.0.1 x64 (C) 2007-2010 hiyohiyo
                               Crystal Dew World : http://crystalmark.info/
    -----------------------------------------------------------------------
    * MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]
    
               Sequential Read :    52.009 MB/s
              Sequential Write :    65.029 MB/s
             Random Read 512KB :    24.361 MB/s
            Random Write 512KB :    31.095 MB/s
        Random Read 4KB (QD=1) :     0.414 MB/s [   101.0 IOPS]
       Random Write 4KB (QD=1) :     1.205 MB/s [   294.3 IOPS]
       Random Read 4KB (QD=32) :     0.466 MB/s [   113.8 IOPS]
      Random Write 4KB (QD=32) :     1.221 MB/s [   298.2 IOPS]
    
      Test : 4000 MB [I: 1.1% (56.2/5117.0 MB)] (x5)
      Date : 2011/05/19 16:01:45
        OS : Windows 7 Ultimate Edition SP1 [6.1 Build 7601] (x64)
        D915GAV/WD3000JD-22KLB0/no RAID
    

RAID0

mitty@iscsi:~$ sudo mdadm --create /dev/md0 -n4 -l0 /dev/sd[bcde]1

md0 : active raid0 sde1[3] sdd1[2] sdc1[1] sdb1[0]
      20971264 blocks 64k chunks
/dev/md0:
 Timing buffered disk reads:  564 MB in  3.00 seconds = 187.99 MB/sec
  • result
    -----------------------------------------------------------------------
    CrystalDiskMark 3.0.1 x64 (C) 2007-2010 hiyohiyo
                               Crystal Dew World : http://crystalmark.info/
    -----------------------------------------------------------------------
    * MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]
    
               Sequential Read :    46.145 MB/s
              Sequential Write :    88.671 MB/s
             Random Read 512KB :    22.361 MB/s
            Random Write 512KB :    72.244 MB/s
        Random Read 4KB (QD=1) :     0.561 MB/s [   137.0 IOPS]
       Random Write 4KB (QD=1) :     5.289 MB/s [  1291.2 IOPS]
       Random Read 4KB (QD=32) :     1.109 MB/s [   270.8 IOPS]
      Random Write 4KB (QD=32) :     5.571 MB/s [  1360.0 IOPS]
    
      Test : 4000 MB [I: 0.5% (0.1/20.0 GB)] (x5)
      Date : 2011/05/19 16:24:49
        OS : Windows 7 Ultimate Edition SP1 [6.1 Build 7601] (x64)
        D915GAV/WD3000JD-22KLB0/RAID0
    

RAID1

  • mitty@iscsi:~$ sudo mdadm --create /dev/md0 -n4 -l1 /dev/sd[bcde]1
    md0 : active raid1 sde1[3] sdd1[2] sdc1[1] sdb1[0]
          5242816 blocks [4/4] [UUUU]
    
    /dev/md0:
     Timing buffered disk reads:  186 MB in  3.01 seconds =  61.88 MB/sec
    
  • result
    -----------------------------------------------------------------------
    CrystalDiskMark 3.0.1 x64 (C) 2007-2010 hiyohiyo
                               Crystal Dew World : http://crystalmark.info/
    -----------------------------------------------------------------------
    * MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]
    
               Sequential Read :    38.576 MB/s
              Sequential Write :    34.906 MB/s
             Random Read 512KB :    27.966 MB/s
            Random Write 512KB :    19.856 MB/s
        Random Read 4KB (QD=1) :     0.495 MB/s [   120.8 IOPS]
       Random Write 4KB (QD=1) :     1.147 MB/s [   280.0 IOPS]
       Random Read 4KB (QD=32) :     1.057 MB/s [   258.1 IOPS]
      Random Write 4KB (QD=32) :     1.163 MB/s [   283.8 IOPS]
    
      Test : 4000 MB [I: 1.1% (56.2/5117.0 MB)] (x5)
      Date : 2011/05/19 17:01:12
        OS : Windows 7 Ultimate Edition SP1 [6.1 Build 7601] (x64)
        D915GAV/WD3000JD-22KLB0/RAID1
    

RAID5

  • mitty@iscsi:~$ sudo mdadm --create /dev/md0 -n4 -l5 /dev/sd[bcde]1
    md0 : active raid5 sde1[3] sdd1[2] sdc1[1] sdb1[0]
          15728448 blocks level 5, 64k chunk, algorithm 2 [4/4] [UUUU]
    
    /dev/md0:
     Timing buffered disk reads:  362 MB in  3.01 seconds = 120.33 MB/sec
    
  • result
    -----------------------------------------------------------------------
    CrystalDiskMark 3.0.1 x64 (C) 2007-2010 hiyohiyo
                               Crystal Dew World : http://crystalmark.info/
    -----------------------------------------------------------------------
    * MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]
    
               Sequential Read :    39.126 MB/s
              Sequential Write :    28.302 MB/s
             Random Read 512KB :    22.531 MB/s
            Random Write 512KB :    12.854 MB/s
        Random Read 4KB (QD=1) :     0.536 MB/s [   131.0 IOPS]
       Random Write 4KB (QD=1) :     0.216 MB/s [    52.7 IOPS]
       Random Read 4KB (QD=32) :     1.080 MB/s [   263.6 IOPS]
      Random Write 4KB (QD=32) :     0.361 MB/s [    88.0 IOPS]
    
      Test : 4000 MB [I: 0.6% (0.1/15.0 GB)] (x5)
      Date : 2011/05/19 17:45:55
        OS : Windows 7 Ultimate Edition SP1 [6.1 Build 7601] (x64)
        D915GAV/WD3000JD-22KLB0/RAID5
    

RAID10

near

  • mitty@iscsi:~$ sudo mdadm --create /dev/md0 -n4 -l10 -pn2 /dev/sd[bcde]1
    md0 : active raid10 sde1[3] sdd1[2] sdc1[1] sdb1[0]
          10485632 blocks 64K chunks 2 near-copies [4/4] [UUUU]
    
    /dev/md0:
     Timing buffered disk reads:  278 MB in  3.02 seconds =  92.07 MB/sec
    
  • result
    -----------------------------------------------------------------------
    CrystalDiskMark 3.0.1 x64 (C) 2007-2010 hiyohiyo
                               Crystal Dew World : http://crystalmark.info/
    -----------------------------------------------------------------------
    * MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]
    
               Sequential Read :    35.480 MB/s
              Sequential Write :    62.991 MB/s
             Random Read 512KB :    19.100 MB/s
            Random Write 512KB :    54.111 MB/s
        Random Read 4KB (QD=1) :     0.507 MB/s [   123.8 IOPS]
       Random Write 4KB (QD=1) :     2.436 MB/s [   594.7 IOPS]
       Random Read 4KB (QD=32) :     1.053 MB/s [   257.0 IOPS]
      Random Write 4KB (QD=32) :     2.528 MB/s [   617.2 IOPS]
    
      Test : 4000 MB [I: 0.8% (0.1/10.0 GB)] (x5)
      Date : 2011/05/19 18:19:32
        OS : Windows 7 Ultimate Edition SP1 [6.1 Build 7601] (x64)
        D915GAV/WD3000JD-22KLB0/RAID10 near
    

offset

  • mitty@iscsi:~$ sudo mdadm --create /dev/md0 -n4 -l10 -po2 /dev/sd[bcde]1
    md0 : active raid10 sde1[3] sdd1[2] sdc1[1] sdb1[0]
          10485504 blocks 64K chunks 2 offset-copies [4/4] [UUUU]
    
    /dev/md0:
     Timing buffered disk reads:  260 MB in  3.01 seconds =  86.40 MB/sec
    
  • result
    -----------------------------------------------------------------------
    CrystalDiskMark 3.0.1 x64 (C) 2007-2010 hiyohiyo
                               Crystal Dew World : http://crystalmark.info/
    -----------------------------------------------------------------------
    * MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]
    
               Sequential Read :    30.610 MB/s
              Sequential Write :    53.832 MB/s
             Random Read 512KB :    18.595 MB/s
            Random Write 512KB :    48.337 MB/s
        Random Read 4KB (QD=1) :     0.518 MB/s [   126.4 IOPS]
       Random Write 4KB (QD=1) :     2.451 MB/s [   598.3 IOPS]
       Random Read 4KB (QD=32) :     1.011 MB/s [   246.8 IOPS]
      Random Write 4KB (QD=32) :     2.538 MB/s [   619.5 IOPS]
    
      Test : 4000 MB [I: 0.8% (0.1/10.0 GB)] (x5)
      Date : 2011/05/19 19:00:05
        OS : Windows 7 Ultimate Edition SP1 [6.1 Build 7601] (x64)
        D915GAV/WD3000JD-22KLB0/RAID10 offset
    

far

  • mitty@iscsi:~$ sudo mdadm --create /dev/md0 -n4 -l10 -pf2 /dev/sd[bcde]1
    md0 : active raid10 sde1[3] sdd1[2] sdc1[1] sdb1[0]
          10485504 blocks 64K chunks 2 far-copies [4/4] [UUUU]
    
    /dev/md0:
     Timing buffered disk reads:  534 MB in  3.00 seconds = 177.81 MB/sec
    
  • result
    -----------------------------------------------------------------------
    CrystalDiskMark 3.0.1 x64 (C) 2007-2010 hiyohiyo
                               Crystal Dew World : http://crystalmark.info/
    -----------------------------------------------------------------------
    * MB/s = 1,000,000 byte/s [SATA/300 = 300,000,000 byte/s]
    
               Sequential Read :    46.506 MB/s
              Sequential Write :    33.721 MB/s
             Random Read 512KB :    23.436 MB/s
            Random Write 512KB :    40.049 MB/s
        Random Read 4KB (QD=1) :     0.563 MB/s [   137.4 IOPS]
       Random Write 4KB (QD=1) :     2.337 MB/s [   570.5 IOPS]
       Random Read 4KB (QD=32) :     1.082 MB/s [   264.1 IOPS]
      Random Write 4KB (QD=32) :     2.491 MB/s [   608.1 IOPS]
    
      Test : 4000 MB [I: 0.8% (0.1/10.0 GB)] (x5)
      Date : 2011/05/19 19:40:51
        OS : Windows 7 Ultimate Edition SP1 [6.1 Build 7601] (x64)
        D915GAV/WD3000JD-22KLB0/RAID10 far
    

Attachments (25)

Download all attachments as: .zip