Qualitative words like "high" are less than helpful when discussing performance counters

I was investigating a spike in the number of context switches/second that was observed during some performance testing of an ASP.NET web application. During my investigation around this topic I found a number of entries from Microsoft on MSDN and Tech-Net that essentially said the same thing - “if you see a high number for this counter you should investigate further”. So what is “high” exactly? “ASP.NET Performance Monitoring, and When to Alert Administrators” (a useful source of performance counter information) does slightly better:

Context Switches/sec. The rate at which the processors switch thread contexts. A high number may indicate high lock contention or transitions between user and kernel mode. Context Switches/sec should increase linearly with throughput, load, and the number of CPUs. If it increases exponentially, there is a problem. A profiler should be used for further investigation.

But it still falls into the same trap of telling us to look for a “high” value. If you're writing documentation like this try to provide some more information about what constitutes a “high” number (probably hard in this case since it will be machine dependent) or how a “high” number could be determined.

Comments are closed

Recent Tweets

Twitter May 22, 05:47
Listening to 'thus spake Zarathustra' in a loop all day. Everything seems way more epic.

Twitter May 17, 05:39
Why use add/edit/delete in your doco when you can use append, amend and annul. #whatcouldgowrong

Twitter May 15, 15:25
From the dark heart of the enterprise comes biztalk.js

Twitter May 15, 15:21
http://t.co/eMfOSWJ5gH good story

Twitter May 14, 08:33
Digital certs issued by Bruce schneier aren't identified by digital thumb print, they're identified by digital bite marks. #4yearoldjoke

@josephcooney

Latest Tool - logEnvy

logEnvy is the latest tool I've been working on for searching, sorting and filtering windows and IIS logs, and it's sexy! For more info check it out here.