From owner-freebsd-current@FreeBSD.ORG Tue Nov 4 13:08:57 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 44012949 for ; Tue, 4 Nov 2014 13:08:57 +0000 (UTC) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.18.29]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 01301E4C for ; Tue, 4 Nov 2014 13:08:56 +0000 (UTC) Received: from [78.35.187.124] (helo=fabiankeil.de) by smtprelay06.ispgateway.de with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1Xldqq-0003uw-7M; Tue, 04 Nov 2014 14:08:48 +0100 Date: Tue, 4 Nov 2014 14:08:48 +0100 From: Fabian Keil To: John-Mark Gurney Subject: Re: CTF: geom gate network patch Message-ID: <310ec4e9.40a1f7ce@fabiankeil.de> In-Reply-To: <20141103183815.GD8852@funkthat.com> References: <20141017165849.GX1852@funkthat.com> <20141103183815.GD8852@funkthat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/sR8ZkwVabx3B14uj1+ISoG_"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 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, 04 Nov 2014 13:08:57 -0000 --Sig_/sR8ZkwVabx3B14uj1+ISoG_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable John-Mark Gurney wrote: > John-Mark Gurney wrote this message on Fri, Oct 17, 2014 at 09:58 -0700: =20 > > I did some work at this a while back... and if you're interested in > > improving performance and willing to do some testing... I can send you > > some patches.. > >=20 > > There are a couple issues that I know about.. > >=20 > > First, ggate specificly sets the buffer sizes, which disables the > > autosizing of TCP's window.. This means that if you have a high latency, > > high bandwidth link, you'll be limited to 128k / rtt of bandwidth. > >=20 > > Second is that ggate isn't issueing multiple IOs at a time. This means > > that any NCQ or tagging isn't able to be used, where as when running > > natively they can be used... >=20 > I've attached a patch I would like other ggate users to test and > verify that there aren't bugs, or performance regressions by using > this patch. >=20 > The patch is also available at: > https://www.funkthat.com/~jmg/patches/ggate.patch I tested the patch on a recent 11-CURRENT system (ggatec/ggated) and a 9.0-CURRENT system from 2009 (only ggated) and didn't notice any problems. The patch didn't seem to affect the performance either way, but then again I'm using slow disks and ssh so I didn't expect geom gate to be the bottle neck. Fabian --Sig_/sR8ZkwVabx3B14uj1+ISoG_ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRYz+AACgkQBYqIVf93VJ3xGwCgg7zCpUP7y3q2zPHLZEjC1eTg MV4Ani9odoBOWbgHa0Rva0YeH2BGCAnl =kMF2 -----END PGP SIGNATURE----- --Sig_/sR8ZkwVabx3B14uj1+ISoG_--