Re: UEFI & ZFS
> I've observed the slowness only on the local console, I haven't tested > the seriel console. Put the FreeBSD legcay installation usb stick into > the box, select it as boot device and watch the cursor spinning for > about 10 minutens until the kernel boots. Do the same with an UEFI > installation stick and it's a matter of seconds... > > I've seen this on an Gigabyte GA-Z170XP-SLI with a Core i7 6700k and on > two Supermicro X11SBA-LN4F based machines with Skylake Xeon CPUs. There > are several other reports of slow boot on Skylake CPUs on the net. In > the thread mentioned below some changes in the hardware, the firmware > or somewhere else were suspected. I didn't even try to debug it,instead > I went with the UEFI loader. > Yamagi: My experience is the same as yours, but only with the combination of Legacy BIOS and ZFS installation. UEFI loading of a ZFS filesystem is also a matter of seconds. So is a Legacy/GPT/UFS installation. I only see this on my i5 Skylake when I perform a non-UEFI instalation using the ZFS filesystem. I get a rapid boot with both OpenBSD 5.8 and using a MSDOS 6.22 USB floppy. I have seen some patches posted to this list for testing. I'll report back with my results. I can't use UEFI because this will be a XEN server and UEFI support is not in the XEN kernel yet. Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF ___ 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: UEFI & ZFS
Hello, I've observed the slowness only on the local console, I haven't tested the seriel console. Put the FreeBSD legcay installation usb stick into the box, select it as boot device and watch the cursor spinning for about 10 minutens until the kernel boots. Do the same with an UEFI installation stick and it's a matter of seconds... I've seen this on an Gigabyte GA-Z170XP-SLI with a Core i7 6700k and on two Supermicro X11SBA-LN4F based machines with Skylake Xeon CPUs. There are several other reports of slow boot on Skylake CPUs on the net. In the thread mentioned below some changes in the hardware, the firmware or somewhere else were suspected. I didn't even try to debug it,instead I went with the UEFI loader. Regards, Yamagi On Sun, 14 Feb 2016 13:47:05 +0200 Daniel Branisswrote: > > On 14 Feb 2016, at 11:52, Yamagi Burmeister wrote: > > > > https://lists.freebsd.org/pipermail/freebsd-current/2015-December/059037.html > when saying ‘slow’, do you see slowness when printing output to the screen? > I mention this, because in the past I saw something similar, and it was a > misconfiguration with the serial console … > > danny > > > > > Regard, > > > > > > On Fri, 12 Feb 2016 15:36:10 -0500 > > "Thomas Laus" wrote: > > > >>> I have a new Asus H170-Plus-D3 motherboard that will be used for a DOM0 > >>> Xen > >>> Server. It uses an Intel i5-6300 processor and a Samsung 840 EVO SSD. I > >>> would like to use ZFS on this new installation. The Xen Kernel does not > >>> have UEFI support at this time, so I installed FreeBSD CURRENT r295345 in > >>> 'legacy mode'. It takes about 7 minutes to go from the first '|' > >>> character > >>> to getting the 'beastie' menu. I changed the BIOS to UEFI and did another > >>> installation. The boot process goes in an instant. > >> > >> Several others have the same problem. See here on the freebsd forums: > >> > >> http://tinyurl.com/z9oldkc > >> > >> That is my exact problem. It takes 4 minutes to get a complete 'beastie' > >> menu and 7 minutes 34 seconds to login. > >> > >> Tom > >> > >> -- > >> Public Keys: > >> PGP KeyID = 0x5F22FDC1 > >> GnuPG KeyID = 0x620836CF > >> > >> ___ > >> 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" > > > > > > -- > > Homepage: www.yamagi.org > > XMPP: yam...@yamagi.org > > GnuPG/GPG: 0xEFBCCBCB > > ___ > > 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" > -- Homepage: www.yamagi.org XMPP: yam...@yamagi.org GnuPG/GPG: 0xEFBCCBCB ___ 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: UEFI & ZFS
Hello, this is a known problem with Intel Skylake CPUs. Legacy boot os dead slow, UEFI boot is blazing fast. Have a look at this thread, it contains some more informations: https://lists.freebsd.org/pipermail/freebsd-current/2015-December/059037.html As far as I know now one has found / analyzed the root cause of this until now. Regard, On Fri, 12 Feb 2016 15:36:10 -0500 "Thomas Laus"wrote: > > I have a new Asus H170-Plus-D3 motherboard that will be used for a DOM0 Xen > > Server. It uses an Intel i5-6300 processor and a Samsung 840 EVO SSD. I > > would like to use ZFS on this new installation. The Xen Kernel does not > > have UEFI support at this time, so I installed FreeBSD CURRENT r295345 in > > 'legacy mode'. It takes about 7 minutes to go from the first '|' character > > to getting the 'beastie' menu. I changed the BIOS to UEFI and did another > > installation. The boot process goes in an instant. > > Several others have the same problem. See here on the freebsd forums: > > http://tinyurl.com/z9oldkc > > That is my exact problem. It takes 4 minutes to get a complete 'beastie' > menu and 7 minutes 34 seconds to login. > > Tom > > -- > Public Keys: > PGP KeyID = 0x5F22FDC1 > GnuPG KeyID = 0x620836CF > > ___ > 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" -- Homepage: www.yamagi.org XMPP: yam...@yamagi.org GnuPG/GPG: 0xEFBCCBCB ___ 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: UEFI & ZFS
> On 14 Feb 2016, at 11:52, Yamagi Burmeisterwrote: > > Hello, > this is a known problem with Intel Skylake CPUs. Legacy boot os dead > slow, UEFI boot is blazing fast. Have a look at this thread, it contains > some more informations: > > https://lists.freebsd.org/pipermail/freebsd-current/2015-December/059037.html > > As far as I know now one has found / analyzed the root cause of this > until now. when saying ‘slow’, do you see slowness when printing output to the screen? I mention this, because in the past I saw something similar, and it was a misconfiguration with the serial console … danny > > Regard, > > > On Fri, 12 Feb 2016 15:36:10 -0500 > "Thomas Laus" wrote: > >>> I have a new Asus H170-Plus-D3 motherboard that will be used for a DOM0 Xen >>> Server. It uses an Intel i5-6300 processor and a Samsung 840 EVO SSD. I >>> would like to use ZFS on this new installation. The Xen Kernel does not >>> have UEFI support at this time, so I installed FreeBSD CURRENT r295345 in >>> 'legacy mode'. It takes about 7 minutes to go from the first '|' character >>> to getting the 'beastie' menu. I changed the BIOS to UEFI and did another >>> installation. The boot process goes in an instant. >> >> Several others have the same problem. See here on the freebsd forums: >> >> http://tinyurl.com/z9oldkc >> >> That is my exact problem. It takes 4 minutes to get a complete 'beastie' >> menu and 7 minutes 34 seconds to login. >> >> Tom >> >> -- >> Public Keys: >> PGP KeyID = 0x5F22FDC1 >> GnuPG KeyID = 0x620836CF >> >> ___ >> 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" > > > -- > Homepage: www.yamagi.org > XMPP: yam...@yamagi.org > GnuPG/GPG: 0xEFBCCBCB > ___ > 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"
UEFI + ZFS i5 Dmesg
It looks like my reply to the verbose dmesg.boot did not make it to the list. I was able to boot the PC from a MSDOS 6.22 floppy using a USB floppy drive. I also can load OpenBSD 5.8 on this PC and it boots normally. My verbose dmesg.boot: Table 'FACP' at 0xbf24f4b8 Table 'APIC' at 0xbf24f5c8 APIC: Found table at 0xbf24f5c8 APIC: Using the MADT enumerator. MADT: Found CPU APIC ID 0 ACPI ID 1: enabled SMP: Added CPU 0 (AP) MADT: Found CPU APIC ID 2 ACPI ID 2: enabled SMP: Added CPU 2 (AP) MADT: Found CPU APIC ID 4 ACPI ID 3: enabled SMP: Added CPU 4 (AP) MADT: Found CPU APIC ID 6 ACPI ID 4: enabled SMP: Added CPU 6 (AP) Copyright (c) 1992-2016 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.0-CURRENT #0 r295345: Sat Feb 6 08:40:13 UTC 2016 r...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.7.1 (tags/RELEASE_371/final 255217) 20151225 WARNING: WITNESS option enabled, expect reduced performance. PPIM 0: PA=0xa, VA=0x8261, size=0x1, mode=0 VT(vga): resolution 640x480 Preloaded elf kernel "/boot/kernel/kernel" at 0x8242b000. Preloaded /boot/entropy "/boot/entropy" at 0x8242be48. Preloaded elf obj module "/boot/kernel/zfs.ko" at 0x8242be98. Preloaded elf obj module "/boot/kernel/opensolaris.ko" at 0x8242c680. Calibrating TSC clock ... TSC clock: 3192150826 Hz CPU: Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz (3192.15-MHz K8-class CPU) Origin="GenuineIntel" Id=0x506e3 Family=0x6 Model=0x5e Stepping=3 Features=0xbfebfbffFeatures2=0x7ffafbff AMD Features=0x2c100800 AMD Features2=0x121 Structured Extended Features=0x29c6fbb XSAVE Features=0xf VT-x: Basic Features=0xda0400 Pin-Based Controls=0x7f Primary Processor Controls=0xfff9fffe Secondary Processor Controls=0x1f7cff Exit Controls=0xda0400 Entry Controls=0xda0400 EPT Features=0x6334141 VPID Features=0xf01 TSC: P-state invariant, performance statistics Data TLB: 1 GByte pages, 4-way set associative, 4 entries Data TLB: 4 KB pages, 4-way set associative, 64 entries Instruction TLB: 2M/4M pages, fully associative, 8 entries Instruction TLB: 4KByte pages, 8-way set associative, 128 entries 64-Byte prefetching Shared 2nd-Level TLB: 4 KByte /2 MByte pages, 6-way associative, 1536 entries. Also 1GBbyte pages, 4-way, 16 entries L2 cache: 256 kbytes, 8-way associative, 64 bytes/line real memory = 17179869184 (16384 MB) Physical memory chunk(s): 0x0001 - 0x00098fff, 561152 bytes (137 pages) 0x0010 - 0x001f, 1048576 bytes (256 pages) 0x0247 - 0xb8951fff, 3058573312 bytes (746722 pages) 0xb897d000 - 0xb8a21fff, 675840 bytes (165 pages) 0xb90a3000 - 0xbdb1bfff, 78090240 bytes (19065 pages) 0xb000 - 0xbfff, 4096 bytes (1 pages) 0x0001 - 0x00041f619fff, 13411393536 bytes (3274266 pages) avail memory = 16442499072 (15680 MB) Table 'FACP' at 0xbf24f4b8 Table 'APIC' at 0xbf24f5c8 Table 'FPDT' at 0xbf24f650 Table 'FIDT' at 0xbf24f698 Table 'MCFG' at 0xbf24f738 Table 'HPET' at 0xbf24f778 Table 'SSDT' at 0xbf24f7b0 Table 'LPIT' at 0xbf24fb20 Table 'SSDT' at 0xbf24fbb8 Table 'SSDT' at 0xbf24fe00 Table 'SSDT' at 0xbf2529b0 Table 'DBGP' at 0xbf2536a8 Table 'DBG2' at 0xbf2536e0 Table 'SSDT' at 0xbf253738 Table 'SSDT' at 0xbf253e40 Table 'UEFI' at 0xbf259130 Table 'SSDT' at 0xbf259178 Table 'ASF!' at 0xbf25a0d0 Table 'DMAR' at 0xbf25a028 DMAR: Found table at 0xbf25a028 x2APIC available but disabled by DMAR table Event timer "LAPIC" quality 600 ACPI APIC Table: INTR: Adding local APIC 2 as a target INTR: Adding local APIC 4 as a target INTR: Adding local APIC 6 as a target FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 cpu2 (AP): APIC ID: 4 cpu3 (AP): APIC ID: 6 APIC: CPU 0 has
Re: UEFI & ZFS
On 12/02/2016 20:36, Thomas Laus wrote: I have a new Asus H170-Plus-D3 motherboard that will be used for a DOM0 Xen Server. It uses an Intel i5-6300 processor and a Samsung 840 EVO SSD. I would like to use ZFS on this new installation. The Xen Kernel does not have UEFI support at this time, so I installed FreeBSD CURRENT r295345 in 'legacy mode'. It takes about 7 minutes to go from the first '|' character to getting the 'beastie' menu. I changed the BIOS to UEFI and did another installation. The boot process goes in an instant. Several others have the same problem. See here on the freebsd forums: http://tinyurl.com/z9oldkc That is my exact problem. It takes 4 minutes to get a complete 'beastie' menu and 7 minutes 34 seconds to login. What sort of timings do you see if its a UFS install? Regards Steve ___ 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"
UEFI & ZFS
> I have a new Asus H170-Plus-D3 motherboard that will be used for a DOM0 Xen > Server. It uses an Intel i5-6300 processor and a Samsung 840 EVO SSD. I > would like to use ZFS on this new installation. The Xen Kernel does not > have UEFI support at this time, so I installed FreeBSD CURRENT r295345 in > 'legacy mode'. It takes about 7 minutes to go from the first '|' character > to getting the 'beastie' menu. I changed the BIOS to UEFI and did another > installation. The boot process goes in an instant. Several others have the same problem. See here on the freebsd forums: http://tinyurl.com/z9oldkc That is my exact problem. It takes 4 minutes to get a complete 'beastie' menu and 7 minutes 34 seconds to login. Tom -- Public Keys: PGP KeyID = 0x5F22FDC1 GnuPG KeyID = 0x620836CF ___ 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"