From owner-freebsd-current@FreeBSD.ORG Tue Apr 28 09:45:35 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD608106564A for ; Tue, 28 Apr 2009 09:45:35 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 381958FC15 for ; Tue, 28 Apr 2009 09:45:35 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Lyjsa-00018r-Iy for freebsd-current@freebsd.org; Tue, 28 Apr 2009 09:45:32 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Apr 2009 09:45:32 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 Apr 2009 09:45:32 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Tue, 28 Apr 2009 11:45:07 +0200 Lines: 48 Message-ID: References: <49F6CA67.6030302@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig88A48ADA7E21157BF6AB1DF3" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090318) In-Reply-To: <49F6CA67.6030302@FreeBSD.org> X-Enigmail-Version: 0.95.0 Sender: news Subject: Re: Improving geom_mirror(4)'s read balancing X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Apr 2009 09:45:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig88A48ADA7E21157BF6AB1DF3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Maxim Sobolev wrote: > The patch is available here: > http://sobomax.sippysoft.com/~sobomax/geom_mirror.diff. I would like to= > get input on the functionality/code itself, as well on what is the best= > way to add this functionality. Right now, it's part of the round-robin > balancing code. Technically, it could be added as a separate new > balancing method, but for the reasons outlined above I really doubt > having "pure" round-robin has any practical value now. The only case > where previous behavior might be beneficial is with solid-state/RAM > disks where there is virtually no seek time, so that by reading close > sectors from two separate disks one could actually get a better speed. > At the very least, the new method should become default, while "old > round-robin" be another option with clearly documented shortcomings. I > would really like to hear what people think about that. Have you perhaps seen this: http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/113885 I'm using the patch in the PR and it helps a bit, similar to what you have seen. Pawel is silent about the issue so I guess it can also be taken as silent approval :) --------------enig88A48ADA7E21157BF6AB1DF3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkn20C0ACgkQldnAQVacBcjtbgCfR6K908CAxNkroh7pHyeW0Y/e 6BYAn3g0rjctYlI/qJ7VvwKoyU+dMd73 =H8j2 -----END PGP SIGNATURE----- --------------enig88A48ADA7E21157BF6AB1DF3--