From owner-freebsd-geom@FreeBSD.ORG Tue Jan 9 03:57:16 2007 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 397DE16A403 for ; Tue, 9 Jan 2007 03:57:16 +0000 (UTC) (envelope-from ahnjoan@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.172]) by mx1.freebsd.org (Postfix) with ESMTP id C880313C43E for ; Tue, 9 Jan 2007 03:57:15 +0000 (UTC) (envelope-from ahnjoan@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so5743653uge for ; Mon, 08 Jan 2007 19:57:14 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=YUucRxxogA2tUHS0msiHWhB25JvjehX/xMyvP9yDx9gU1E5FTLvvePSeHVXJdmWzM/Ah5ZFCIvbWmt4RPNwHMPltL1/W1FME7QVpUQpx0T6kX81hkU0tA+wTe3S3VFPwMYALjSZhOdB23Bu+LlClPTLHiAhKoAwGBGBCwCLhLGI= Received: by 10.78.203.13 with SMTP id a13mr4364822hug.1168315034555; Mon, 08 Jan 2007 19:57:14 -0800 (PST) Received: by 10.78.11.6 with HTTP; Mon, 8 Jan 2007 19:57:14 -0800 (PST) Message-ID: <5e575c8a0701081957k43483e1ewf9b27022ae330d8a@mail.gmail.com> Date: Mon, 8 Jan 2007 22:57:14 -0500 From: "Ahnjoan Amous" To: freebsd-geom@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=WINDOWS-1252; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: GEOM mirror performance - slow X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Jan 2007 03:57:16 -0000 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. Test 1. Outside of GEOM I'm able to write to both aacd2 and aacd3 concurrently and achieve between 41M =96 45M a second write speeds. (around 75M a second if I run the commands separately) Test 2. Inside a GEOM container but not mirrored (aacd2 =3D gm2, aacd3 =3D gm3) I'm able to write to both gm2 and gm3 concurrently and achieve between 40M =96 49M a second write speeds. (around 75M a second if I run the commands separately) Test 3. Inside a GEOM mirror (gm1 =3D aacd2 =3D aacd3) I'm able to achieve 23M a second. I'd love someones opinion as to if the speed I'm seeing using GEOM mirror is to be expected. FYI =96 The mirror was manually rebuilt and COMPLETE before tests were attempted on the mirror. *********************************************************************** *** Test 1. *** dd to devices mounted outside of geom > dd if=3D/dev/zero of=3D/data02/helloworld bs=3D8k count=3D100k & > dd if=3D/dev/zero of=3D/data03/helloworld bs=3D8k count=3D100k & 838860800 bytes transferred in 18.799345 secs (44621810 bytes/sec) ^^^^^^^^ 838860800 bytes transferred in 18.544963 secs (45233889 bytes/sec) ^^^^^^^^ > dd if=3D/dev/zero of=3D/data02/helloworld bs=3D1m count=3D800 & > dd if=3D/dev/zero of=3D/data03/helloworld bs=3D1m count=3D800 & 838860800 bytes transferred in 20.014247 secs (41913183 bytes/sec) ^^^^^^^^ 838860800 bytes transferred in 19.824656 secs (42314016 bytes/sec) ^^^^^^^^ **** setup info for test **** > df -k /dev/aacd2s1e 2026030 819620 1044328 44% /data02 /dev/aacd3s1e 2026030 819620 1044328 44% /data03 *********************************************************************** *** Test 2. *** dd to devices mounted as their own geom volumes > dd if=3D/dev/zero of=3D/data02/helloworld bs=3D8k count=3D100k & > dd if=3D/dev/zero of=3D/data03/helloworld bs=3D8k count=3D100k & 838860800 bytes transferred in 17.118679 secs (49002659 bytes/sec) ^^^^^^^^ 838860800 bytes transferred in 16.810787 secs (49900150 bytes/sec) ^^^^^^^^ > dd if=3D/dev/zero of=3D/data02/helloworld bs=3D1m count=3D800 & > dd if=3D/dev/zero of=3D/data03/helloworld bs=3D1m count=3D800 & 838860800 bytes transferred in 20.907455 secs (40122569 bytes/sec) ^^^^^^^^ 838860800 bytes transferred in 20.638277 secs (40645874 bytes/sec) ^^^^^^^^ **** setup info for test **** > df -k /dev/mirror/gm2 2026030 819620 1044328 44% /data02 /dev/mirror/gm3 2026030 819620 1044328 44% /data03 > gmirror list Geom name: gm2 1. Name: aacd2s1e Geom name: gm3 1. Name: aacd3s1e *********************************************************************** *** Test 3. *** dd to devices mounted as a geom mirror > dd if=3D/dev/zero of=3D/data01/helloworld bs=3D8k count=3D100k 838860800 bytes transferred in 35.622392 secs (23548694 bytes/sec) ^^^^^^^^ > dd if=3D/dev/zero of=3D/data01/helloworld bs=3D1m count=3D800 838860800 bytes transferred in 35.588491 secs (23571126 bytes/sec) ^^^^^^^^ **** setup info for test **** > df -k /dev/mirror/gm1 2026028 819620 1044326 44% /data01 > gmirror list Geom name: gm1 1. Name: aacd2s1e 2. Name: aacd3s1e