每秒读取内存页的次数 Windows Server 2012 R2

Microsoft.Windows.Server.2012.R2.OperatingSystem.MemoryPageReadsPerSec.Collection (Rule)

收集性能计数器 Memory\Page Reads/Sec。

Knowledge Base article:

摘要

此规则收集 Memory\Page Reads/sec 性能计数器的性能数据。

Physical Disk\Pages Reads/sec 性能计数器显示为解决强制分页错误而读取磁盘的速率。 它显示读取操作的数目,不考虑在每个操作中搜索的页数。 如果进程调用虚拟内存中不在工作集内或物理内存的某处的页面,而从磁盘中检索此页面,将发生硬页面错误。 此计数器是导致系统范围延迟的错误种类的主要指示器。 它包括用于解决文件系统缓存(通常由应用程序请求)和非缓存映射内存文件中的错误的读取操作。 对比 Memory\Pages Reads/sec 的值与 Memory\Pages Input/sec 的值以确定每次操作期间读取的平均页面数。

Element properties:

TargetMicrosoft.Windows.Server.2012.R2.OperatingSystem
CategoryPerformanceCollection
EnabledFalse
Instance NameMemory
Counter NamePage Reads/sec
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.2012.R2.OperatingSystem.MemoryPageReadsPerSec.Collection" Enabled="false" Target="Server2012R2!Microsoft.Windows.Server.2012.R2.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>Page Reads/sec</CounterName>
<ObjectName>Memory</ObjectName>
<InstanceName/>
<AllInstances>false</AllInstances>
<Frequency>300</Frequency>
<Tolerance>250</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>