From owner-svn-src-head@FreeBSD.ORG Thu Dec 3 22:33:27 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 093D01065670; Thu, 3 Dec 2009 22:33:27 +0000 (UTC) (envelope-from will@firepipe.net) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 936B78FC19; Thu, 3 Dec 2009 22:33:26 +0000 (UTC) Received: by yxe1 with SMTP id 1so1634756yxe.3 for ; Thu, 03 Dec 2009 14:33:25 -0800 (PST) Received: by 10.101.205.23 with SMTP id h23mr3005376anq.34.1259878086011; Thu, 03 Dec 2009 14:08:06 -0800 (PST) Received: from cephei.firepipe.net (c-98-245-40-5.hsd1.co.comcast.net [98.245.40.5]) by mx.google.com with ESMTPS id 7sm1258152yxd.62.2009.12.03.14.08.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Dec 2009 14:08:04 -0800 (PST) Date: Thu, 3 Dec 2009 15:08:59 -0700 From: Will Andrews To: Pawel Jakub Dawidek Message-ID: <20091203220856.GA73255@cephei.firepipe.net> References: <200912032147.nB3Llph1027086@svn.freebsd.org> <20091203215532.GA2066@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <20091203215532.GA2066@garage.freebsd.pl> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: svn-src-head@freebsd.org, Alexander Motin , src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r200086 - head/sys/geom/mirror X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2009 22:33:27 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 03, 2009 at 10:55:33PM +0100, Pawel Jakub Dawidek wrote: > On Thu, Dec 03, 2009 at 09:47:51PM +0000, Alexander Motin wrote: > > Author: mav > > Date: Thu Dec 3 21:47:51 2009 > > New Revision: 200086 > > URL: http://svn.freebsd.org/changeset/base/200086 > >=20 > > Log: > > Change 'load' balancing mode algorithm: > > - Instead of measuring last request execution time for each drive and > > choosing one with smallest time, use averaged number of requests, run= ning > > on each drive. This information is more accurate and timely. It allow= s to > > distribute load between drives in more even and predictable way. > > - For each drive track offset of the last submitted request. If new r= equest > > offset matches previous one or close for some drive, prefer that driv= e. > > It allows to significantly speedup simultaneous sequential reads. > > =20 > > PR: kern/113885 > > Reviewed by: sobomax >=20 > Hmm, Will send me improved patch few days ago related to this > functionality. Could you guys compare the patches, select the best one > and commit it (or both if they serve different purposes)? I'm pretty > occupied currently and it will take probably few weeks before I can join > the discussion. Mine changes the round-robin algorithm instead of the load one. But mav's patch uses a different method for distributing the load on the providers, whereas mine is just a better-written version of the PR's patch. --=20 wca --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iD8DBQFLGDb3F47idPgWcsURAsYQAJwP/0R5Vfw2OHil7iWDxkBdvb721QCfQsrx L/BI25kd0XKQuPqE7rNgAF0= =mPrn -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--