Windows PowerShell 命令 RSS 和 vRSSWindows PowerShell Commands for RSS and vRSS

適用於:Windows Server(以每年次管道)、Windows Server 2016Applies To: Windows Server (Semi-Annual Channel), Windows Server 2016

您可以使用此主題快速找出 Windows PowerShell 命令收到側邊縮放比例 (RSS) 和 virtual RSS (vRSS) 技術參考資訊。You can use this topic to quickly locate technical reference information about Windows PowerShell commands for Receive Side Scaling (RSS) and virtual RSS (vRSS).

注意

您可以使用下列命令 RSS 設定 RSS 具有多處理器或多個核心所在的電腦上。You can use the following RSS commands to configure RSS on a physical computer that has multiple processors or multiple cores. 您可以設定 vRSS 上一樣使用相同的命令 (VM) 執行支援的作業系統。You can use the same commands to configure vRSS on a virtual machine (VM) that is running a supported operating system.

下列 RSS 和 vRSS 設定命令的網路介面卡 Cmdlet Windows PowerShell 中的一部分。The following RSS and vRSS configuration commands are part of the Network Adapter Cmdlets in Windows PowerShell. 如需詳細資訊,請查看[Windows PowerShell 中的 網路介面卡 CmdletFor more information, see Network Adapter Cmdlets in Windows PowerShell.

設定 VMQConfigure VMQ

vRSS 需要 VMQ 是功能,並設定。vRSS requires that VMQ is enabled and configured. 您可以使用下列的 Windows PowerShell 命令管理 VMQ 設定。You can use the following Windows PowerShell commands to manage VMQ settings.

讓上並設定 RSS 原生主機Enable and configure RSS on a native host

下列 PowerShell 命令可讓您設定 RSS 原生主機上。The following PowerShell commands allow you to configure RSS on a native host. 這些命令的參數部分也可能會影響一樣佇列 (VMQ) HYPER-V 主機。Some of the parameters of these commands might also affect Virtual Machine Queue (VMQ) in the Hyper-V host. 您可以使用下列命令來管理 RSS VM 或主機 virtual NIC (vNIC)。You can use these commands to manage RSS in a VM or on a host virtual NIC (vNIC).

重要

讓 RSS VM 或主機但 vNIC 是讓及使用 vRSS 的必要條件。Enabling RSS in a VM or on a host vNIC is a prerequisite for enabling and using vRSS.

讓 vRSS Hyper\ HYPER-V Virtual 切換連接埠Enable vRSS on the Hyper-V Virtual Switch port

讓 RSS,在 VM 中的,除了 vRSS 需要您,讓 vRSS Hyper\ HYPER-V Virtual 切換連接埠。In addition to enabling RSS in the VM, vRSS requires that you enable vRSS on the Hyper-V Virtual Switch port. 判斷 vRSS 出現的設定,以讓或 vm 停用此功能,您可以使用下列的 Windows PowerShell 命令。To determine the present settings for vRSS and to enable or disable the feature for a VM, you can use the following Windows PowerShell commands.

Get-VMNetworkAdapter <vm-name> | fl
Set-VMNetworkAdapter <vm-name> -VrssEnabled [$True|$False]

讓或停用 vRSS 主機但 vNIC 上Enable or disable vRSS on a host vNIC

若要判斷有 vRSS,設定,來讓或停用主機但 vNIC 的功能,您可以使用下列的 Windows PowerShell 命令。To determine the present settings for vRSS, and to enable or disable the feature for a host vNIC, you can use the following Windows PowerShell commands.

Get-VMNetworkAdapter -ManagementOS | fl
Set-VMNetworkAdapter -ManagementOS -VrssEnabled [$True|$False]

如需詳細資訊,請參考下列主題。For more information, see the following reference topics.

如需詳細資訊,請查看Virtual 收到側邊縮放比例 (vRSS)For more information, see Virtual Receive Side Scaling (vRSS).