共用方式為


RSS 的標準化 INF 關鍵詞

RSS 介面支持 標準化的 INF 關鍵詞,這些關鍵詞 會出現在登錄中,並指定於 INF 檔案中。

下列清單顯示 RSS 的列舉 標準化 INF 關鍵詞

*RSS
啟用或停用迷你埠配接器的 RSS 支援。

*RSSProfile
處理器選取和負載平衡配置檔。

Note: Changes to the *RSSProfile setting require an adapter restart.

Note: If *RSSProfile is set to NdisRssProfileBalanced, you can't configure advanced keywords such as *RssBaseProcNumber, *RssBaseProcGroup, *RssMaxProcNumber, *RssMaxProcGroup, or *NumaNodeId. You can configure *MaxRssProcessors and *NumRSSQueues.

NDIS 6.30 added support for *RSSProfile.

列舉標準化 INF 關鍵詞具有下列屬性:

SubkeyName
您必須在 INF 檔案中指定且出現在登錄中的關鍵字名稱。

ParamDesc
與 SubkeyName 相關聯的顯示文字。

Value
與清單中每個選項相關聯的列舉整數值。 This value is stored in NDI\params\ SubkeyName\Value. EnumDesc
與功能表中顯示的每個值相關聯的顯示文字。

Default
功能表的預設值。

下表描述 RSS 列舉關鍵詞的可能 INF 專案。

SubkeyName ParamDesc Value EnumDesc
*RSS 接收端調整 0 Disabled
1 (Default) Enabled
*RSSProfile RSS 負載平衡配置檔 1 ClosestProcessor: Default behavior is consistent with that of Windows Server 2008 R2.
2 ClosestProcessorStatic: No dynamic load-balancing - Distribute but don't load-balance at runtime.
3 NUMAScaling: Assign RSS CPUs in a round robin basis across every NUMA node to enable applications that are running on NUMA servers to scale well.
4 (Default) NUMAScalingStatic: RSS processor selection is the same as for NUMA scalability without dynamic load-balancing.
5 ConservativeScaling: RSS uses as few processors as possible to sustain the load. 此選項有助於減少中斷次數。
6 (異質 CPU 系統上的預設值) NdisRssProfileBalanced: RSS processor selection is based on traffic workload. Only available in NetAdapterCx, starting in WDK preview version 25197.

下列清單顯示 可編輯之 RSS 的標準化 INF 關鍵字

*RssBaseProcGroup
The number of the processor group for the processor number that is specified in the *RssBaseProcNumber keyword.

*NumaNodeId
用於網路適配器記憶體配置的慣用NUMA節點。 此外,操作系統會先嘗試針對 RSS 使用慣用 NUMA 節點中的 CPU。

PCI 擴充卡的驅動程式不應該在其 INF 中以靜態方式指定 NUMA 節點識別碼,因為最接近的節點取決於卡片插入的 PCI 插槽。 Only specify *NumaNodeId if the network adapter is integrated into the system, the NUMA node is known in advance, and the node cannot be determined at runtime by querying ACPI.

Note: If this keyword is present and its value is less than the number of NUMA nodes in the computer, NDIS uses this value in the PreferredNumaNode member in the NDIS_RSS_PROCESSOR_INFO structure.

Note: In Windows 8 the *NumaNodeId value is ignored if the NIC RSS profile is set to NUMAScaling(2) or NUMAScalingStatic(3).

*RssBaseProcNumber
指定群組中基底 RSS 處理器的數目。

*MaxRssProcessors
RSS 處理器的最大數目。

*RssMaxProcNumber
RSS 介面的最大處理器數目。 If *RssMaxProcNumber is specified, then *RssMaxProcGroup should also be specified.

*NumRSSQueues
RSS 佇列的數目。

*RssMaxProcGroup The maximum processor group of the RSS interface.

*RssBaseProcGroup together with *RssBaseProcNumber form a PROCESSOR_NUMBER structure that identifies the smallest processor number that can be used with RSS. *RssMaxProcGroup together with *RssMaxProcNumber form a PROCESSOR_NUMBER structure that identifies the maximum processor number that can be used with RSS.

For example, suppose *RssBaseProcGroup is set to 1, *RssBaseProcNumber is set to 16, *RssMaxProcGroup is set to 3, and *RssMaxProcNumber is set to 8. 使用 <group>:<processor> 表示法時,基底處理器為 1:16,最大處理器為 3:8。 然後處理器 0:0、0:32、1:0 和 1:15 將不會被視為 RSS 的候選項目,因為它們低於基底處理器編號。 處理器 1:16、1:31、2:0、2:63、3:0 和 3:8 都會被視為 RSS 的候選項目,因為它們落在 1:16 到 3:8 的範圍內。 處理器 3:9、3:31 和 4:0 不會被視為 RSS 的候選專案,因為它們超出處理器數目上限。

NDIS 6.20 added support for the *RssBaseProcGroup, *NumaNodeId, *RssBaseProcNumber, and *MaxRssProcessors keywords.

NDIS 6.30 added support for the *RssMaxProcNumber, and *NumRSSQueues keywords.

可編輯的標準化 INF 關鍵詞 具有下列屬性:

SubkeyName
您必須在 INF 檔案中指定且出現在登錄中的關鍵字名稱。

ParamDesc
與 SubkeyName 相關聯的顯示文字。

類型
可以編輯的值類型。 此值可以是數值 (Int) 或可編輯的文字 (Edit)。

Default value
整數或文字的預設值。 <定義的> IHV 表示值與特定獨立硬體廠商 (IHV) 需求相關聯。

Min
整數允許的最小值。 <定義的> IHV 表示最小值與特定的 IHV 需求相關聯。

Max
整數允許的最大值。 <定義的> IHV 表示最小值與特定的 IHV 需求相關聯。

下表描述所有可編輯的 RSS 關鍵詞。

SubkeyName ParamDesc 類型 Default value Min Max
*RssBaseProcGroup RSS 基底處理器群組 Int 0 0 MAXIMUM_GROUPS-1
*NumaNodeId 慣用 NUMA 節點 Int 65535 (任何節點) 0 系統特定 - 不能超過 65535
*RssBaseProcNumber RSS 基底處理器編號 Int 0 0 MAXIMUM_PROC_PER_GROUP-1
*MaxRssProcessors RSS 處理器數目上限 Int 16 1 MAXIMUM_PROC_PER_SYSTEM
*RssMaxProcNumber RSS 處理器數目上限 Int MAXIMUM_PROC_PER_GROUP-1 (Default) 0 MAXIMUM_PROC_PER_GROUP-1
*NumRSSQueues RSS 佇列數目上限 Int 16 1 Device-specific
*RSSMaxProcGroup RSS 最大處理器群組 Int 0 0 MAXIMUM_GROUPS-1

Note: Although the valid range for *RssBaseProcGroup is zero to MAXIMUM_GROUPS-1, in Windows 7 it must be zero. 否則,TCP/IP 通訊協定不會針對 RSS 使用任何處理器。

Note: The default value for *NumaNodeId (65535) means the network adapter is agnostic to NUMA node, and NDIS should not attempt to prefer any node over another. If the *NumaNodeId keyword is not present, then NDIS automatically selects the closest node based on hints from ACPI.

Note: The max value for *MaxRssProcessors may be set to the maximum number of processors that the NIC can support. NDIS 會自動將此值上限為目前系統上的最大處理器數目。

如需標準化 INF 關鍵詞的詳細資訊,請參閱 網路裝置的標準化 INF 關鍵詞。