Windows 10: Maximum I/O rates for attached HDD's on VMs - HYPER V or VMWARE

Discus and support Maximum I/O rates for attached HDD's on VMs - HYPER V or VMWARE in Windows 10 Virtualization to solve the problem; Hi there I seem to have problems accessing FAST I/O times from Attached HDD's to a VM which is on the same LOCAL machine as the HOST. I have a... Discussion in 'Windows 10 Virtualization' started by jimbo45, Sep 29, 2016.

  1. jimbo45 Win User

    Maximum I/O rates for attached HDD's on VMs - HYPER V or VMWARE


    Hi there

    I seem to have problems accessing FAST I/O times from Attached HDD's to a VM which is on the same LOCAL machine as the HOST.

    I have a couple of FAST USB 3 devices which can transfer I/O decently fast.
    These are attached to a LINUX VM as "RAW" devices from a Windows Host -- File system is XFS and these are attached as complete disks.

    When sharing these with Windows - have to do it via SAMBA I can only get data transfer via the real Nic card which on a laptop will give a max rate of about 11 MB/s (11 megaBYTES / sec). -

    Is there a way of getting the data to use the internal virtual NIC (which should be 1000 or 1GB/s). It shouldn't have to go via a wireless card for LOCAL data transfer !!!!.

    Problem seems the same whether I use VMWARE or run the VM as a HYPER V machine.

    HOST is Windows 10, VM is a Linux Guest. The attached USB HDD's work flat out even writing to or copying from an NTFS formatted external SSD attached to the VM - but when using Windows the rate drops to around 11 MB/s. !!!! as it's obviously using my LAN for transfer and using Wifi !!!!. I know it's using wifi as I can see the router going Bonkers with flashing lights for data transfer.

    I must be doing something really stupid here but can't fathom out what.

    Cheers
    jimbo

    :)
     
    jimbo45, Sep 29, 2016
    #1
  2. BulldogXX Win User

    Hyper V

    Hyper-V is either installed or not installed. It cannot be disabled.

    After I was done experimenting with Hyper-V I deleted my VM and uninstalled Hyper-V. Poof, gone.

    Hyper-V worked fine for me, but I still prefer VMWare. Hyper-V works best with Ethernet; it's trickier with WiFi.
     
    BulldogXX, Sep 29, 2016
    #2
  3. Schism082 Win User
    No Internet in Hyper-V VM's

    Hi, I have Windows 10 Enterprise and just added Hyper-V. I had 3 VM's on VMware Player and deleted and uninstalled Player. I have 3 Vm's on Hyper-V. My problem is I get no Internet on my Vm's. I am new to Hyper-V and would like to know how to connect these
    to the internet. I have "Virtual switch (automatic)" selected. They show no connections available in the VM's. How do I connect to the internet? (I'm on wifi.) I'm attaching a screenshot. Thanks


    Maximum I/O rates for attached HDD's on VMs - HYPER V or VMWARE [​IMG]
     
    Schism082, Sep 29, 2016
    #3
  4. cereberus Win User

    Maximum I/O rates for attached HDD's on VMs - HYPER V or VMWARE

    Well I just tried transferring a file from a 2nd hard drive on host to c drive in hyper-v guest and only got around 9 MB/s.
     
    cereberus, Sep 30, 2016
    #4
  5. jimbo45 Win User
    Hi there

    It's also going through some sort of physical NIC card -- what should happen on local connections is that the I/O should go through a "Virtual NIC" which could treat the HDD's as locally attached devices -- for example a decent SSD attached to the machine via a SATA-->USB3 connector should be able to write a file to a LOCAL SSD (internal) at around 250 MB/s .

    Perhaps our resident specialist @Kari has some suggestions here.

    @Kari -- any ideas on getting full rate (or at least a decent rate) of I/O from a VM shared with a Windows HOST machine - i.e both HOST and VM on same machine - Host is HYPER V. My HOST has 2 physical NICS so perhaps from another machine on the LAN it would need to use a NIC but for the LOCAL machine it wouldn't need to use a physical NIC -- "Virtual switches or something".

    I capture sometimes a whole slew of programs (1080p) from SKY Q - and want to copy these to a NAS server which I've replicated as a VM before building a physical stand alone one. The capture device only runs on Windows so copying 40 or 50 GB at 11MB/s is a pain.

    (I can speed it up by copying first to a USB3 attached SSD and then attaching that to the VM, mounting it and copy the files but it seems a long winded way to go about this --we used to call this type of Network "Footnet" since it involved physically moving a device from one machine to another !!).

    Cheers
    jimbo
     
    jimbo45, Sep 30, 2016
    #5
  6. Kari Win User
    An easy way to increase transfer speed between a physical device and a Hyper-V virtual machine is to disable Virtual Machine Queue (VMQ) on your Hyper-V virtual switch. This can easily be done using PowerShell:

    Code: Set-VMNetworkAdapter –ManagementOS -Name "Name of your External Switch" -VmqWeight 0[/quote]

    Maximum I/O rates for attached HDD's on VMs - HYPER V or VMWARE [​IMG]


    You should notice an immediate increase in transfer speed as soon as you have disabled VMQ. I get transfer speeds between 60 and 80 MBps from an external USB3 disk connected to host to a VM on my laptops old 5400 RPM spinner. Not even close to USB3 max speeds but enough for me.

    Another factor is VHD / VHDX disk type; transfer speeds are better using fixed size virtual disks on virtual machines than with dynamically expanding disks.

    Although I have to admit I don't like this site in general, I have bookmarked this particular guide because it is a pretty comprehensive guide to understand Hyper-V vm speed bottlenecks: Troubleshooting Slow VM Performance in Hyper-V (Part 1)
     
  7. jimbo45 Win User
    Maximum I/O rates for attached HDD's on VMs - HYPER V or VMWARE [​IMG]


    You should notice an immediate increase in transfer speed as soon as you have disabled VMQ. I get transfer speeds between 60 and 80 MBps from an external USB3 disk connected to host to a VM on my laptops old 5400 RPM spinner. Not even close to USB3 max speeds but enough for me.

    Another factor is VHD / VHDX disk type; transfer speeds are better using fixed size virtual disks on virtual machines than with dynamically expanding disks.

    Although I have to admit I don't like this site in general, I have bookmarked this particular guide because it is a pretty comprehensive guide to understand Hyper-V vm speed bottlenecks: Troubleshooting Slow VM Performance in Hyper-V (Part 1)

    Kari[/quote] Hi there

    That did the trick

    No wonder they call you the resident expert on this.

    Just going into a Bar to watch Hull City vs Chelsea -- a goal fest for Chelsea I predict -- I think more people OUTSIDE the UK watch Premier League footie than in the UK -- besides in the UK you can't get the 15.00 (BST) games on Saturdays --no probs here.

    Thanks again

    Cheers
    jimbo
     
    jimbo45, Sep 30, 2016
    #7
  8. cereberus Win User

    Maximum I/O rates for attached HDD's on VMs - HYPER V or VMWARE

    You can in my local pub!
     
    cereberus, Sep 30, 2016
    #8
  9. Kari Win User
    Makes me just wonder why VMQ is enabled by default, I disable it always after setting up Hyper-V and creating virtual switches.
     
  10. cereberus Win User
    I used this and for some reason things are worse!

    How do I reverse the powershell command?
     
    cereberus, Oct 1, 2016
    #10
  11. Kari Win User
    By changing the VmqWeight value to 100%:

    Code: Set-VMNetworkAdapter –ManagementOS -Name "Name of your External Switch" -VmqWeight 100[/quote]
    Notice: the PowerShell command enables or disables VMQ on the external switch, for all virtual machines using it overriding individual vm settings. If you have it globally enabled (value 100), you can then toggle VMQ on / off individually on each vm in settings:


    Maximum I/O rates for attached HDD's on VMs - HYPER V or VMWARE [​IMG]
     
  12. cereberus Win User
    Notice: the PowerShell command enables or disables VMQ on the external switch, for all virtual machines using it overriding individual vm settings. If you have it globally enabled (value 100), you can then toggle VMQ on / off individually on each vm in settings:

    Maximum I/O rates for attached HDD's on VMs - HYPER V or VMWARE [​IMG]


    Kari[/quote] Yet again - many thanks.
     
    cereberus, Apr 5, 2018
    #12
Thema:

Maximum I/O rates for attached HDD's on VMs - HYPER V or VMWARE

Loading...
  1. Maximum I/O rates for attached HDD's on VMs - HYPER V or VMWARE - Similar Threads - Maximum rates attached

  2. Not able to run VMs on Hyper-V

    in Windows 10 Customization
    Not able to run VMs on Hyper-V: See image for errorVirtualisation is enabled in UEFI. WSL2 gives error 0x80370102. https://answers.microsoft.com/en-us/windows/forum/all/not-able-to-run-vms-on-hyper-v/f66a80ff-0862-46c6-884d-3ca09d196882
  3. Not able to run VMs on Hyper-V

    in Windows 10 Software and Apps
    Not able to run VMs on Hyper-V: See image for errorVirtualisation is enabled in UEFI. WSL2 gives error 0x80370102. https://answers.microsoft.com/en-us/windows/forum/all/not-able-to-run-vms-on-hyper-v/f66a80ff-0862-46c6-884d-3ca09d196882
  4. How to attach additional data hdd into hyper v

    in Windows 10 Gaming
    How to attach additional data hdd into hyper v: Dear All,I have two hdd's with me, one is having operating system and another one having 100gb data. I can able to attach os hdd and vm up and running without any issues but here's the issues is am not able to attach data hdd directly. If i add from scsi it is showing in disk...
  5. How to attach additional data hdd into hyper v

    in Windows 10 Software and Apps
    How to attach additional data hdd into hyper v: Dear All,I have two hdd's with me, one is having operating system and another one having 100gb data. I can able to attach os hdd and vm up and running without any issues but here's the issues is am not able to attach data hdd directly. If i add from scsi it is showing in disk...
  6. Hyper-V forgets my VMs

    in Windows 10 Virtualization
    Hyper-V forgets my VMs: Ok on build 16288, but happened on earlier builds - when I reboot my laptop, Hyper-V keeps forgetting my VMs saying I have noinstalled. Only takes a couple of minutes to restore them but a PITA. I am going to try and unistall Hyper-V and reinstall to see if that fixes...
  7. Identifying VMs in Hyper-V

    in Windows 10 Virtualization
    Identifying VMs in Hyper-V: Hi does anybody know how to tell what Hyper-V VM is connected to which /vhdx file ? It is all a bit of a mess now. I am guessing the only valid ones are the large datafiles? cheers [img] 84958
  8. VMware with only Hyper-V Manager

    in Windows 10 Virtualization
    VMware with only Hyper-V Manager: When you have Hyper-V fully installed on a Windows 10 machine, a Standard User can only access Hyper-V via a server connection. This gave me an idea. I was wondering if you could install only Hyper-V Management Tools on the host system and still be able to run VMware. In...
  9. HYPER-V advantage over VMWARE when using physical HDD's

    in Windows 10 Virtualization
    HYPER-V advantage over VMWARE when using physical HDD's: Hi there one HUGE advantage using HYPER-V over VMWARE is that HYPER-V can use physical disks directly (provided they are attached in the VM as SCSI - @Kari - thanks for sorting that out for me !!). This means you don't need to recover / reformat anything as the HDD's can...
  10. Hyper V or VMWare?

    in Windows 10 Virtualization
    Hyper V or VMWare?: While not an expert, I am fairly familiar with VMWare. I know very little about Hyper V, but have watched @Kari videos about it. I know VMWare is easier to set up and there are some features easier to use in VMWare. What I am asking is what are the advantages/disadvantages...