The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error





Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Slow ipxe.efi startup
2015-07-15, 16:36
Post: #1
Slow ipxe.efi startup
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?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Slow ipxe.efi startup - stichnot - 2015-07-15 16:36



User(s) browsing this thread: 1 Guest(s)