Intel® Ethernet 700/800 Series

Windows Performance Tuning Guide

ID Date Version Classification
784543 02/06/2024 1.1 Public
Document Table of Contents

​Method 1 – PowerShell

# Get all the VMs on the Hyper-V host $VMs = Get-VM # Loop through each VM foreach ($VM in $VMs) { # Get the number of vCPUs assigned to the VM $vCPUs = $VM.CPUCount # Get the number of RSS queues for the VM $RSSQueues = $VM.VirtualMachineSubnet $RSSQueuesCount = $RSSQueues | Measure-Object | Select-Object -ExpandProperty Count # Compare the number of vCPUs with the number of RSS queues if ($vCPUs -lt ($RSSQueuesCount * 2)) { Write-Host "VM $($VM.Name) does not have at least twice as many vCPUs as RSS queues." # You can perform additional actions here, such as adjusting the vCPUs or notifying an administrator. } else { Write-Host "VM $($VM.Name) meets the requirement." } }