Slow Boot Times
|
2017-03-24, 22:19
(This post was last modified: 2017-03-24 22:20 by altsysrq.)
Post: #1
|
|||
|
|||
Slow Boot Times
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. |
|||
2017-03-25, 00:00
Post: #2
|
|||
|
|||
RE: Slow Boot Times
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. Use GitHub Discussions VRAM bin |
|||
2017-03-27, 14:50
Post: #3
|
|||
|
|||
RE: Slow Boot Times
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. |
|||
2017-03-27, 15:06
Post: #4
|
|||
|
|||
RE: Slow Boot Times
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? Use GitHub Discussions VRAM bin |
|||
2017-03-27, 16:01
Post: #5
|
|||
|
|||
RE: Slow Boot Times
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. |
|||
2017-03-27, 19:12
Post: #6
|
|||
|
|||
RE: Slow Boot Times
Thanks for the info, and happy you found the issue, as I understand you where missing dhcp in script or manually?
Use GitHub Discussions VRAM bin |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)