What is Virtual Machine Multiple Queues (VMMQ)?

Experience Level: Senior
Tags: Azure CloudAzure Virtual Machines

Answer

Virtual Machine Multiple Queues (VMMQ) is a NIC offload technology that extends Native RSS (RSSv1) to a Hyper-V virtual environment.

VMMQ provides scalable network traffic processing for virtual ports (VPorts) in the parent partition of a virtualized node. A VPort represents an internal port on the NIC switch of a network adapter that supports single root I/O virtualization (SR-IOV). Previously, RSS processing was not available for VPorts. VMMQ extends the native RSS feature to VPorts that are associated with the physical function (PF) of a NIC, including the default VPort.

VMMQ works by efficiently distributing network traffic within the NIC hardware. You can assign multiple hardware queues from the NIC to a single PF VPort. The NIC distributes network traffic across these queues using RSS hashing, placing packets directly onto the assigned processor. Offloading traffic distribution to the NIC improves CPU performance because the software doesn't have to complete this task.

You may want to enable the VMMQ feature to reduce the host CPU consumption and enable higher throughput to the virtual system by spreading the CPU load across multiple processors. You can add VMMQ support to new or existing NDIS 6.60 and later drivers. If an adapter supports VMMQ, the driver is vendor-supplied, and the OS is Windows Server 2019, then VMMQ is enabled by default. If the adapter doesn’t support VMMQ, the driver is system-supplied, or the OS is Windows Server 2016, then VMMQ is disabled by default or not available. If the OS is earlier than Windows Server 2016 then VMMQ is not available.
Related Azure Cloud job interview questions

Comments

No Comments Yet.
Be the first to tell us what you think.
Azure Virtual Machines
Azure Virtual Machines

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself
AZ-304 Microsoft Azure Architect Design Preparation
AZ-304 Microsoft Azure Architect Design Preparation

Are you learning Azure Cloud ? Try our test we designed to help you progress faster.

Test yourself