From owner-freebsd-stable@freebsd.org Thu Jul 14 18:38:57 2016 Return-Path: Delivered-To: freebsd-stable@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 2E686B9989D; Thu, 14 Jul 2016 18:38:57 +0000 (UTC) (envelope-from ler@lerctr.org) Received: from thebighonker.lerctr.org (thebighonker.lerctr.org [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "thebighonker.lerctr.org", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F19D31DCC; Thu, 14 Jul 2016 18:38:56 +0000 (UTC) (envelope-from ler@lerctr.org) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; s=lerami; h=Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: Content-Transfer-Encoding:Content-Type:MIME-Version:Sender:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=5SHJyHjq/To9kHFPY0001gkHBoc42AcAgbSGL8IPkcA=; b=JejMhWH0Piey56YBN72mtmoot8 V4u8sNfh//WO7hKiE4ROmp0PXQ+ULigegG2I8zb0M8snAN4CkyC8F6UGXD5+VnXCY3NgYwehcGPqj 0sBtx6gBNmG6k0O7priIQZks+4EViRYvLx1pk45t5g+DS8FOQfYTBkUzl7eXe2x0itc4=; Received: from thebighonker.lerctr.org ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:55532 helo=webmail.lerctr.org) by thebighonker.lerctr.org with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87 (FreeBSD)) (envelope-from ) id 1bNlXA-000CxY-Ca; Thu, 14 Jul 2016 13:38:52 -0500 Received: from proxy.na.alcatel-lucent.com ([135.245.48.74]) by webmail.lerctr.org with HTTP (HTTP/1.1 POST); Thu, 14 Jul 2016 13:38:52 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 14 Jul 2016 13:38:52 -0500 From: Larry Rosenman To: Kurt Jaeger Cc: Miroslav Lachman <000.fbsd@quip.cz>, freebsd-stable@freebsd.org, owner-freebsd-stable@freebsd.org Subject: Re: FreeBSD 10.3 slow boot on Supermicro X11SSW-F In-Reply-To: <20160714183640.GB36995@home.opsec.eu> References: <577282AA.5080803@quip.cz> <20160714161109.GA36995@home.opsec.eu> <20160714183640.GB36995@home.opsec.eu> Message-ID: X-Sender: ler@lerctr.org User-Agent: Roundcube Webmail/1.2.0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jul 2016 18:38:57 -0000 On 2016-07-14 13:36, Kurt Jaeger wrote: > Hi! > >> > I installed FreeBSD 10.3 on brand new machine Supermicro X11SSW-F. It >> > sits on top of 4x 1TB Samsung SSDs on ZFS RAIDZ2. >> > >> > The booting is painfully slow from BTX to menu to kernel loading. >> >> I have the same problem on a Supermicro X11SSH-LN4F. > >> > I found this blog post solving the same problem >> > http://smyck.net/2016/06/15/freebsd-slow-zfs-bootloader/ >> >> I'll test that solution. Thanks for the pointer! > > Tested, works -- I took the 12.0-CURRENT boot files: > > gpart bootcode -b pmbr ada0 > gpart -p gptzfsboot -i 1 ada0 > cp zfsloader /boot/zfsloader > > Before: ca. 660 seconds to reboot, now 77 seconds to reboot. > > Now, if someone could explain, why... there were some buffering changes and other stuff in the boot blocks/loader. -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 214-642-9640 E-Mail: ler@lerctr.org US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281