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.

224<br />

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

Area Performance counter name Threshold<br />

.NET CLR Memory (w3wp) % Time in GC This is the percentage of time<br />

spent performing the last<br />

garbage collection. An average<br />

value of 5 percent or less is<br />

ideal because all threads are<br />

suspended during a garbage<br />

collection. For <strong>Enterprise</strong><br />

<strong>Library</strong>, this number should be<br />

from 5 percent to 9 percent.<br />

The most common cause of<br />

a high value is that the application<br />

block is allocating<br />

memory for too many objects<br />

for each request.<br />

.NET CLR Memory (w3wp)<br />

# Gen 0 Collections<br />

# Gen 1 Collections<br />

# Gen 2 Collections<br />

These counters indicate the<br />

number of times the generation<br />

(Gen) n objects are<br />

garbage-collected from the<br />

start of the application. The<br />

number of Gen 0 collections<br />

should be 10 times higher<br />

than Gen 1 collections, which<br />

should be 10 times higher<br />

than Generation 2 collections.<br />

In other words, a Gen 1 collection<br />

should be one-tenth the<br />

value of the number of Gen 0<br />

collections, and so on.<br />

.NET CLR Memory (w3wp) # GC Handles This value should be stable<br />

during stress tests. It is the<br />

current number of garbage collection<br />

handles in use.

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

Saved successfully!

Ooh no, something went wrong!