Q: How do I control which virtual machines use Virtual Machine Device Queues with Hyper-V?

A: Native Hyper-V lets you control which virtual machines (VMs) use Virtual Machine Device Queues (VMDq) by modifying the VMQOffloadWeight attribute of the associated switch port for the virtual NIC on the VM. A setting of 0 disables VMDq for the VM.

A better way to control this is to use System Center Virtual Machine Manager (SCVMM). By default, it actually turns off VMDq for virtual machines created.

To control it, open the properties of a VM, navigate to Hardware Configuration and the network adapter. Then clear the check box for Enable virtual network optimizations to disable VMDq (if it’s available), or select the check box to enable VMDq. (See the screen shot below.)

vmdqenablescvmm
vmdqenablescvmm-Copy

Note that if you have more VMs enabled for VMDq than are actually supported on the network devices, then the first VMs to start will be allocated a VMDq up to the maximum available.

The rest of the VMs will share the default queue for the virtual switch.

Get more answers at John Savill's FAQs for Windows.

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish