Date: Tue, 9 Jan 2007 11:11:45 +0100 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Ahnjoan Amous <ahnjoan@gmail.com> Cc: freebsd-geom@freebsd.org Subject: Re: GEOM mirror performance - slow Message-ID: <20070109101144.GB62430@garage.freebsd.pl> In-Reply-To: <5e575c8a0701081957k43483e1ewf9b27022ae330d8a@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
On Mon, Jan 08, 2007 at 10:57:14PM -0500, Ahnjoan Amous wrote:
> I'm sorry about the double posting, I have switch e-mail clients and
> hope that the text is now understandable.
>
> While deploying 6.1-RELEASE I'm seeing slower than expected speed
> using geom mirror.
[...]
Hard to say, really. It depends on many factors. On my test system:
# dd if=/dev/zero of=/dev/ad4d bs=1m count=1000 &; dd if=/dev/zero of=/dev/ad6d bs=1m count=1000
ad4d: 64.27MB/s
ad6d: 61.49MB/s
# gmirror label foo ad4d ad6d
# dd if=/dev/zero of=/dev/mirror/foo bs=1m count=1000
mirror/foo: 61.26MB/s
BUT disks can somehow interfere with each other (are on the same ATA
channel, etc.).
On this system I've this setup:
ATA channel 2:
Master: ad4 <ST3808110AS/3.AAD> Serial ATA II
Slave: ad5 <ST3808110AS/3.AAD> Serial ATA II
ATA channel 3:
Master: ad6 <ST3808110AS/3.AAD> Serial ATA II
Slave: no device present
As you saw above, I was using ad4 and ad6, which are on different ATA
channels. When I do the same experiment for ad4 and ad5 I see worser
results:
# dd if=/dev/zero of=/dev/ad4d bs=1m count=1000 &; dd if=/dev/zero of=/dev/ad5d bs=1m count=1000
ad4d: 59.55MB/s
ad5d: 59.31MB/s
# gmirror label foo ad4d ad5d
# dd if=/dev/zero of=/dev/mirror/foo bs=1m count=1000
mirror/foo: 49.03MB/s
So not ~40% slowdown as in your case, but still visible slowdown (~20%).
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd@FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)
iD8DBQFFo2pgForvXbEpPzQRAggTAJkB6etmnIJAegMbUgzs3omkJDmfLwCg3/3B
St3K0GtfxPlKMNXoDMUBy1s=
=5+aw
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070109101144.GB62430>
