もうすぐクリスマスだ…。
25日の予定なんてありませんよ。

ラックサーバーに WDC WDC5001AALS (SATAII 500GB)を入れて RAID0で組んであるSAS HDD 146(7)GB *2 とベンチマークの比較
遊びでKVM建てる時にどっちがI/O速いかなってことで覚えておくために(記事で書くことがない)

 

 

構成

[table id=16 /]

RAID SAS/SATA コントローラーは DELL PERC 6/i Integrated とかいうの。
DDRII 256MB のキャッシュがあって、サポートされてるRAIDレベルは0/1/5/6/10/50/60

使用するソフトは hdparm
今回はこちらのサイトで公開されていたスクリプトを使用させていただきます。
このスクリプトは12回測定し、最小値と最大値を除いた10回分の平均値を求めます。

 

 

ベンチマーク

[source]

root@proxmox:~# ./test.sh /dev/sda
[0] /dev/sda: Timing buffered disk reads: 538 MB in 3.01 seconds = 178.94 MB/sec
[1] /dev/sda: Timing buffered disk reads: 538 MB in 3.01 seconds = 178.97 MB/sec
[2] /dev/sda: Timing buffered disk reads: 538 MB in 3.01 seconds = 178.86 MB/sec
[4] /dev/sda: Timing buffered disk reads: 534 MB in 3.00 seconds = 177.77 MB/sec
[5] /dev/sda: Timing buffered disk reads: 540 MB in 3.01 seconds = 179.37 MB/sec
[6] /dev/sda: Timing buffered disk reads: 538 MB in 3.00 seconds = 179.19 MB/sec
[7] /dev/sda: Timing buffered disk reads: 538 MB in 3.00 seconds = 179.15 MB/sec
[8] /dev/sda: Timing buffered disk reads: 526 MB in 3.00 seconds = 175.12 MB/sec
[9] /dev/sda: Timing buffered disk reads: 536 MB in 3.00 seconds = 178.66 MB/sec
[10] /dev/sda: Timing buffered disk reads: 538 MB in 3.01 seconds = 178.89 MB/sec
[11] /dev/sda: Timing buffered disk reads: 538 MB in 3.01 seconds = 178.85 MB/sec
AVG 178.848 MB/sec

[/source]

 

[source]

root@proxmox:~# ./test.sh /dev/sdb
[0] /dev/sdb: Timing buffered disk reads: 328 MB in 3.01 seconds = 109.11 MB/sec
[1] /dev/sdb: Timing buffered disk reads: 332 MB in 3.00 seconds = 110.65 MB/sec
[2] /dev/sdb: Timing buffered disk reads: 332 MB in 3.01 seconds = 110.16 MB/sec
[3] /dev/sdb: Timing buffered disk reads: 330 MB in 3.01 seconds = 109.72 MB/sec
[4] /dev/sdb: Timing buffered disk reads: 326 MB in 3.01 seconds = 108.37 MB/sec
[5] /dev/sdb: Timing buffered disk reads: 332 MB in 3.01 seconds = 110.38 MB/sec
[6] /dev/sdb: Timing buffered disk reads: 328 MB in 3.02 seconds = 108.75 MB/sec
[7] /dev/sdb: Timing buffered disk reads: 334 MB in 3.01 seconds = 110.96 MB/sec
[8] /dev/sdb: Timing buffered disk reads: 334 MB in 3.01 seconds = 110.81 MB/sec
[9] /dev/sdb: Timing buffered disk reads: 330 MB in 3.01 seconds = 109.47 MB/sec
[10] /dev/sdb: Timing buffered disk reads: 328 MB in 3.01 seconds = 108.98 MB/sec
[11] /dev/sdb: Timing buffered disk reads: 332 MB in 3.01 seconds = 110.33 MB/sec
AVG 109.836 MB/sec

[/source]

 

RAID0 SAS SATA
読み込み速度 178.848 MB/sec 109.836 MB/sec

結果はこんな感じになった。

詳しい仕様を書くのは面倒だったのでここで終わります。