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.

226<br />

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

Area Performance counter name Threshold<br />

Logical Disk (drive) % Idle Time This value should be higher<br />

than 90 percent. Values lower<br />

indicate that either there is<br />

paging or the application block<br />

writes to the SQL Server database.<br />

This value should be<br />

high for computers that host<br />

<strong>Enterprise</strong> <strong>Library</strong>.<br />

System Threads This value should be stable<br />

and read in conjunction with<br />

the Process\ThreadCount<br />

performance counter.<br />

System Context Switches/sec This is the rate of switches<br />

from one thread to another.<br />

The value should not be<br />

higher than System\Threads<br />

* 20. Higher values indicate<br />

that there is either contention<br />

or context switching from<br />

kernel mode to user mode.<br />

The ContextSwitchesPerSec<br />

performance counter should<br />

linearly increase as the<br />

throughput, load, and the number<br />

of CPUs increases. If it<br />

increases exponentially, there<br />

is a problem. For <strong>Enterprise</strong><br />

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

be low in all test cases for all<br />

application blocks.<br />

.NET CLR Security % Time in RT Checks This value should be less than<br />

7 percent. It is the percentage<br />

of elapsed time spent performing<br />

runtime code access<br />

security checks since the last<br />

sample.<br />

.NET CLR Exceptions (w3wp) # Exceptions Thrown This value should be zero,<br />

except for the Exception<br />

Handling Application Block,<br />

when it should be ignored.<br />

This application block causes<br />

exceptions that are recorded<br />

in the performance monitor.<br />

SqlServer:AccessMethods Full Scans/sec This value should be less than<br />

3.

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

Saved successfully!

Ooh no, something went wrong!