To add the counter for FreeSys PTEs to the Performance tool, follow these steps:
- Click Start, click Run,
type perfmon.msc in the Open box, and then click
OK.
- On the toolbar, click Add.
- In the Add Counters dialog box, select
Memory in the Performance object combo box,
select Free System Page Table Entries in the Select
counters from list, and then click
Add.
This counter is used to monitor the available FreeSys PTEs on the computer.
Following is a sample
!vm output. The sample was obtained from a computer that was running Windows Server 2003 without SP1. The sample was obtained by using
LiveKd.
0: kd> !vm 1
*** Virtual Memory Usage ***
Physical Memory: 511884 ( 2047536 Kb)
Page File: \??\C:\pagefile.sys
Current: 2095104Kb Free Space: 2069916Kb
Minimum: 2095104Kb Maximum: 4190208Kb
Available Pages: 330298 ( 1321192 Kb)
ResAvail Pages: 423600 ( 1694400 Kb)
Locked IO Pages: 140 ( 560 Kb)
Free System PTEs: 205080 ( 820320 Kb) <<--------- Here is the correct number that Perfmon should report.
Free NP PTEs: 32765 ( 131060 Kb)
Free Special NP: 0 ( 0 Kb)
Modified Pages: 118 ( 472 Kb)
Modified PF Pages: 118 ( 472 Kb)
NonPagedPool Usage: 4691 ( 18764 Kb)
NonPagedPool Max: 65536 ( 262144 Kb)
PagedPool 0 Usage: 10135 ( 40540 Kb)
PagedPool 1 Usage: 787 ( 3148 Kb)
PagedPool 2 Usage: 757 ( 3028 Kb)
PagedPool 3 Usage: 778 ( 3112 Kb)
PagedPool 4 Usage: 760 ( 3040 Kb)
PagedPool Usage: 13217 ( 52868 Kb)
PagedPool Maximum: 68608 ( 274432 Kb)
Shared Commit: 16508 ( 66032 Kb)
Special Pool: 0 ( 0 Kb)
Shared Process: 13486 ( 53944 Kb)
PagedPool Commit: 13230 ( 52920 Kb)
Driver Commit: 1651 ( 6604 Kb)
Committed pages: 177988 ( 711952 Kb)
Commit limit: 998454 ( 3993816 Kb)
0: kd> !sysptes
System PTE Information
Total System Ptes 226271
SysPtes list of size 1 has 171 free
SysPtes list of size 2 has 53 free
SysPtes list of size 4 has 125 free
SysPtes list of size 8 has 29 free
SysPtes list of size 16 has 29 free
starting PTE: c03c7000
ending PTE: c03def78
free blocks: 14 total free: 3352 <<------- Here is the incorrect, lower number that Perfmon reported.
largest free block: 1219
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, regarding the performance or reliability of these products.