Re: FreeBSD 10.3 slow boot on Supermicro X11SSW-F

2016-07-14 Thread Ian Lepore
On Thu, 2016-07-14 at 20:42 +0200, Kurt Jaeger wrote:
> Hi!
> 
> > > Before: ca. 660 seconds to reboot, now 77 seconds to reboot.
> > > Now, if someone could explain, why...
> 
> > https://lists.freebsd.org/pipermail/freebsd-stable/2016-June/084865
> > .html
> 
> Any pointer to a commit or three that fixed it ?
> 

I think this is the one...

https://svnweb.freebsd.org/base?view=revision=298230

-- Ian

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 10.3 slow boot on Supermicro X11SSW-F

2016-07-14 Thread Kurt Jaeger
Hi!

> > Before: ca. 660 seconds to reboot, now 77 seconds to reboot.
> > Now, if someone could explain, why...

> https://lists.freebsd.org/pipermail/freebsd-stable/2016-June/084865.html

Any pointer to a commit or three that fixed it ?

-- 
p...@opsec.eu+49 171 3101372 4 years to go !
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 10.3 slow boot on Supermicro X11SSW-F

2016-07-14 Thread Brandon Allbery
On Thu, Jul 14, 2016 at 2:36 PM, Kurt Jaeger  wrote:

> Before: ca. 660 seconds to reboot, now 77 seconds to reboot.
> Now, if someone could explain, why...
>

https://lists.freebsd.org/pipermail/freebsd-stable/2016-June/084865.html

-- 
brandon s allbery kf8nh   sine nomine associates
allber...@gmail.com  ballb...@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonadhttp://sinenomine.net
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 10.3 slow boot on Supermicro X11SSW-F

2016-07-14 Thread Larry Rosenman

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: l...@lerctr.org
US Mail: 17716 Limpia Crk, Round Rock, TX 78664-7281
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 10.3 slow boot on Supermicro X11SSW-F

2016-07-14 Thread Kurt Jaeger
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...

-- 
p...@opsec.eu+49 171 3101372 4 years to go !
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 10.3 slow boot on Supermicro X11SSW-F

2016-07-14 Thread Miroslav Lachman

Kurt Jaeger wrote on 07/14/2016 18:11:

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.


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/


I'll test that solution. Thanks for the pointer!


If there will not be 10.4 Release, there is nothing to fix, because 11.0 
works, I know...


But still - is this something already known and fixed in 11 loader or is 
it something fixed by coincidence?

Can it be covered by some regression test?

Miroslav Lachman
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 10.3 slow boot on Supermicro X11SSW-F

2016-07-14 Thread Kurt Jaeger
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.

> 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/

I'll test that solution. Thanks for the pointer!

-- 
p...@opsec.eu+49 171 3101372 4 years to go !
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 10.3 slow boot on Supermicro X11SSW-F

2016-06-28 Thread Miroslav Lachman

Steven Hartland wrote on 06/28/2016 16:43:

Does adding the following to /boot/loader.conf make any difference?
hw.memtest.tests="0"


No it doesn't help. BTX loader it-self is slow as hell and this settings 
can't affect BTX. Or am I wrong?


Booting is stil about 10 minutes with 10.3 loader and 
hw.memtest.tests="0" in loader.conf


Miroslav Lachman

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 10.3 slow boot on Supermicro X11SSW-F

2016-06-28 Thread Jan Bramkamp

On 28/06/16 15:59, Miroslav Lachman wrote:

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?


The bootloader disk caching. The old code doesn't work (well) on modern 
UEFI implementations. You can get acceptable bootloader performance with 
the FreeBSD 10.3 EFI bootloader on such boards. Even the UEFI install 
images contain fallback BIOS bootcode and some boards prefer the old 
BIOS bootcode. On such boards you have to suffer through the slow boot 
process once to install FreeBSD.

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: FreeBSD 10.3 slow boot on Supermicro X11SSW-F

2016-06-28 Thread Steven Hartland

Does adding the following to /boot/loader.conf make any difference?
hw.memtest.tests="0"

On 28/06/2016 14:59, Miroslav Lachman wrote:
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
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"