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

FOG TFTP Slow over VLANs

Scheduled Pinned Locked Moved
General Problems
3
7
919
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.
  • X
    xardoniak
    last edited by xardoniak Sep 19, 2019, 12:32 AM Sep 19, 2019, 5:59 AM

    Hi all,
    Just wanting to confirm I haven’t configured something incorrectly inside of FOG.
    I have FOG installed on an Ubuntu 18 server VM, on my Server VLAN. When booting my Ubuntu 18 ISO to another VM on the same VLAN, same host, it copies at anywhere from 105MB/s to 150MB/s per the FOG dashboard
    When booting the same ISO on a different VLAN, the dashboard shows 3MB/s stable, with the occasional jump to 7MB/s - significantly slower!
    I’ve checked SMB crossing VLANs and the speed caps out at 100MB/s, though this is 2 different machines (my gaming PC and Synology NAS)

    My firewall is a Sophos XG, I have tried
    -Disabling Traffic Shaping - no change (only enabled for WAN)
    -Rebooting the Firewall - no change

    Here is my network diagram

    Not to sure what to check next, just wanting to confirm that there isn’t a cap’d speed in FOG somewhere or if I need to enable something for better performance over subnets.

    Edit: I am not apposed to adding NICs to the VM as a work around - might end up doing this…

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sep 19, 2019, 6:39 AM

      @xardoniak FOG is not limiting the speed I reckon. What I can imagine is this being caused not by the different VLANs but by iPXE drivers. Have you tested with the exact same make, model und firmware version of host in the different VLANs yet?

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • X
        xardoniak
        last edited by Sep 19, 2019, 6:42 AM

        Hi mate,
        This is my testing method
        FOG is on host “Jarvis”, on Server VLAN

        1. Create new VM on Jarvis, with server VLAN
        2. Boot Ubuntu ISO, 100+MB/s
        3. Cancel install, shut down VM
        4. Change VM NIC to Trusted VLAN (not touching the driver)
        5. Boot Ubuntu ISO, 3MB/s

        Thanks for the help!

        G 1 Reply Last reply Sep 19, 2019, 11:49 AM Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sep 19, 2019, 6:45 AM

          @xardoniak Well, would have been a valuable information that this is happening in a VM environment. What hypervisor do you use???

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • G
            george1421 Moderator @xardoniak
            last edited by Sep 19, 2019, 11:49 AM

            @xardoniak I would kind of suspect the router between the server vlan and trusted vlan or the vm host’s network interface.

            The other thing to consider is that when you have 2 vms on the same vlan in the same esxi box, the data flowing between the two never leave the esxi virtualized environment. The vSwitch on the esxi box just redirects the traffic between the two VMs, so that data never really “hits the wire”. Where when you go between the vlans the data leaves the esxi box, hits your vlan router and then goes back into esxi box.

            Another thought is how are you booting the ubuntu iso image? Are you using memdisk or my tutorial on booting your favorite OS with FOG? The communications protocol being used will have an impact on cross vlan speeds. FOG can use tftp, http, nfs to transfer the files to the target computer. How do you have this setup?

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            X 1 Reply Last reply Sep 19, 2019, 10:17 PM Reply Quote 0
            • X
              xardoniak @george1421
              last edited by Sep 19, 2019, 10:17 PM

              @george1421 I followed the Favorite OS guide and when booting to the ISO, it states tftp://10.0.70.10/os/ubuntu etc etc
              I was thinking the same but the Firewall / Router is a VM on the same ESXi host. I don’t have these speed issues over SMB though.

              G 1 Reply Last reply Sep 19, 2019, 11:02 PM Reply Quote 0
              • G
                george1421 Moderator @xardoniak
                last edited by Sep 19, 2019, 11:02 PM

                @xardoniak Well to start breaking this down, do you have a physical computer on the same subnet you can test with?

                Really we have 2 timings to consider. The first is the transfer of the linux kernel and initfs via tftp, then you have the kernel startup to end that timing. Once the kernel is up and running it uses nfs to connect to the FOG server to load the squashfs that has the actual OS image. Once the nfs bit happens that starts the second timing. tftp is the slowest of the protocols but that is only used to get vmlinz and initrd over to the target computer, the rest is done by nfs.

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

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

                205

                Online

                12.1k

                Users

                17.3k

                Topics

                155.3k

                Posts
                Copyright © 2012-2024 FOG Project