UBUNTU8.10 RAID测试

Posted by 老沙
4月 03 2009

两个希捷IDE硬盘的软RAID0做的测试成绩(EXT3)
/dev/mapper/lvm01-system:
Timing cached reads: 1524 MB in 2.00 seconds = 762.06 MB/sec
Timing buffered disk reads: 180 MB in 3.03 seconds = 59.31 MB/sec
ssj@ubuntu:~$ sudo hdparm -t -T /dev/mapper/lvm01-swap

/dev/mapper/lvm01-swap:
Timing cached reads: 1508 MB in 2.00 seconds = 754.01 MB/sec
Timing buffered disk reads: 182 MB in 3.03 seconds = 60.16 MB/sec
ssj@ubuntu:~$ sudo hdparm -t -T /dev/mapper/lvm01-home01

/dev/mapper/lvm01-home01:
Timing cached reads: 1508 MB in 2.00 seconds = 753.71 MB/sec
Timing buffered disk reads: 168 MB in 3.03 seconds = 55.40 MB/sec
ssj@ubuntu:~$ sudo hdparm -t -T /dev/mapper/lvm01-home02

/dev/mapper/lvm01-home02:
Timing cached reads: 1510 MB in 2.00 seconds = 754.51 MB/sec
Timing buffered disk reads: 184 MB in 3.02 seconds = 60.90 MB/sec
ssj@ubuntu:~$ sudo hdparm -t -T /dev/sda

/dev/sda:
Timing cached reads: 1526 MB in 2.00 seconds = 763.02 MB/sec
Timing buffered disk reads: 160 MB in 3.03 seconds = 52.81 MB/sec
ssj@ubuntu:~$ sudo hdparm -t -T /dev/sdb

/dev/sdb:
Timing cached reads: 1316 MB in 2.00 seconds = 657.72 MB/sec
Timing buffered disk reads: 168 MB in 3.01 seconds = 55.78 MB/sec
ssj@ubuntu:~$

以上可以看出软raid0给我们代来巨大风险的同时,并不能给我们代来巨大的速度提升

下面用IDE的raid卡来做个测试(我使用的是LSI Logic Megaraid i4阵列卡,两个希捷IDE硬盘RAID0)(EXT3)
/dev/sda1:
Timing cached reads: 1278 MB in 2.00 seconds = 638.79 MB/sec
Timing buffered disk reads: 172 MB in 3.00 seconds = 57.24 MB/sec
ssj@ubuntu:~$ sudo hdparm -tT /dev/sda3
/dev/sda3: No such file or directory
ssj@ubuntu:~$ sudo hdparm -tT /dev/sda1

/dev/sda1:
Timing cached reads: 1234 MB in 2.00 seconds = 616.93 MB/sec
Timing buffered disk reads: 168 MB in 3.01 seconds = 55.80 MB/sec
ssj@ubuntu:~$ sudo hdparm -tT /dev/sda1

/dev/sda1:
Timing cached reads: 1246 MB in 2.01 seconds = 621.26 MB/sec
Timing buffered disk reads: 170 MB in 3.02 seconds = 56.37 MB/sec
ssj@ubuntu:~$ sudo hdparm -tT /dev/sda5

/dev/sda5:
Timing cached reads: 1256 MB in 2.00 seconds = 628.10 MB/sec
Timing buffered disk reads: 168 MB in 3.01 seconds = 55.74 MB/sec
ssj@ubuntu:~$ sudo hdparm -tT /dev/sda6

/dev/sda6:
Timing cached reads: 1242 MB in 2.00 seconds = 620.45 MB/sec
Timing buffered disk reads: 174 MB in 3.02 seconds = 57.64 MB/sec
ssj@ubuntu:~$ sudo hdparm -tT /dev/sda7

/dev/sda7:
Timing cached reads: 1258 MB in 2.00 seconds = 628.69 MB/sec
Timing buffered disk reads: 172 MB in 3.01 seconds = 57.10 MB/sec
ssj@ubuntu:~$ sudo hdparm -tT /dev/sda8

/dev/sda8:
Timing cached reads: 1256 MB in 2.00 seconds = 627.67 MB/sec
Timing buffered disk reads: 170 MB in 3.02 seconds = 56.29 MB/sec
ssj@ubuntu:~$ sudo hdparm -tT /dev/sda

/dev/sda:
Timing cached reads: 1238 MB in 2.00 seconds = 618.92 MB/sec
Timing buffered disk reads: 158 MB in 3.00 seconds = 52.64 MB/sec
ssj@ubuntu:~$

单硬盘测试(EXT3)
/dev/sdb:
Timing cached reads: 1244 MB in 2.00 seconds = 622.10 MB/sec
Timing buffered disk reads: 168 MB in 3.02 seconds = 55.55 MB/sec
ssj@ubuntu:~$ sudo hdparm -tT /dev/sdb1

/dev/sdb1:
Timing cached reads: 1248 MB in 2.00 seconds = 623.70 MB/sec
Timing buffered disk reads: 168 MB in 3.01 seconds = 55.90 MB/sec
ssj@ubuntu:~$ sudo hdparm -tT /dev/sdb3

/dev/sdb5:
Timing cached reads: 1248 MB in 2.00 seconds = 623.80 MB/sec
Timing buffered disk reads: 160 MB in 3.02 seconds = 53.01 MB/sec
ssj@ubuntu:~$

Trackback URL for this entry