iPXE discussion forum
Slow ipxe.efi startup - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Slow ipxe.efi startup (/showthread.php?tid=7770)



Slow ipxe.efi startup - stichnot - 2015-07-15 16:36

I have an ECS Liva which only supports UEFI booting. I am building and installing bin-x86_64-efi/ipxe.efi, and the "initialising devices..." step takes 20+ seconds to complete. I'd like to improve that.

lspci reports the following network hardware:

Code:
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)

Using snp.efi or snponly.efi is much faster, but then dhcp fails, presumably because it thinks the MAC address is 01:01:01:01:...

I added a printf() inside the startup() loop in init.c. This printf is invoked 4 times (not sure how to get the name of the startup functions being called). The third startup function is the one that takes 20 seconds.

I tried several DEBUG options based on other posts here, up to the following:

Code:
DEBUG=efi_driver,efi_pci,snp,snpnet,snponly,efi_init,realtek,netdevice

but still nothing is printed during this 20 second period.

Any ideas on how to speed this up, or diagnose where the 20 seconds is being spent?


RE: Slow ipxe.efi startup - robinsmidsrod - 2016-10-07 09:44

I think you should take this question to the developer mailing-list or IRC. It seems like a driver or UEFI platform issue.