處理器 DPC 時間百分比總計: Windows Server 2016 及更新版本

Microsoft.Windows.Server.10.0.OperatingSystem.TotalPercentDPCTime.Collection (Rule)

收集效能計數器 Processor\\% DPC Time

Knowledge Base article:

摘要

此規則會收集 Processor\% DPC Time 效能計數器的效能資料。

Processor\% DPC Time 效能計數器會顯示取樣間隔期間,處理器花費在接收與處理延遲程序呼叫 (DPC) 的時間百分比。DPC 是一種插斷,其執行優先順序比標準插斷低。% DPC Time 是 % Privileged Time 的元件,因為 DPC 在特殊權限模式中執行。這些 DPC 為另外計數,且不屬於插斷計數器的元件。此計數器會以百分比顯示取樣時間的平均忙碌時間。

Element properties:

TargetMicrosoft.Windows.Server.10.0.OperatingSystem
CategoryPerformanceCollection
EnabledFalse
Instance NameProcessor Information
Counter Name\% DPC Time
Frequency300
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
PerformanceDS DataSource System.Performance.OptimizedDataProvider Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.Server.10.0.OperatingSystem.TotalPercentDPCTime.Collection" Enabled="false" Target="ServervNext!Microsoft.Windows.Server.10.0.OperatingSystem">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>% DPC Time</CounterName>
<ObjectName>Processor Information</ObjectName>
<InstanceName>_Total</InstanceName>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>10</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>12</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>