設定服務 (QoS) 品質承租人 VM 網路介面卡Configure Quality of Service (QoS) for a Tenant VM Network Adapter

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

當您設定 QoS 承租人 VM 網路介面卡時,您可以選擇資料中心橋接 \ (DCB) 或軟體所定義網路 (SDN) QoS。When you configure QoS for a tenant VM network adapter, you have a choice between Data Center Bridging (DCB)or Software Defined Networking (SDN) QoS.

  1. DCBDCB. 您可以使用 Windows PowerShell NetQoS cmdlet 設定 DCB。You can configure DCB by using the Windows PowerShell NetQoS cmdlets. 範例看到「讓資料中心橋接「主題中的區段遠端直接記憶體存取 (RDMA) 和切換 Embedded 小組(設定)For an example see the section “Enable Data Center Bridging” in the topic Remote Direct Memory Access (RDMA) and Switch Embedded Teaming (SET).

  2. SDN QoSSDN QoS. 您可以使用 Network Controller,可以設定限制以防止高流量 VM 封鎖其他使用者介面 virtual 上的頻寬,來讓 SDN QoS。You can enable SDN QoS by using Network Controller, which can be set to limit bandwidth on a virtual interface to prevent a high-traffic VM from blocking other users. 您也可以設定 SDN QoS 預約特定的頻寬,來確保 VM 的網路流量無論無障礙 VM 的間距。You can also configure SDN QoS to reserve a specific amount of bandwidth for a VM to ensure that the VM is accessible regardless of the amount of network traffic.

所有 SDN Qos 設定的都套用透過連接埠設定,如下表的網路介面屬性。All SDN Qos Settings are applied through the Port Settings of the Network Interface properties according to the following table.

項目名稱Element name 描述Description
macSpoofingmacSpoofing 指定 Vm 是否可以變更來源媒體存取控制 (MAC) 中的位址輸出封包未指派給 VM 的 MAC 位址。Specifies whether VMs can change the source media access control (MAC) address in outgoing packets to a MAC address that is not assigned to the VM. 允許的值」功能的「\(允許使用不同的 MAC address\ VM)和「停用「\(允許使用僅限指派給 it\ 的 MAC 位址 VM)。Allowed values are "enabled" (allowing the VM to use a different MAC address) and "disabled" (allowing the VM to use only the MAC address assigned to it).
arpGuardarpGuard 指定 ARP guard 是否已支援。Specifies whether ARP guard is enabled. ARP guard 可透過連接埠傳遞 ArpFilter 中指定的地址。ARP guard allows only addresses that are specified in ArpFilter to pass through the port. 」功能的「或者」已停用 [允許的值。Allowed values are "enabled" or "disabled".
dhcpGuarddhcpGuard 指定要放 DHCP 訊息會 DHCP 伺服器宣告 VM 的。Specifies whether to drop DHCP messages from a VM that claims to be a DHCP server. 允許的值是」功能的「,,會捨棄 DHCP 訊息因為模擬的 DHCP 伺服器被視為不受信任,或「已停用「,可模擬的 DHCP 伺服器會被視為可靠,因為接收的訊息。Allowed values are "enabled", which drops DHCP messages because the virtualized DHCP server is considered untrusted, or "disabled", which allows the message to be received because the virtualized DHCP server is considered to be trustworthy.
stormLimitstormLimit 指定的秒允許透過指定 virtual 網路介面卡,將 VM 廣播、多點,並未知單封包。Specifies the number of broadcast, multicast, and unknown unicast packets per second that a VM is allowed to send through the specified virtual network adapter. 會卸除超過限制該一個第二個間隔期間廣播、多點,並未知單封包。Broadcast, multicast, and unknown unicast packets beyond the limit during that one second interval are dropped. 值零 (0) 表示無限制。A value of zero (0) means there is no limit.
portFlowLimitportFlowLimit 指定流程連接埠,可執行的最大。Specifies the maximum number of flows that can be executed for the port. 值空白或零 (0) 表示無限制。A value of blank or zero (0) means there is no limit.
vmqWeightvmqWeight 指定是否一樣佇列 (VMQ) virtual 網路介面卡的支援。Specifies whether virtual machine queue (VMQ) is enabled on the virtual network adapter. 相對減重描述 virtual 網路介面卡用於 VMQ 相關性。The relative weight describes the affinity of the virtual network adapter to use VMQ. 值的範圍是 0 到 100。The range of value is 0 through 100. 指定要停用 virtual 網路介面卡上的 VMQ 0。Specify 0 to disable VMQ on the virtual network adapter.
iovWeightiovWeight 指定單一根 I/O 模擬 (SR-IOV) 是否支援這 virtual 網路介面卡上。Specifies whether single-root I/O virtualization (SR-IOV) is enabled on this virtual network adapter. 相對減重設定 virtual 網路介面卡相關性指派 SR-IOV virtual 函式。The relative weight sets the affinity of the virtual network adapter to the assigned SR-IOV virtual function. 值的範圍是 0 到 100。The range of the value is 0 through 100. 指定要停用 virtual 網路介面卡上的 SR-IOV 0。Specify 0 to disable SR-IOV on the virtual network adapter.
iovInterruptModerationiovInterruptModeration 指定單一根 I/O 模擬 (SR-IOV) virtual 函式指派給 virtual 網路介面卡的中斷仲裁值。Specifies the interrupt moderation value for a single-root I/O virtualization (SR-IOV) virtual function assigned to a virtual network adapter. 允許的值為」預設」、「自動調整]、[關閉],」低」、「中] 和 [高]。Allowed values are "default", "adaptive", "off", "low", "medium", and "high". 選擇預設,如果是由實體網路介面卡廠商設定判斷的值。If Default is chosen, the value is determined by the physical network adapter vendor's setting. 如果選擇彈性,中斷仲裁速率根據執行階段流量模式。If Adaptive is chosen, the interrupt moderation rate is based on the runtime traffic pattern.
iovQueuePairsRequestediovQueuePairsRequested 指定的硬體佇列配對 SR-IOV virtual 函式的配置。Specifies the number of hardware queue pairs to be allocated to an SR-IOV virtual function. 如果需要,接收端的縮放比例 (RSS) 與繫結至 virtual 切換實體網路介面卡上 SR IOV virtual 支援 RSS 是必要的功能,再高於一個佇列配對。If receive-side scaling (RSS) is required, and if the physical network adapter that binds to the virtual switch supports RSS on SR-IOV virtual functions, then more than one queue pair is required. 允許的值範圍是 1 到 4294967295。Allowed values range from 1 to 4294967295.
QosSettingsQosSettings 您可以設定下列 Qos 設定,都是選擇性:You can configure the following Qos Settings,all of which are optional:

outboundReservedValue:outboundReservedValue:
如果 outboundReservedMode」絕對」值表示的頻寬,以 Mbps,保證 virtual 的連接埠,傳輸(輸出)。If outboundReservedMode is "absolute" then the value indicates the bandwidth, in Mbps, guaranteed to the virtual port for transmission (egress). 如果 outboundReservedMode > 重量「值表示保證頻寬加權的部分。If outboundReservedMode is "weight" then the value indicates the weighted portion of the bandwidth guaranteed.

outboundMaximumMbps:outboundMaximumMbps:
表示最多允許傳送端的頻寬,在 Mbps,virtual 連接埠(輸出)。Indicates the maximum permitted send-side bandwidth, in Mbps, for the virtual port (egress).

InboundMaximumMbps:InboundMaximumMbps:
最多允許接收端頻寬 virtual 連接埠(輸入)Mbps 中的指示。Indicates the maximum permitted receive-side bandwidth for the virtual port (ingress) in Mbps.