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

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 221<br />

Area Performance counter name Threshold<br />

Process (w3wp) Private Bytes This value should remain stable<br />

during stress tests. Small<br />

amounts of memory, less than<br />

50 MB to 60 MB, are reserved<br />

for the Caching Application<br />

Block when the test adds<br />

many items to the cache. In<br />

the Caching Application Block,<br />

the number of private bytes<br />

can add up to almost all the<br />

available memory if items<br />

are added to the cache and<br />

there is no expiration policy<br />

and no scavenging. If there is<br />

a memory leak, this performance<br />

counter increases.<br />

Process (w3wp) Virtual Bytes The number of virtual bytes<br />

should not exceed the number<br />

of private bytes by more<br />

than 800 MB. The difference<br />

between the number of virtual<br />

bytes and private bytes is<br />

because it is possible to commit<br />

more memory than the<br />

process actually owns. Virtual<br />

bytes represent virtual address<br />

space. When the number<br />

of virtual bytes is close<br />

to the 2 GB limit, memory<br />

fragmentation causes the system<br />

to slow down. Eventually,<br />

an OutofMemoryException<br />

exception occurs.<br />

continued

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

Saved successfully!

Ooh no, something went wrong!