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

Uploading an image from Hyper-V is extremely slow

Scheduled Pinned Locked Moved Solved
General
9
16
8.1k
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.
  • ?
    A Former User @george1421
    last edited by Mar 21, 2016, 4:08 AM

    I’ll check all this when I get back to work tomorrow.

    I will say just a few things now:

    1. The performance of the VM is gorgeous until I use FOG. I usually get really good performance in the VM when it’s loaded with Windows 7 or Windows 10.

    2. One weird thing that I noticed is that the reason the upload seems slow is that it sits on a group of blocks for long periods of time. It’ll upload a bunch of blocks, and then it’ll just sit for like 5 seconds and upload absolutely nothing. It does this throughout the upload. So it seems to have bursts of activity and then nothing, over and over.

    3. From what I can remember the upload speed was about 600 MB/min most of the time. The compression on the image was set to 6.

    4. If I use the exact same FOG settings on the exact same same hardware (but on the physical hardware instead of a VM in Hyper-V), I can usually get about 8 GB/min upload speed.

    I’ll try to get more specifics tomorrow if I get a chance.

    C A R 3 Replies Last reply Mar 21, 2016, 8:13 AM Reply Quote 0
    • C
      ch3i Moderator @A Former User
      last edited by Mar 21, 2016, 8:13 AM

      @loosus456 Hi, the 600MB/min looks like a FastEthernet speed, not a Giga.

      G ? 2 Replies Last reply Mar 21, 2016, 10:12 AM Reply Quote 1
      • G
        george1421 Moderator @ch3i
        last edited by george1421 Mar 21, 2016, 4:13 AM Mar 21, 2016, 10:12 AM

        @ch3i said:

        @loosus456 Hi, the 600MB/min looks like a FastEthernet speed, not a Giga.

        I agree with ch3i’s conclusion. 600MB/min translates to 10MB/s which is just below 100Mhz (fast) ethernet’s theoretical max of 12.5MB/s.

        If this was a GbE network, I might expect slightly less than 125MB/s or (7GB/min) transfer rates. As you noted with physical hardware I would expect between 4-6GB/m download rate with less depending on the hardware and compression ratio on the upload side.

        I would be sure to update FOG first then check your network path for a 100Mhz links.

        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
        • A
          Andy Abplanalp Developer @A Former User
          last edited by Mar 21, 2016, 12:55 PM

          @loosus456 does this server have Broadcom NICs in it by chance? If so, you can look into disabling Virtual Machine Queues.

          0_1458564913149_vmq.png

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User @ch3i
            last edited by Mar 22, 2016, 8:46 PM

            Haven’t had a chance to look at everything just yet, but the version of FOG is 6321.

            In regards to it being FastEthernet: it sometimes bursts as high as gig does, which is what makes me believe there is an issue.

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Mar 26, 2016, 6:40 PM

              @loosus456 Any news on this? Did you have time to look into all the suggestions and try things out?

              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
              • R
                rdw @A Former User
                last edited by Jul 1, 2016, 11:35 PM

                @loosus456 Any resolution? Exact same symptoms here. Thanks.

                W 1 Reply Last reply Jul 1, 2016, 11:44 PM Reply Quote 0
                • W
                  Wayne Workman @rdw
                  last edited by Jul 1, 2016, 11:44 PM

                  @rdw I remember that there is a specific linux kernel argument for Hyper-V. I would guess that this would really help out - definitely wouldn’t hurt anything. I’ll see if I can find it…

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • W
                    Wayne Workman
                    last edited by Jul 1, 2016, 11:54 PM

                    https://technet.microsoft.com/en-us/library/dn720239.aspx

                    Since FOS (fog operating system) is linux, all that stuff could apply potentiall.

                    There is a kernel argument though. I have to get on a actual computer to find it…

                    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!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • S
                      sudburr
                      last edited by sudburr Jul 4, 2016, 11:26 AM Jul 4, 2016, 4:28 PM

                      If it is Hyper-V 2012 R2 and you are running a Generation 1 VM which uses the Legacy Network Adapter for PXE booting then 100 Mb is all you will get as the Legacy Network Adapter is only a 100 Mb NIC.

                      Having said that, some kernels in the past have on occasion switched to the 1Gb NIC for uploading … including right now. I just rolled back to 4.1.4 from 4.6.2 and I’m getting Gb.

                      [ Standing in between extinction in the cold and explosive radiating growth ]

                      1 Reply Last reply Reply Quote 0
                      • W
                        Wayne Workman
                        last edited by Jul 13, 2016, 3:26 AM

                        I know it’s been a while, but I just came across this: http://www.funtoo.org/HyperV_Kernel_Configuration

                        These are the Hyper-V kernel arguments listed on that page, just so they aren’t lost in the depths of the internet:

                        HyperV Kernel Configuration

                        For a Hyper-V generation 2 system, you’ll need certain options enabled in the Kernel in this order because latter options aren’t available until earlier options are enabled:

                            CONFIG_HYPERVISOR_GUEST: Processor type and featueres > Linux Guest Support
                            CONFIG_PARAVIRT: Processor type and features > Linux Guest Support > Enable paravirtualization code
                            CONFIG_PARAVIRT_SPINLOCKS: Processor type and features > Linux Guest Support > Paravirtualization layer for spinlocks
                            CONFIG_HYPERV: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V client drivers
                            CONFIG_HYPERV_UTILS: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V Utilities driver
                            CONFIG_HYPERV_BALLOON: Device Drivers > Microsoft Hyper-V guest support > Microsoft Hyper-V Balloon driver
                            CONFIG_HYPERV_NET: Device Drivers > Network device support > Microsoft Hyper-V virtual network driver
                            CONFIG_HYPERV_STORAGE: Device Drivers > SCSI device support > SCSI low-level drivers > Microsoft Hyper-V virtual storage driver
                            CONFIG_HYPERV_KEYBOARD: Device Drivers > Input device support > Hardware I/O ports > Microsoft Synthetic Keyboard driver
                            CONFIG_FB_HYPERV: Device Drivers > Graphics support > Frame buffer Devices > Microsoft Hyper-V Synthetic Video support
                            CONFIG_HID_HYPERV_MOUSE: Device Drivers > HID support > Special HID drivers > Microsoft Hyper-V mouse driver
                        

                        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!
                        Daily Clean Installation Results:
                        https://fogtesting.fogproject.us/
                        FOG Reporting:
                        https://fog-external-reporting-results.fogproject.us/

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by Jul 13, 2016, 1:17 PM

                          @Wayne-Workman This is what we have in the current config:

                          grep -e HYPERV -e PARAVIRT TomElliott.config.asc 
                          CONFIG_HYPERVISOR_GUEST=y
                          CONFIG_PARAVIRT=y
                          # CONFIG_PARAVIRT_DEBUG is not set
                          # CONFIG_PARAVIRT_SPINLOCKS is not set
                          # CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
                          # CONFIG_PCI_HYPERV is not set
                          # CONFIG_SYS_HYPERVISOR is not set
                          CONFIG_HYPERV_STORAGE=y
                          CONFIG_HYPERV_NET=y
                          CONFIG_HYPERV_KEYBOARD=y
                          CONFIG_FB_HYPERV=y
                          # CONFIG_HID_HYPERV_MOUSE is not set
                          CONFIG_HYPERV=y
                          CONFIG_HYPERV_BALLOON=y
                          

                          Are you keen to compare those and let us know if we should any option.

                          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
                          • Scott AdamsS
                            Scott Adams
                            last edited by Aug 26, 2016, 6:07 PM

                            Any update on this? I have just started universal imaging using Hyper-V, which is working great. However, the upload speed from VM to FOG-server is slow. Currently uploading now, and am getting >300MB/min

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

                            152

                            Online

                            12.1k

                            Users

                            17.3k

                            Topics

                            155.4k

                            Posts
                            Copyright © 2012-2024 FOG Project