Re: RAID-1 performance under 2.4 and 2.6

From: Bart Van Assche
Date: Wed Mar 26 2008 - 04:42:31 EST


On Tue, Mar 25, 2008 at 7:43 PM, Emmanuel Florac <eflorac@xxxxxxxxxxxxxx> wrote:
>
> dd if=/dev/zero of=/mountpoint/testfile bs=1M count=1024

Keep in mind that the above test tests two subsystems at the same
time: RAID-1 + the filesystem on top of it. If you want to test RAID-1
performance you should specify a raw device to of=... instead of a
file (and the direct I/O flags). There are considerable performance
differences between filesystems for large files. E.g. XFS is a lot
faster than ext3 for large files (gigabytes).

Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/