views:

328

answers:

3

Hi,

Am trying to performance test a wcf webservice which should get a lot of traffic. Which performance counters are sensible to use and for which purpose..Naturally I am looking at CPU and RAM, but I would like to know when IIS is queing and when its having trouble...

Any advice on sensible performance counters gratefully received...

Cheers alex

+2  A: 

MSDN has an entire section on WCF administration and diagnostics, and specifically, for performance counters in WCF.

There are also specific sections for performance counters hosted service calls, as well as for the endpoint and for operations.

I would suggest looking through those first, as there is a good amount of valuable information there.

casperOne
A: 

Analysing performance counters is complicated and takes a lot of practice, which is my way of saying that I am not experienced enough to give a complete list.

You are going to look for some specific things to start with. First off is of course how long it takes to return the webservice calls. This tells you if you even have a performance issue at that load. Next every one looks at CPU. This really does not tell you a lot however. RAM is good, but you want to know how often your app is paging to disk, so check the Page Faults/sec. Check your logical and physical disks for Current Disk Queue Length. If your physical disk is queing at all, you are reading/writing to much to the disk.

Beyond that you would normally be trying to find a specific and likely obscure problem.

I usually take performance testing in stages. Do a first test with the basics and if a particular page is having a problem look at the load it is causing.

If the whole production server is not performing adequately, it is easier to add more hardware, but I prefer looking at the code that is running and make that better.

Nat
+1  A: 

Does this help? http://sajay.com/note/652

Sajay