From owner-freebsd-geom@freebsd.org Thu Oct 13 02:11:25 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 E91F2C0F03F for ; Thu, 13 Oct 2016 02:11:25 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gold.funkthat.com", Issuer "gold.funkthat.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B879DEC1 for ; Thu, 13 Oct 2016 02:11:25 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id u9D1fiFD020083 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 12 Oct 2016 18:41:44 -0700 (PDT) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id u9D1fi4k020082; Wed, 12 Oct 2016 18:41:44 -0700 (PDT) (envelope-from jmg) Date: Wed, 12 Oct 2016 18:41:43 -0700 From: John-Mark Gurney 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: <20161013014143.GA1669@funkthat.com> Mail-Followup-To: Michael Osipov <1983-01-06@gmx.net>, freebsd-geom@freebsd.org 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15e9cb94-7ad8-e547-b06a-699ce2250624@gmx.net> X-Operating-System: FreeBSD 11.0-ALPHA2 amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Wed, 12 Oct 2016 18:41:44 -0700 (PDT) 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: Thu, 13 Oct 2016 02:11:26 -0000 Michael Osipov wrote this message on Wed, Oct 12, 2016 at 20:54 +0200: > As if there is a bottleneck between socket read and geom write to FS. > > Is that better? 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. Also, if you do dd if=/dev/zero of=/mnt/somefile bs=1m count=1024, from the local system, are things still slow? P.S. This is basic debugging, have to identify which part of the system is misbehaving. P.P.S. Your "non-geom" test is still using geom, just not w/ the graid3 module. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."