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.

<strong>Test</strong>ing for Performance and Scalability 231<br />

●<br />

●<br />

●<br />

Measurements of the memory required by the working sets and the values of the<br />

CLR % GC performance counter indicate that memory size did not cause any<br />

bottlenecks during the scalability tests. All bottlenecks were caused by the limit to<br />

the number of users the CPUs could support.<br />

Processor queue lengths began to lengthen as the number of concurrent users<br />

increased and the CPUs reached their limits. Values for processor queue lengths<br />

were initially zero and increased to between 7 ms and 10 ms after the CPUs could<br />

no longer support any more users.<br />

The Logging Application Block has good scalability. This is largely due to the low<br />

number of contentions per second. The value of the CLR Contention rate/sec<br />

performance counter was approximately 8 per second when the CPU was used at<br />

its full capacity (close to 100 percent) and 2 percent to 3 percent when the CPU<br />

was below its saturation levels. These are low numbers that demonstrate that<br />

there were very few contentions during the scalability tests.<br />

Analysis of Data Access Application Block Scalability <strong>Test</strong><br />

Figure 7 is a graph of the test results. It shows the results for both the 32-bit computers<br />

and 64-bit computers, each with 2 processors and then 4 processors.<br />

Figure 7 Scalability results for Data Access Application Block<br />

The tests read one row of a database for each test cycle. There are no writes because<br />

write operations can cause an increase in SQL Server I/O activity. In turn, this dependency<br />

may affect the percentage of processor time that the application block can use.<br />

The test should be performed without any dependencies that would prevent the CPU<br />

from being used to its full capacity.

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

Saved successfully!

Ooh no, something went wrong!