Calender
Sun Mon Tue Wed Thu Fri Sat
 123456
78910111213
14151617181920
21222324252627
28293031   
<< July 2019 >>
広告
SEARCH

SELECTED ENTRIES
RECENT COMMENTS
RECENT TRACKBACK
CATEGORIES
ARCHIVES
LINKS
PROFILE
OTHERS
SKYPE
PC: skype.jojo.jp
chat
iPad: iphone.jojo.jp
chat call
THANKS



本日:
昨日:
多言語
広告
 ▼▲ 作業日報 ▼△
    What's under the hood?
<< 【Debian】PostgreSQL-8.4_バックポート パッケージの利用 | main | HDDのSATA接続ポートの調べ方 >>
SSD(SM64NJ2)4台 RAID0速度テスト
SSDでRAID0だとかなり高速化と思い4台用意したのですが以下のよう結果に終わりました、

ストライプでは500MB/sec近くを期待していたのですが、、

・hdparam -tによる計測
タイプ速 度説 明
なし184.16 MB/sec単体
SOFT-RAID10180.15 MB/secSSDx4
SOFT-RAID1170.44 MB/secSSDx2
SOFT-RAID0195.78 MB/secSSDx2
SOFT-RAID0287.49 MB/secSSDx3
SOFT-RAID0346.08 MB/secSSDx4
HARD-RAID0323.65 MB/secSSDx3
HARD-RAID0312.45 MB/secSSDx4
SOFT-RAID0251.07 MB/sec SATAx4
SOFT-RAID0288.55 MB/secSATAx5
SOFT-RAID0264.13 MB/secSATAx6

SSD:CSSD-SM64NJ2...(TWOTOPにて¥15,210)x4

・コマンド実行ログ
Linux ssdtest 2.6.26-2-amd64 #1 SMP Thu Nov 5 02:23:12 UTC 2009 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Nov 12 12:50:02 2009

■ssdtest:/home# hdparm -tT /dev/sda1

/dev/sda1:
 Timing cached reads:   9248 MB in  2.00 seconds = 4627.76 MB/sec
 Timing buffered disk reads:  554 MB in  3.01 seconds = 184.21 MB/sec

■ssdtest:/home# hdparm -tT /dev/sda1

/dev/sda1:
 Timing cached reads:   8892 MB in  2.00 seconds = 4449.98 MB/sec
 Timing buffered disk reads:  554 MB in  3.01 seconds = 184.16 MB/sec
■ssdtest:/home# hdparm -tT /dev/sda1

/dev/sda1:
 Timing cached reads:   9080 MB in  2.00 seconds = 4544.13 MB/sec
 Timing buffered disk reads:  554 MB in  3.01 seconds = 184.16 MB/sec
■ssdtest:/home# hdparm -tT /dev/sda1

/dev/sda1:
 Timing cached reads:   9202 MB in  2.00 seconds = 4605.45 MB/sec
 Timing buffered disk reads:  554 MB in  3.01 seconds = 184.20 MB/sec

〓〓RAID0〓〓
■ssdtest:/home# mdadm --detail --misc /dev/md0
/dev/md0:
        Version : 00.90
  Creation Time : Thu Nov 12 11:38:56 2009
     Raid Level : raid0
     Array Size : 62492416 (59.60 GiB 63.99 GB)
   Raid Devices : 4
  Total Devices : 4
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Thu Nov 12 12:46:43 2009
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

     Chunk Size : 64K

           UUID : 2583d94b:b9726147:fb666af3:aba0baf8
         Events : 0.5

    Number   Major   Minor   RaidDevice State
       0       8        2        0      active sync   /dev/sda2
       1       8       18        1      active sync   /dev/sdb2
       2       8       33        2      active sync   /dev/sdc1
       3       8       49        3      active sync   /dev/sdd1
■ssdtest:/home# hdparm -tT /dev/md0

/dev/md0:
 Timing cached reads:   9198 MB in  2.00 seconds = 4602.95 MB/sec
 Timing buffered disk reads:  1040 MB in  3.01 seconds = 346.08 MB/sec

■ssdtest:/home# hdparm -tT /dev/md0

/dev/md0:
 Timing cached reads:   9280 MB in  2.00 seconds = 4644.48 MB/sec
 Timing buffered disk reads:  1036 MB in  3.00 seconds = 344.98 MB/sec

〓〓RAID1〓〓
■ssdtest:/home# mdadm --detail --misc /dev/md1
/dev/md1:
        Version : 00.90
  Creation Time : Thu Nov 12 11:40:21 2009
     Raid Level : raid1
     Array Size : 15623104 (14.90 GiB 16.00 GB)
  Used Dev Size : 15623104 (14.90 GiB 16.00 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 1
    Persistence : Superblock is persistent

    Update Time : Thu Nov 12 12:48:21 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

           UUID : 5ce50666:0e96c5ca:af47cc97:6b98442b
         Events : 0.6

    Number   Major   Minor   RaidDevice State
       0       8        3        0      active sync   /dev/sda3
       1       8       19        1      active sync   /dev/sdb3
■ssdtest:/home# hdparm -tT /dev/md1

/dev/md1:
 Timing cached reads:   9190 MB in  2.00 seconds = 4599.20 MB/sec
 Timing buffered disk reads:  542 MB in  3.01 seconds = 180.15 MB/sec

■ssdtest:/home# hdparm -tT /dev/md1

/dev/md1:
 Timing cached reads:   9038 MB in  2.00 seconds = 4523.13 MB/sec
 Timing buffered disk reads:  542 MB in  3.01 seconds = 180.30 MB/sec


〓〓RAID10〓〓
■ssdtest:/home# mdadm --detail --misc /dev/md2
/dev/md2:
        Version : 00.90
  Creation Time : Thu Nov 12 11:50:06 2009
     Raid Level : raid10
     Array Size : 31246208 (29.80 GiB 32.00 GB)
  Used Dev Size : 15623104 (14.90 GiB 16.00 GB)
   Raid Devices : 4
  Total Devices : 4
Preferred Minor : 2
    Persistence : Superblock is persistent

    Update Time : Thu Nov 12 12:48:21 2009
          State : clean
 Active Devices : 4
Working Devices : 4
 Failed Devices : 0
  Spare Devices : 0

         Layout : near=2, far=1
     Chunk Size : 64K

           UUID : 37a8c250:cd1b6afb:b0ea90f5:ff2bf626
         Events : 0.6

    Number   Major   Minor   RaidDevice State
       0       8        4        0      active sync   /dev/sda4
       1       8       20        1      active sync   /dev/sdb4
       2       8       34        2      active sync   /dev/sdc2
       3       8       50        3      active sync   /dev/sdd2
■ssdtest:/home# hdparm -tT /dev/md2

/dev/md2:
 Timing cached reads:   8986 MB in  2.00 seconds = 4497.54 MB/sec
 Timing buffered disk reads:  514 MB in  3.01 seconds = 170.74 MB/sec

■ssdtest:/home# hdparm -tT /dev/md2

/dev/md2:
 Timing cached reads:   9080 MB in  2.00 seconds = 4543.77 MB/sec
 Timing buffered disk reads:  512 MB in  3.00 seconds = 170.44 MB/sec


************************************************
RAID0構成の調整で少しもがいてみる
************************************************

■ssdtest:/home# mdadm --manage --stop /dev/md0
mdadm: stopped /dev/md0
■ssdtest:/home# mdadm --detail --misc /dev/md0
mdadm: md device /dev/md0 does not appear to be active.

〓〓3台構成のRAID0に組替〓〓
■ssdtest:/home# mdadm --create --level=0 --raid-devices=3 /dev/md0 /dev/sda2 /dev/sdb2 /dev
/sdc1
mdadm: /dev/sda2 appears to contain an ext2fs file system
    size=62492416K  mtime=Thu Nov 12 12:48:21 2009
mdadm: /dev/sda2 appears to be part of a raid array:
    level=raid0 devices=4 ctime=Thu Nov 12 11:38:56 2009
mdadm: /dev/sdb2 appears to be part of a raid array:
    level=raid0 devices=4 ctime=Thu Nov 12 11:38:56 2009
mdadm: /dev/sdc1 appears to be part of a raid array:
    level=raid0 devices=4 ctime=Thu Nov 12 11:38:56 2009
Continue creating array?
Continue creating array? (y/n)
mdadm: array /dev/md0 started.
■ssdtest:/home# mdadm --detail --misc /dev/md0
/dev/md0:
        Version : 00.90
  Creation Time : Thu Nov 12 13:02:26 2009
     Raid Level : raid0
     Array Size : 46869312 (44.70 GiB 47.99 GB)
   Raid Devices : 3
  Total Devices : 3
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Thu Nov 12 13:02:26 2009
          State : clean
 Active Devices : 3
Working Devices : 3
 Failed Devices : 0
  Spare Devices : 0

     Chunk Size : 64K

           UUID : d1be0a6f:6d5d5693:69fbc76d:29b2f5ab (local to host ssdtest)
         Events : 0.1

    Number   Major   Minor   RaidDevice State
       0       8        2        0      active sync   /dev/sda2
       1       8       18        1      active sync   /dev/sdb2
       2       8       33        2      active sync   /dev/sdc1
■ssdtest:/home# hdparm -tT /dev/md0

/dev/md0:
 Timing cached reads:   9132 MB in  2.00 seconds = 4569.99 MB/sec
 Timing buffered disk reads:  864 MB in  3.01 seconds = 287.49 MB/sec
■ssdtest:/home# mdadm --manage --stop /dev/md0
mdadm: stopped /dev/md0

〓〓2台構成のRAID0に組替〓〓
■ssdtest:/home# mdadm --create --level=0 --raid-devices=2 /dev/md0 /dev/sda2 /dev/sdb2
mdadm: /dev/sda2 appears to contain an ext2fs file system
    size=62492416K  mtime=Thu Nov 12 12:48:21 2009
mdadm: /dev/sda2 appears to be part of a raid array:
    level=raid0 devices=3 ctime=Thu Nov 12 13:02:26 2009
mdadm: /dev/sdb2 appears to be part of a raid array:
    level=raid0 devices=3 ctime=Thu Nov 12 13:02:26 2009
Continue creating array? y
mdadm: array /dev/md0 started.
■ssdtest:/home# mdadm --detail --misc /dev/md0
/dev/md0:
        Version : 00.90
  Creation Time : Thu Nov 12 13:03:42 2009
     Raid Level : raid0
     Array Size : 31246208 (29.80 GiB 32.00 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Thu Nov 12 13:03:42 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

     Chunk Size : 64K

           UUID : 3c898036:ecd0577f:69fbc76d:29b2f5ab (local to host ssdtest)
         Events : 0.1

    Number   Major   Minor   RaidDevice State
       0       8        2        0      active sync   /dev/sda2
       1       8       18        1      active sync   /dev/sdb2
■ssdtest:/home# hdparm -tT /dev/md0

/dev/md0:
 Timing cached reads:   9104 MB in  2.00 seconds = 4556.34 MB/sec
 Timing buffered disk reads:  588 MB in  3.00 seconds = 195.78 MB/sec


〓〓2台で別構成のRAID0に組替〓〓
■ssdtest:/home# mdadm --manage --stop /dev/md0
mdadm: stopped /dev/md0
■ssdtest:/home# mdadm --create --level=0 --raid-devices=2 /dev/md0 /dev/sdc1 /dev/sdd1
mdadm: /dev/sdc1 appears to be part of a raid array:
    level=raid0 devices=3 ctime=Thu Nov 12 13:02:26 2009
mdadm: /dev/sdd1 appears to be part of a raid array:
    level=raid0 devices=4 ctime=Thu Nov 12 11:38:56 2009
Continue creating array? y
mdadm: array /dev/md0 started.
■ssdtest:/home# mdadm --detail --misc /dev/md0
/dev/md0:
        Version : 00.90
  Creation Time : Thu Nov 12 13:04:37 2009
     Raid Level : raid0
     Array Size : 31246208 (29.80 GiB 32.00 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 0
    Persistence : Superblock is persistent

    Update Time : Thu Nov 12 13:04:37 2009
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0

     Chunk Size : 64K

           UUID : 4a431b73:97daa174:69fbc76d:29b2f5ab (local to host ssdtest)
         Events : 0.1

    Number   Major   Minor   RaidDevice State
       0       8       33        0      active sync   /dev/sdc1
       1       8       49        1      active sync   /dev/sdd1
■ssdtest:/home# hdparm -tT /dev/md0

/dev/md0:
 Timing cached reads:   8962 MB in  2.00 seconds = 4485.35 MB/sec
 Timing buffered disk reads:  588 MB in  3.00 seconds = 195.77 MB/sec
■ssdtest:/home#





************************************************
ハードウェアRAID0(4台構成)
LSIのRAIDカード
************************************************

Linux ssdtest2 2.6.26-2-amd64 #1 SMP Thu Nov 5 02:23:12 UTC 2009 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Nov 12 14:06:30 2009
suntac@ssdtest2:~$ su
パスワード:
ssdtest2:/home/suntac# hdparm -t /dev/sda1

/dev/sda1:
 Timing buffered disk reads:  890 MB in  3.01 seconds = 296.14 MB/sec
ssdtest2:/home/suntac# hdparm -t /dev/sda1

/dev/sda1:
 Timing buffered disk reads:  938 MB in  3.00 seconds = 312.51 MB/sec
ssdtest2:/home/suntac# hdparm -t /dev/sda1

/dev/sda1:
 Timing buffered disk reads:  938 MB in  3.00 seconds = 312.45 MB/sec
ssdtest2:/home/suntac# hdparm -t /dev/sda1


************************************************
ハードウェアRAID0(3台構成)
************************************************
Linux ssdtest2 2.6.26-2-amd64 #1 SMP Thu Nov 5 02:23:12 UTC 2009 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
suntac@ssdtest2:~$ su
パスワード:
ssdtest2:/home/suntac# hdparm -t /dev/sda1

/dev/sda1:
 Timing buffered disk reads:  982 MB in  3.01 seconds = 326.72 MB/sec
ssdtest2:/home/suntac# hdparm -t /dev/sda1

/dev/sda1:
 Timing buffered disk reads:  972 MB in  3.00 seconds = 323.65 MB/sec
ssdtest2:/home/suntac# hdparm -t /dev/sda1

/dev/sda1:
 Timing buffered disk reads:  972 MB in  3.00 seconds = 323.69 MB/sec
ssdtest2:/home/suntac# hdparm -t /dev/sda3

/dev/sda3:
 Timing buffered disk reads:  952 MB in  3.00 seconds = 316.99 MB/sec
ssdtest2:/home/suntac# hdparm -t /dev/sda3

/dev/sda3:
 Timing buffered disk reads:  948 MB in  3.00 seconds = 315.90 MB/sec
ssdtest2:/home/suntac# hdparm -t /dev/sda3



| サーバー関連 | 13:52 | comments(0) | trackbacks(0) |









http://blog.jojo.jp/trackback/1317480