[root@baltar xen]# hdparm -Tt /dev/vg0/test /dev/md0Notice the buffered speeds are very close. This is because the LVM is on /dev/hda, as is the first element of the RAID1. (These are old disks on an old Celeron CPU.)
/dev/vog0/home:
Timing cached reads: 416 MB in 2.01 seconds = 207.25 MB/sec
Timing buffered disk reads: 28 MB in 3.09 seconds = 9.05 MB/sec
/dev/md0:
Timing cached reads: 416 MB in 2.02 seconds = 206.40 MB/sec
Timing buffered disk reads: 32 MB in 3.05 seconds = 10.50 MB/sec
Now we rebuild the same two partitions into a RAID0. The disks are on separate controllers (/dev/hda and /dev/hdc) so we expect a boost in throughput:
[root@baltar xen]# hdparm -Tt /dev/md0Yeow! Look at those numbers: better than double.
/dev/md0:
Timing cached reads: 416 MB in 2.00 seconds = 207.91 MB/sec
Timing buffered disk reads: 68 MB in 3.05 seconds = 22.30 MB/sec
I'm convinced.
No comments:
Post a Comment