unhappy_mage
[H]ard|DCer of the Month - October 2005
- Joined
- Jun 29, 2004
- Messages
- 11,455
Well, I've been promoting EVMS for a while now. It's got everything in one place, and that kind of integration is Really Nice (tm) for managing disks. I've had speed problems with it, sure, but I'm using an adapter that's ill-supported by Linux. Until now.
A few days ago I downloaded the 2.6.19.1 kernel with the intention of seeing if jgarzik (or whoever else is working on the sata driver for Marvell chipsets) had added support for DMA yet. So I unplugged the data disks (all 11 of them
) and went about testing reliability. For a solid day or so I wrote a predictable pattern to a large file, and md5summed it continuously. The md5 stayed constant the entire time, so I was hopeful. I plugged 3 of the disks back in - a raid 5 array with not much on it, and nothing I cared for.
Read speeds practically didn't change at all. 20 MB/s before, 25 MB/s after. Somewhat discouraged, I decided to run some tests. Single-disk reads are about 65 MB/s, where I expect it for these disks. But reads from the evms-created raid 5 array were still terrible. So I took the plunge - copied the data off the 3-disk to the 8-disk array, and deleted the 3-disk array from evms, and deactivated the disks from evms. Then I ran "mdadm --create --chunk=32 --level=5 --raid-devices=3 /dev/md2 /dev/sdb1 /dev/sdc1 /dev/sdd1". /proc/mdstat showed it building at 65 MB/s - single-disk speeds. I'm not sure if this is a coincidence or to be expected.
An hour later (after building was finished), I ran some simple tests. "dd if=/dev/md2 of=/dev/null bs=32k count=128k" completed in about 52.4 seconds, for a transfer rate of 81.9 MB/s. For a 3-disk raid 5, that's not too shabby.
You do the math. 25 MB/s with EVMS, 80 without. My next array won't be using EVMS.
A few days ago I downloaded the 2.6.19.1 kernel with the intention of seeing if jgarzik (or whoever else is working on the sata driver for Marvell chipsets) had added support for DMA yet. So I unplugged the data disks (all 11 of them
Read speeds practically didn't change at all. 20 MB/s before, 25 MB/s after. Somewhat discouraged, I decided to run some tests. Single-disk reads are about 65 MB/s, where I expect it for these disks. But reads from the evms-created raid 5 array were still terrible. So I took the plunge - copied the data off the 3-disk to the 8-disk array, and deleted the 3-disk array from evms, and deactivated the disks from evms. Then I ran "mdadm --create --chunk=32 --level=5 --raid-devices=3 /dev/md2 /dev/sdb1 /dev/sdc1 /dev/sdd1". /proc/mdstat showed it building at 65 MB/s - single-disk speeds. I'm not sure if this is a coincidence or to be expected.
An hour later (after building was finished), I ran some simple tests. "dd if=/dev/md2 of=/dev/null bs=32k count=128k" completed in about 52.4 seconds, for a transfer rate of 81.9 MB/s. For a 3-disk raid 5, that's not too shabby.
You do the math. 25 MB/s with EVMS, 80 without. My next array won't be using EVMS.