啟用虛擬網路介面卡上的 vRSSEnable vRSS on a Virtual Network Adapter

適用於:Windows Server (半年通道)、Windows Server 2016Applies to: Windows Server (Semi-Annual Channel), Windows Server 2016

虛擬 RSS (vRSS) 需要虛擬機器佇列 (VMQ) 支援從實體介面卡。Virtual RSS (vRSS) requires Virtual Machine Queue (VMQ) support from the physical adapter. 如果 VMQ 已停用或不支援然後虛擬接收端調整已停用。If VMQ is disabled or is not supported then Virtual Receive-side scaling is disabled.

如需詳細資訊,請參閱計劃 vRSS 使用For more information, see Plan the Use of vRSS.

啟用 VM 上 vRSSEnable vRSS on a VM

若要使用 Windows PowerShell 或裝置管理員啟用 vRSS 使用下列程序。Use the following procedures to enable vRSS by using either Windows PowerShell or Device Manager.

  • [裝置管理員]Device Manager
  • Windows PowerShellWindows PowerShell

[裝置管理員]Device Manager

若要啟用 vRSS 使用 [裝置管理員,您可以使用此程序。You can use this procedure to enable vRSS by using Device Manager.

注意

此程序的第一個步驟是針對執行 Windows 10 或 Windows Server 2016 的 Vm。The first step in this procedure is specific to VMs that are running Windows 10 or Windows Server 2016. 如果您的 VM 執行不同的作業系統,您可以藉由第一次開啟 [控制台],然後尋找並開啟裝置管理員 ] 來開啟裝置管理員 ]。If your VM is running a different operating system, you can open Device Manager by first opening Control Panel, then locating and opening Device Manager.

  1. VM 在工作列上,在這裡要搜尋的類型中,輸入裝置On the VM taskbar, in Type here to search, type device.

  2. 在搜尋結果中,按一下 [裝置管理員 ]In the search results, click Device Manager.

  3. 在 [裝置管理員] 中,按一下以展開網路介面卡In Device Manager, click to expand Network adapters.

  4. 以滑鼠右鍵按一下您想要設定的網路介面卡,然後按一下 [屬性Right-click the network adapter you want to configure, and then click Properties.

    網路介面卡的 [屬性] 對話方塊隨即開啟。The network adapter Properties dialog box opens.

  5. 在網路介面卡的屬性,按一下 [進階] 索引標籤。In network adapter Properties, click the Advanced tab.

  6. 屬性中,向下捲動到,並按一下 [接收端調整In Property, scroll down to and click Receive-side scaling.

  7. 請確定的值中選取項目已啟用Ensure that the selection in Value is Enabled.

  8. 按一下 [確定]Click OK.

注意

進階] 索引標籤中,某些網路介面卡也會顯示與介面卡支援的 RSS 佇列數目。On the Advanced tab, some network adapters also display the number of RSS queues that are supported by the adapter.


Windows PowerShellWindows PowerShell

若要使用 Windows PowerShell 來啟用 vRSS 使用下列程序。Use the following procedure to enable vRSS by using Windows PowerShell.

  1. 在虛擬機器,開啟Windows PowerShellOn the virtual machine, open Windows PowerShell.

  2. 輸入下列命令,以確保您取代的AdapterName-名稱參數搭配您想要設定,然後按 enter 鍵的網路介面卡的名稱。Type the following command, ensuring that you replace the AdapterName value for the -Name parameter with the name of the network adapter that you want to configure, and then press ENTER.

    Enable-NetAdapterRSS -Name "AdapterName"
    

    提示

    或者,您可以使用下列命令來啟用 vRSS。Alternately, you can use the following command to enable vRSS.

    Set-NetAdapterRSS -Name "AdapterName" -Enabled $True  
    

如需詳細資訊,請參閱RSS 」 和 「 vRSS 的 Windows PowerShell 命令For more information, see Windows PowerShell Commands for RSS and vRSS.