Virtual 收到縮放比例 (vRSS) 側邊Virtual Receive Side Scaling (vRSS)

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

您可以使用 Virtual 收到側邊縮放比例 (vRSS) 進行負載平衡連入網路流量跨多個邏輯處理器核心,在 VM 中的或多個實體的核心主機 virtual 網路介面卡 (vNIC) 的 virtual 網路介面卡。You can use Virtual Receive Side Scaling (vRSS) to configure a virtual network adapter to load balance incoming network traffic across multiple logical processor cores in a VM or multiple physical cores for a host virtual Network Interface Card (vNIC).

這項設定的跨多個處理器 virtual 一樣散發 virtual 網路介面卡讓載入 (VM),讓 VM 處理多個網路流量變邏輯單一處理器它可以更快速。This configuration allows the load from a virtual network adapter to be distributed across multiple virtual processors in a virtual machine (VM), allowing the VM to process more network traffic more rapidly than it can with a single logical processor.

您可以使用 vRSS Vm 中的多核心處理器有多個處理器、 單一 Hyper\ HYPER-V 主機上或多個多核心處理器安裝和使用 VM 設定。You can use vRSS in VMs on Hyper-V hosts that have multiple processors, a single multiple core processor, or more than one multiple core processors installed and configured for VM use.

vRSS 適用於所有其他 Hyper\ HYPER-V 網路技術。vRSS is compatible with all other Hyper-V networking technologies. vRSS 是一樣佇列 (VMQ) Hyper\ HYPER-V 主機和 RSS VM 或主機但 vNIC 而定。vRSS is dependent on Virtual Machine Queue (VMQ) in the Hyper-V host and RSS in the VM or on the host vNIC.

然而,您可以使用 Windows PowerShell 命令來停用 vRSS,在 VM 中的,vRSS 是根據預設,支援。vRSS is enabled by default, however you can disable vRSS in a VM by using Windows PowerShell commands. 如需詳細資訊,請查看主題管理 vRSSWindows PowerShell 命令 RSS 和 vRSSFor more information, see the topics Manage vRSS and Windows PowerShell Commands for RSS and vRSS.

作業系統相容性Operating System Compatibility

您可以使用任何多處理器或核心電腦-或任何多處理器或多核心 VM-是執行 Windows Server 2016 上的 vRSS RSS。You can use RSS on any multiprocessor or multicore computer - or vRSS on any multiprocessor or multicore VM - that is running Windows Server 2016.

多處理器或 Vm 執行 Microsoft 下列作業系統中的多核心也支援 vRSS。Multiprocessor or multicore VMs that are running the following Microsoft operating systems also support vRSS.

  • Windows Server 2016Windows Server 2016
  • Windows 10 專業版或企業版Windows 10 Pro or Enterprise
  • Windows Server 2012 R2Windows Server 2012 R2
  • Windows 8.1 專業版或企業版Windows 8.1 Pro or Enterprise
  • Windows Server 2012 的 Windows Server 2012 R2 整合元件安裝。Windows Server 2012 with the Windows Server 2012 R2 integration components installed.
  • Windows 8 的 Windows Server 2012 R2 整合元件安裝。Windows 8 with the Windows Server 2012 R2 integration components installed.

適用於執行 FreeBSD 或 Linux 客體作業系統為 HYPER-V Vm vRSS 支援的相關資訊,請查看適用於 windows HYPER-V 支援 Linux 和 FreeBSD 虛擬機器For information about vRSS support for VMs running FreeBSD or Linux as a guest operating system on Hyper-V, see Supported Linux and FreeBSD virtual machines for Hyper-V on Windows.

硬體需求Hardware requirements

以下是 vRSS 的硬體需求。Following are the hardware requirements for vRSS.

  • 實體網路介面卡必須支援 (VMQ) 一樣佇列。Physical network adapters must support Virtual Machine Queue (VMQ). 如果 VMQ 已停用或不支援,然後 vRSS 已停用 Hyper\ HYPER-V 主機和所有 Vm 的主機上的設定。If VMQ is disabled or is not supported, then vRSS is disabled for the Hyper-V host and for any VMs that are configured on the host.
  • 網路介面卡必須 10 Gbps 連結速度或更多。Network adapters must have a link speed of 10 Gbps or more.
  • 具有多處理器或至少一個 multi\ 核心處理器使用 vRSS 必須設定 Hyper\ HYPER-V 主機。Hyper-V hosts must be configured with multiple processors or at least one multi-core processor to use vRSS.
  • 使用兩個或更多邏輯處理器必須設定 (VMs) 虛擬的電腦。Virtual machines (VMs) must be configured to use two or more logical processors.

使用案例Use Case Scenarios

下列兩個用途的案例描繪常見處理器負載平衡和軟體負載平衡 vRSS 的使用方式。The following two use case scenarios depict common usage of vRSS for processor load balancing and software load balancing.

處理器負載平衡Processor load balancing

Anthony 是設定新的兩個網路介面卡的支援單一根-輸出模擬 (SR-IOV) HYPER-V 主機的網路系統管理員。Anthony is a network administrator that is setting up a new Hyper-V host with two network adapters that support Single Root Input-Output Virtualization (SR-IOV). 他部署至主機 VM 檔案伺服器的 Windows Server 2016。He deploys Windows Server 2016 to host a VM file server.

硬體和軟體的安裝之後,Anthony 設定使用 8 virtual 處理器 VM 和 4096 MB 的記憶體。After the hardware and software are installed, Anthony configures a VM to use 8 virtual processors and 4096 MB of memory.

很抱歉,Anthony 不需要打開 SR-IOV 因為他 Vm 依賴原則執法透過他建立與 Windows Server 2016 中的 [Hyper\ HYPER-V Virtual 切換管理員 virtual 切換的選項。Unfortunately, Anthony does not have the option of turning on SR-IOV because his VMs rely on policy enforcement through the virtual switch he created with Hyper-V Virtual Switch manager in Windows Server 2016. 因此,Anthony 決定而不是 SR-IOV 使用 vRSS。Because of this, Anthony decides to use vRSS instead of SR-IOV.

一開始 Anthony 指派 4 virtual 處理器,可供使用的 vRSS 使用 Windows PowerShell。Initially, Anthony assigns 4 virtual processors by using Windows PowerShell to be available for use with vRSS.

一個星期了之後, 將檔案伺服器的是非常受歡迎的並 Anthony 檢查 VM 效能。After a week, the use of the file server is extremely popular, and Anthony checks the VM performance. 他探索會完全發揮所有四個 virtual 處理器。He discovers that all four virtual processors are fully utilized.

因此,Anthony 決定新增 vRSS vm 使用處理器。Because of this, Anthony decides to add processors to the VM for use by vRSS. Anthony 變更 VM 的處理器計數、,並將有兩個更多 virtual 處理器指派給 VM,它們會自動 vRSS 可協助您處理大型網路負載行車建議等。Anthony changes the VM's processor count, and assigns two more virtual processors to the VM, knowing they will automatically be available to vRSS to help handle the large network load. 他努力地處理網路流量的六個處理器的造成 VM 檔案伺服器、 更好的效能。His efforts result in better performance for the VM file server, with the six processors easily handling the network traffic load.

軟體負載平衡Software load balancing

吳、 網路系統管理員設定單一高效能 VM 她系統的其中一個做為軟體負載平衡器專為。Sandra, a network administrator, is setting up a single high performance VM on one of her systems for the sole purpose of acting as a software load balancer. 她已指派所有可用的邏輯處理器這個單一 vm。She has assigned all available logical processors to this single VM.

讓她可以用來在 VM 中的多個邏輯處理器處理平行網路流量的 vRSS 吳剛剛安裝 Windows Server 2016。Sandra has just installed Windows Server 2016 so that she can use vRSS to get parallel network traffic processing on multiple logical processors in the VM.

VRSS 在 Windows Server 2016 中的預設功能,因為吳不會有任何設定變更取得變得更好的效能。Because vRSS is enabled by default in Windows Server 2016, Sandra doesn’t have to make any configuration changes to get great performance.

本指南其他主題Other topics in this guide

下列主題也會提供。The following topics are also available.