Slow Boot Times - 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 Boot Times (/showthread.php?tid=8816) |
Slow Boot Times - altsysrq - 2017-03-24 22:19 When booting using tftp or http it seems to be slow to load our vmlinuz file. It takes over 30 minutes for a 5.9M file. I am working with a test environment using the following configuration: dhcpd.conf Code: option domain-name-servers 8.8.8.8, 8.8.4.4; script.ipxe Note that http:// was also tried. Code: #!ipxe compile-it.sh Code: #!/bin/bash The config/general.h has had no changes from the cloned repository. Any thoughts or assistance is appreciated. RE: Slow Boot Times - NiKiZe - 2017-03-25 00:00 When exactly is it slow? (you have both undionly.kpxe and ipxe.efi which one is used) is this on one or multiple machines and what kind of machine(s) ? what does ifstat show also what does imgstat show if that is put before your boot line. The example script is tftp - let's use http instead for all tests. RE: Slow Boot Times - altsysrq - 2017-03-27 14:50 Thank you for your assistance. With tftp: Code: root@fepxe0:/home/feadmin# ifstat With http: Code: root@fepxe0:~/ipxe/src# ifstat Connection eventually times out when using http. I am looking on where to increase the keepalive value, but I doubt that is the cause of my problem after looking at the suggested ifstat results. I receive the same results if I put imgstat in place before the boot command. I am guessing the reason for this is because the slowness is occuring while loading the kernel. I am investigating still, but appreciate more suggestions. RE: Slow Boot Times - NiKiZe - 2017-03-27 15:06 ifstat in ipxe from cmd line : http://ipxe.org/cmd/ifstat output from imgstat in ipxe so we can see the size of files do you get normal speeds when OS is booted on the machine? And again, is this one or multiple machines? RE: Slow Boot Times - altsysrq - 2017-03-27 16:01 NiKiZe, Thank you for your time. This was a misconfiguration that I have forgotten from previous installations. When I compiled ping in I was able to determine that pinging the server did not work. Using 'dhcp' was able to bring up an IP and then I was able to ping the server. I remembered that needed to be in the script.ipxe file. When I put that in, everything worked. I am sorry. This was not a speed issue at all. It just never loaded. I should have specified this to you. TFTP will by design wait forever. Http will time out. These are also details/symptoms I could have pointed out that may have been beneficial for you. I was in a rush to troubleshoot and get as much information as I could down. Just not the right information. For that I apologize. RE: Slow Boot Times - NiKiZe - 2017-03-27 19:12 Thanks for the info, and happy you found the issue, as I understand you where missing dhcp in script or manually? |