07.11.2014 Views

Enterprise Library Test Guide - Willy .Net

Enterprise Library Test Guide - Willy .Net

Enterprise Library Test Guide - Willy .Net

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

222<br />

<strong>Enterprise</strong> <strong>Library</strong> <strong>Test</strong> <strong>Guide</strong><br />

Area Performance counter name Threshold<br />

Process (w3wp) Thread Count This value should remain<br />

stable during stress tests. The<br />

thread count of a worker process<br />

should be no more than<br />

75 + ((maxWorkerThreads +<br />

maxIoThreads) * # of CPUs),<br />

where # of CPUs is the value<br />

in the Machine.config file. The<br />

Caching Application Block<br />

uses its own background<br />

scheduler for expiration and<br />

scavenging. The value of this<br />

performance counter should<br />

be constant while the scavenging<br />

and expiration scenarios<br />

are being stress tested.<br />

This means that the scheduler<br />

does not have any memory<br />

leaks.<br />

Process (w3wp) Elapsed Time This performance counter<br />

keeps track of the elapsed<br />

time, in seconds, that the<br />

process has been running. In<br />

other words, it measures an<br />

application block’s availability.<br />

The value should remain constant<br />

during the stress tests.<br />

If the value is less than the<br />

length of the test, an ASP.NET<br />

recycle occurred, which may<br />

indicate a problem.<br />

Memory Pool Paged Bytes This value should be less than<br />

90 MB and remain stable during<br />

stress tests. Larger values<br />

can indicate that the application<br />

block is unnecessarily allocating<br />

system objects, such<br />

as security tokens or thread<br />

handles. The <strong>Enterprise</strong><br />

<strong>Library</strong> uses instrumentation<br />

that allocates unmanaged<br />

handles and performance<br />

counters objects. In particular,<br />

you should monitor this performance<br />

counter during the<br />

Cryptography Application Block<br />

stress tests.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!