From owner-freebsd-geom@FreeBSD.ORG Tue Jan 9 10:22:50 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 DD60316A415 for ; Tue, 9 Jan 2007 10:22:50 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: from web30314.mail.mud.yahoo.com (web30314.mail.mud.yahoo.com [209.191.69.76]) by mx1.freebsd.org (Postfix) with SMTP id 8DABF13C448 for ; Tue, 9 Jan 2007 10:22:50 +0000 (UTC) (envelope-from arne_woerner@yahoo.com) Received: (qmail 74405 invoked by uid 60001); 9 Jan 2007 10:22:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=ApqrD2j95EGJfrt/RlZyzo2Oy4kF6sSdNS69FdRHz6j/VCvAvxM4PlBs0xeMu0PCrtFYJuAQki+s/0Z0EEuIPRmtNcV78SbRsgeC988rPGKUy0z51+WE0X/WbbayoGACBsDEQT4EXVF4kUwOaQ05aIwTSe3/E9NM+/5ZKRsJ3WE=; X-YMail-OSG: PiyU5HwVM1nbkFAnh0d4bFxTRiFCN7xByE95ki3sqYHvFNCNluj33iBSeg9jOQw_cLQxjo5mk7GBSaWVD8DwGqulTKD9eC5Ch_l3bTPd58K907Y4Y0Cm7oCu3VddwoHh8IRPbc1wFEI- Received: from [213.54.167.25] by web30314.mail.mud.yahoo.com via HTTP; Tue, 09 Jan 2007 02:22:49 PST Date: Tue, 9 Jan 2007 02:22:49 -0800 (PST) From: "R. B. Riddick" To: Pawel Jakub Dawidek , Ahnjoan Amous In-Reply-To: <20070109101144.GB62430@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <713924.74108.qm@web30314.mail.mud.yahoo.com> Cc: freebsd-geom@freebsd.org Subject: Re: 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 10:22:51 -0000 --- Pawel Jakub Dawidek wrote: > 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. > [...] > > So not ~40% slowdown as in your case, but still visible slowdown (~20%). > I have a theory now (when I read it first I was completely puzzled about this): (aa) Since gmirror issues the write requests nearly at the same time, and (bb) since gmirror has to wait for the completion of BOTH requests, and (cc) since the two dd processes are not coupled, (dd) we see here the effects of synchronization and bus/controller contention. In your case (Ahnjoan) this effect is worse (lower DMA mode? older controller?) than in yours (Pawel). Thanks. -Arne __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com