Enterprise Library Test Guide - Willy .Net
Enterprise Library Test Guide - Willy .Net
Enterprise Library Test Guide - Willy .Net
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>Test</strong>ing for Performance and Scalability 225<br />
Area Performance counter name Threshold<br />
.NET CLR Memory (w3wp) # Bytes in all Heaps This value should be stable<br />
during the stress tests. It<br />
indicates the current memory<br />
allocated in bytes on the<br />
garbage collection heaps.<br />
If there is a memory leak<br />
within managed memory, this<br />
counter increases along with<br />
the Process (w3wp)\ Private<br />
Bytes performance counter.<br />
If there is a memory leak<br />
within unmanaged memory,<br />
the # Bytes in all Heaps<br />
performance counter remains<br />
stable, while the Private<br />
Bytes performance counter<br />
increases.<br />
.NET CLR Locks and Threads Contention Rate / sec This number should be less<br />
than 9/sec. For <strong>Enterprise</strong><br />
<strong>Library</strong>, higher numbers indicate<br />
poor scalability, particularly<br />
when running the code<br />
on computers with multiple<br />
processors or to 64-bit computers.<br />
A high contention rate<br />
indicates poor scalability and<br />
low throughput on multi-processor<br />
computers.<br />
Logical Disk (drive) Current Disk Queue Length This value should be no more<br />
than 2 requests per spindle,<br />
unless there is paging.<br />
Logical Disk (drive) Avg. Disk Read Queue Length This value should be no more<br />
than 2 requests per spindle,<br />
unless there is paging.<br />
Logical Disk (_Total) Avg. Disk Write Queue Length This value should be no more<br />
than 2 requests per spindle,<br />
unless there is paging.<br />
Logical Disk (drive)<br />
Avg. Disk/Sec Write<br />
Avg. Disk/Sec Read<br />
Both of these counters should<br />
have values of less than 6<br />
ms.<br />
continued