From owner-freebsd-geom@freebsd.org Fri Oct 14 09:47:16 2016 Return-Path: Delivered-To: freebsd-geom@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B3E4EC0F2F5 for ; Fri, 14 Oct 2016 09:47:16 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) 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 770F115C for ; Fri, 14 Oct 2016 09:47:16 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [78.35.169.203] (helo=fabiankeil.de) by smtprelay06.ispgateway.de with esmtpsa (TLSv1.2:AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1buz1Y-0001Tj-Rs; Fri, 14 Oct 2016 11:43:32 +0200 Date: Fri, 14 Oct 2016 11:43:30 +0200 From: Fabian Keil To: Michael Osipov <1983-01-06@gmx.net> Cc: freebsd-geom@freebsd.org Subject: Re: Abysmally slow write to geom class volume over network Message-ID: <20161014114330.396fe534@fabiankeil.de> In-Reply-To: <636763f0-a732-18ba-262b-c3fc01f4342c@gmx.net> References: <33da0f73-48f1-4727-fe76-41343dc4955b@gmx.net> <18314f27-849b-31df-d88d-af64e89c133f@gmx.net> <346c7da7-02b2-ba34-1463-f3f0a5a3cd9a@rlwinm.de> <15e9cb94-7ad8-e547-b06a-699ce2250624@gmx.net> <20161013014143.GA1669@funkthat.com> <636763f0-a732-18ba-262b-c3fc01f4342c@gmx.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/cAhz0Jgv60TflM0qjGYUZ2u"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2016 09:47:16 -0000 --Sig_/cAhz0Jgv60TflM0qjGYUZ2u Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Michael Osipov <1983-01-06@gmx.net> wrote: > Am 2016-10-13 um 03:41 schrieb John-Mark Gurney: > > Michael Osipov wrote this message on Wed, Oct 12, 2016 at 20:54 > > +0200: =20 > >> As if there is a bottleneck between socket read and geom write to FS. > >> > >> Is that better? =20 > > > > Have you run gstat on the system to see if there is an IO bottle > > neck? Since you are using graid3, you want to look to see if > > it's %busy is ~100, while the underlying components are not. =20 >=20 > This is hardly impossible because as soon as I start some SFTP transfer,= =20 > all of my SSH sessions free or receive connetion timeout/abort. Doing a= =20 > SFTP from FreeBSD to FreeBSD gives me on both physical disks and RAID3=20 > volume a busy of zero to one perfect. In other terms, the drives are > bored. Try checking the FAIL and SLEEP columns in the "vmstat -z" output. This could be related to: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209680#c2 Fabian --Sig_/cAhz0Jgv60TflM0qjGYUZ2u Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlgAqMMACgkQBYqIVf93VJ3DXQCeJglkl/Nfsdizp2qglBI1fo+i niYAnRm6Nyc01Mp+bqHgP9vmOOjjTmXy =Y7jL -----END PGP SIGNATURE----- --Sig_/cAhz0Jgv60TflM0qjGYUZ2u--