• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    PXE Boot Very Slow

    Scheduled Pinned Locked Moved
    Linux Problems
    2
    15
    12.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      chad-bisd Moderator
      last edited by

      Tftpboot is used for the transfer during pxe boot. One packet out at a time


      If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

      1 Reply Last reply Reply Quote 0
      • P
        pjcard
        last edited by

        So it’s meant to be limited to around 1mbps?

        1 Reply Last reply Reply Quote 0
        • C
          chad-bisd Moderator
          last edited by

          Pxe is designed around tftp and tftp is designed to be simple. Look into gpxe maybe.


          If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

          1 Reply Last reply Reply Quote 0
          • P
            pjcard
            last edited by

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • P
              pjcard
              last edited by

              I don’t think tftp is my main issue, this video ([media=youtube]KYp-XVPxg3I[/media]) shows at 7:30 someone downloading a 8mb iso in 2 seconds, that’s far faster than I’m managing.

              1 Reply Last reply Reply Quote 0
              • C
                chad-bisd Moderator
                last edited by

                At this point it’s syslinux loading vesamenu.c32 loading the default menu loading your custom options. Fog isn’t even involved at this point.


                If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                1 Reply Last reply Reply Quote 0
                • P
                  pjcard
                  last edited by

                  I know, that’s why I posted in the Linux Problems thread rather than the Fog one. I can’t find a community for pxe booting itself.

                  1 Reply Last reply Reply Quote 0
                  • P
                    pjcard
                    last edited by

                    [quote=“chad-bisd, post: 8737, member: 18”]At this point it’s syslinux loading vesamenu.c32 loading the default menu loading your custom options. Fog isn’t even involved at this point.[/quote]

                    Actually I’ve just re-read what you’ve written and that’s not correct. It’s loading delldiags.iso, using memdisk, just as I am and it’s doing it a lot faster than I’m able to. Are there settings for tftp that I need to tweak? Could there be an issue with memdisk?

                    1 Reply Last reply Reply Quote 0
                    • C
                      chad-bisd Moderator
                      last edited by

                      Google it. I think memtest tries to load the entire file into memory before it start execution, causing slowness on larger files. I encourage you to keep researching and let us know what you find.


                      If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                      1 Reply Last reply Reply Quote 0
                      • P
                        pjcard
                        last edited by

                        Yes, it does load the complete iso into memory. As my iso’s are around 60-150MB this should be fine if the transfer were running even at my measly 100mbps network speed, but unfortunately it’s only managing ~10mbps (~1MB/s). I think as you suggest tftp is probably the limiting factor here. I will report back if I achieve any speed gains.

                        1 Reply Last reply Reply Quote 0
                        • P
                          pjcard
                          last edited by

                          OK, so I managed to almost solve the issue twice.

                          1/ Chainloaded iPXE from pxelinux.0, was able to access iPXE commandline and perform commands but it was unstable

                          2/ replaced pxelinux.0 with gpxelinux.0 (and the associated vesamenu.32 and memdisk files). This actually allowed me to transfer via http wich reduced my time from around 1 minute to around 1 second. The (acronis) ISO even booted, but it got to the part where it changes the screen mode to display some graphics, and crashed. My config for this was:

                          LABEL Acronis HTTP
                          kernel [url]http://192.168.1.1/pxeserver/memdisk[/url]
                          initrd [url]http://192.168.1.1/pxeserver/acronis.iso[/url]
                          append iso

                          😞

                          1 Reply Last reply Reply Quote 0
                          • P
                            pjcard
                            last edited by

                            Well, by crashed I mean rebooted.

                            1 Reply Last reply Reply Quote 0
                            • P
                              pjcard
                              last edited by

                              So, in the end I stuck with gpxelinux.0, I found that acronis still boots on most machines - and things like Hirens and Spinrite boot on practically all machines. For those machines that don’t boot, sometimes booting off a CD created with [url]http://rom-o-matic.net/[/url] works. So in any case, I now have the speed I was after with sufficent stability for it to be useful - not as stable as pxelinux.0, but just about enough.

                              1 Reply Last reply Reply Quote 0
                              • P
                                pjcard
                                last edited by

                                One odd thing with gpxelinux.0: tftp actually seems to be slower - so with it it’s http or nothing as far as I can see.

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post

                                229

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project