逻辑处理器 DPC 时间百分比(Windows Server 2016 及更高版本)

Microsoft.Windows.Server.10.0.LogicalProcessor.PercentDPCTime.Collection (Rule)

收集 Processor\\% DPC Time 性能计数器

Knowledge Base article:

摘要

此规则为逻辑处理器的 Processor\% DPC Time 性能计数器收集性能数据。

Processor\% DPC Time 性能计数器显示在采样间隔期间逻辑处理器用于接收和服务延迟的过程调用(DPC)的时间百分比。DPC 是运行优先级低于标准中断的中断。DPC 时间百分比是特权时间百分比的组成部分,因为 DPC 在特权模式下执行。可对它们进行单独计数,并且它们不是中断计数器的组成部分。此计数器以采样时间的百分比的形式显示平均忙时间。

Element properties:

TargetMicrosoft.Windows.Server.10.0.LogicalProcessor
CategoryPerformanceCollection
EnabledFalse
Instance NameProcessor
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.LogicalProcessor.PercentDPCTime.Collection" Enabled="false" Target="ServervNext!Microsoft.Windows.Server.10.0.LogicalProcessor">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="PerformanceDS" TypeID="SystemPerf!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>% DPC Time</CounterName>
<ObjectName>Processor</ObjectName>
<InstanceName>$Target/Property[Type="ServervNext!Microsoft.Windows.Server.10.0.LogicalProcessor"]/PerfmonInstance$</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>