From owner-freebsd-stable@FreeBSD.ORG Sat Oct 4 17:46:07 2014 Return-Path: Delivered-To: freebsd-stable@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 73FCC972; Sat, 4 Oct 2014 17:46:07 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE609F09; Sat, 4 Oct 2014 17:46:06 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id s94Hk16R059208 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 4 Oct 2014 20:46:01 +0300 (EEST) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua s94Hk16R059208 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.9/Submit) id s94Hk0jc059201; Sat, 4 Oct 2014 20:46:00 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 4 Oct 2014 20:46:00 +0300 From: Konstantin Belousov To: Peter Wemm Subject: Re: Heads-up: Possible regression between 10.0-RELEASE and 10.1-BETA1 with '/ on ZFS' setup Message-ID: <20141004174600.GU26076@kib.kiev.ua> References: <20141004024011.GC1199@hub.FreeBSD.org> <20141004160052.GR26076@kib.kiev.ua> <20141004170137.GA1171@hub.FreeBSD.org> <1684676.g0E56GkSvf@overcee.wemm.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1684676.g0E56GkSvf@overcee.wemm.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home Cc: Glen Barber , Steven Hartland , freebsd-stable@freebsd.org, FreeBSD Release Engineering Team X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Oct 2014 17:46:07 -0000 On Sat, Oct 04, 2014 at 10:03:48AM -0700, Peter Wemm wrote: > > If we cannot increase KSTACK_PAGES by default, do we have any > > alternative solution outside of suggesting to avoid using ZFS on i386 > > with more than one disk? > > When zfs creates its kthreads it can specify how much stack it needs. For > i386 it could ask for more for the zfs threads. Its not a good option but its > better than more stack for everything when it's already easy to run out > without zfs. This one probably happens in the init thread, not some of the zfs hord. Glen did not show the backtrace from ddb yet (I hope that ddb did not regressed and can step over double-fault boundary). We could specifically increment the init thread stack size as well, but I have no idea if normal VFS calls into ZFS are affected and cause overflow for the normal threads after the multitasking is fired.