From owner-freebsd-stable@freebsd.org Tue Jun 28 13:59:11 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 D1056B85F92 for ; Tue, 28 Jun 2016 13:59:11 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 966262407 for ; Tue, 28 Jun 2016 13:59:11 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 2A4F42843A for ; Tue, 28 Jun 2016 15:59:08 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 066AD2840C for ; Tue, 28 Jun 2016 15:59:07 +0200 (CEST) Message-ID: <577282AA.5080803@quip.cz> Date: Tue, 28 Jun 2016 15:59:06 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:35.0) Gecko/20100101 Firefox/35.0 SeaMonkey/2.32 MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: FreeBSD 10.3 slow boot on Supermicro X11SSW-F Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 28 Jun 2016 13:59:11 -0000 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. Progress indicated by \ | / - characters is changing by speed of 1 character per 2 seconds. The whole boot process takes about 10 minutes. I found this blog post solving the same problem http://smyck.net/2016/06/15/freebsd-slow-zfs-bootloader/ It seems there is some bug in loader in 10.3. If /boot/pmbr, /boot/gptzfsboot and /boot/zfsloader are replaced by files from 11-CURRENT snapshot (from ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/11.0-CURRENT/base.txz) the booting speed is back to normal. Is it know problem? What was changed in loader between 10.3 and 11? Miroslav Lachman