Beruflich Dokumente
Kultur Dokumente
Performance Monitoring
Context Switches/sec INT instructions which trap to Ring 0 Kernel mode from Ring 3
count as context switches in Intel architecture. Unfortunately, context
switches which flush Processor cache TLBs due to reloading the TSS
cannot be counted separately.
Memory Available Bytes Process Working Set growth becomes constrained when Available
Bytes < 4 MB (approximately); the system is under severe stress
when Available Bytes < 1 MB.
Pool Nonpaged Bytes The System's nonpageable (fixed) memory.
Pool Paged Resident Bytes The System's pageable memory that is currently resident.
System Code Resident Bytes
System Driver Resident Total system resident bytes = Pool Nonpaged Bytes + Pool Paged
Bytes Resident Bytes + System Code Resident Bytes + System Driver
Resident Bytes + System Cache Resident Bytes.
System Cache Resident The current amount of RAM used for the file cache; limited to 512
Bytes MB in NT 3-4, about 960 MB RAM maximum in Win2K.
Page Writes/sec Updated "dirty" pages must be flushed to disk before they can be
reused by a different application.
Object Name Counter Name Usage Notes
Committed Bytes Represents virtual memory pages backed in either RAM or
secondary storage (paging files). Calculate a virtual:real memory
contention index = Committed Bytes / Total RAM. Consider adding
RAM when this ratio starts to approach 2:1.
Commit Limit Maximum number of virtual memory pages that can be allocated
without extending the paging file(s).
% Committed Bytes in Use Committed Bytes / Commit Limit. Consider adding RAM when
consistently > 70% on a Server. On a Workstation, please close some
applications.
Cache Bytes Actually, the System address space working set, but includes the file
cache.
Transition Faults/sec "Soft" page faults resolved without having to access the disk.
Interesting number to track, but there is nothing you can do about the
Transition Fault rate. Consider them a by-product of the NT page
stealing algorithm, discussed in Chapter 6.
Cache Faults/sec Normal application file I/O operations are diverted to use the paging
subsystem.
Demand Zero Faults/sec The rate at which applications require brand new pages.
Write Copies/sec Private Copy on Write pages from shared DLLs.
Pages Input/sec Calculate the bulk paging rate: Pages Input/sec / Page Reads/sec.
Pages Output/sec Try to limit Pages Input/sec + Pages Output/sec to 10-20% of total
disk bandwidth, if possible. Disk bandwidth absorbed for paging
operations is unavailable for application processes.
Pool Paged Bytes Calculate a virtual:real memory contention index = Pool Paged
Resident Bytes / Pool Paged Bytes. Compare to Page Reads/sec to
anticipate real memory bottlenecks.
Cache Copy Reads/sec Inefficient Copy interface used by applications not specifically
designed for NT.
Copy Read Hits % Target > 80% for efficient application file processing. However, if
application files resist caching, there is very little you can do about it.
Lazy Write Flushes/sec The Lazy Write algorithm used to cache disk file updates in memory
means that you should never leave a critical Windows NT/2000
server unprotected without an Uninterruptible Power System (UPS).
Lazy Write Pages/sec
Data Maps/sec Cache mapping interface used primarily by NTFS and Redirector.
Data Map Hits % Target > 90% for efficient NTFS processing.
Avg. Disk Write Queue Calculated average number of active disk requests = Disk Writes/sec
Length * Avg. Disk sec/Write.
Current Disk Queue Length Instantaneous count of queued I/O requests. Systematically
undersampled on a uniprocessor, but a good number to compare to
the calculated value for the Avg. Disk Queue Length.
% Disk Read Time Misleading indicator of Disk Busy, capped at 100%. Calculated as
the product of Disk Reads/sec * Avg. Disk sec/Read. Same as Avg.
Disk sec/Read, except offset by two decimal points.
% Disk Write Time Misleading indicator of Disk Busy, capped at 100%. Calculated as
the product of Disk Writes/sec * Avg. Disk sec/Write. Same as
Avg. Disk sec/Write, except offset by two decimal points.
% Idle Time New in Win2K.
Used to calculate: Disk utilization = 100 - % Idle Time.
Disk service time = Disk utilization / Disk Transfers/sec.
Disk Queue time = Avg. Disk sec/Transfer - Disk service time
Disk Read Bytes/sec Disk read throughput, normally limited to about 50% of SCSI bus
capacity.
Disk Write Bytes/sec Disk write throughput, normally limited to about 50% of SCSI bus
capacity.
Avg. Disk Bytes/Read Calculated average block size = Disk Read Bytes/sec / Disk
Reads/sec.
Avg. Disk Bytes/Write Calculated average block size = Disk Write Bytes/sec / Disk
Writes/sec.
Processor % Processor Time With Symmetric Multiprocessing, individual processor statistics tend
not to vary significantly.
% User Time
% Privileged Time
Interrupts/sec Watch for sudden increases; could be a malfunctioning device or
device driver.
% Interrupt Time
Internet File Cache Hits % Caching static html files in memory saves on disk I/O and improves
Information performance.
Services Global
Current Files Cached
Current File Cache Memory
Usage
BLOB Cache Hits % Caching Binary Large Objects (BLOBs, gifs and jpegs associated
with html requests) in memory saves on disk I/O and improves
performance.
Current BLOBs Cached
Total Blocked Async I/O These represent requests blocked by the bandwidth throttling feature.
Requests See Chapter 11.
Web Service Total Method Requests/sec The http Method defines the type of http request. This is the total
Web service request rate per Web site.
Get Requests/sec Get is the http Method used to request static html pages and
embedded gig and jpeg requests.
CGI Requests/sec CGI scripts are involved in many Forms processing applications.
ISAPI Extension ISAPI requests predate Microsoft’s Active Server Pages server host
Object Name Counter Name Usage Notes
Requests/sec scripting facility to support dynamic html pages.
Current Connections
Current CGI Requests
Current ISAPI Extension
Requests
Service Uptime Uptime for each Web site instance for tracking availability.
Active Server Request Execution Time Execution time for the last ASP request
Pages
Request Queue Time Queue time delay for the last ASP request.
Requests Executing
Requests Queued
Transactions/pending