Home > Networking All-in-One Guides > Network management > Network analysis > Analyzing statistics > What to do when Performance Monitor yields unexpected results
All-in-One Guides: Network management:
EMAIL THIS
 START   OVERVIEW   NETWORK ANALYSIS   NETWORK MONITORING   
Network analysis


Analyzing statistics
<< PREVIOUS | NEXT >>: The truth about network diagnostics
 TIPS & NEWSLETTERS TOPICS 

NETWORK MANAGEMENT

What to do when Performance Monitor yields unexpected results


Brien M. Posey, Contributor
03.22.2006
Rating: -4.00- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


The Performance Monitor tool built into the Windows operating system can give you a wealth of information regarding what's going on with your system at a given moment. Most of the time, the information it gives you is exactly what you'd expect to see. Maybe you're not expecting to see the exact range of values that Performance Monitor is reporting for a given counter, but Performance Monitor itself is behaving just as you would expect it to throughout the monitoring process.

Sometimes, however, Performance Monitor behaves really strangely. You may wonder what this odd behavior means and whether you can trust the counter values it's given you. This article will attempt to shed some light on a few of this tool's eccentricities.

One common anomaly occurs when the counter you are monitoring constantly reports a value of zero, regardless of what you think the value realistically should be.

Several things can cause this problem. One possibility is that the counter you are monitoring is somehow tied into a service that has stopped. Suppose you were monitoring the number of SMTP services received per minute on a mail server. If the service responsible for processing those messages stopped, no messages would be coming into the server. If Performance Monitor were monitoring the underlying service directly, the monitoring would probably fail completely after the service stops.

However, if Performance Monitor were monitoring a message queue rather than the service that brings the messages into the server, then it would likely continue to report that zero messages have been received. The queue is functional, the Performance Monitor is giving you accurate results, but the stopped service is the reason why mail isn't flowing. This is just a hypothetical example, but the same principle can be applied to any monitoring situation that depends on services.

Another reason why Performance Monitor may consistently report a value of zero for a counter is that you don't have permissions to access the resource being monitored. Usually, if you try to monitor a counter that is bound to a resource that you don't have permissions for (such as a resource on another computer), you will receive an Access Denied message. However, I have seen instances in which the currently logged-on user lacks permissions to monitor a local service-related resource, and Performance Monitor reports a value of zero for the resource rather than producing an Access Denied message.

Gaps in the graph

Here's one that will really mess with your mind. Have you ever seen a Performance Monitor graph with missing pieces? I'm not talking about areas in which the counter data values were off the scale, but rather areas with no data at all.

An overburdened system almost always causes this problem. The Windows operating system is a multitasking environment. One problem with a multitasking OS is that it must make decisions regarding how much processing time each thread receives. The algorithm that Windows uses to determine how much CPU time each thread receives is fairly complex, but one of the factors that the OS looks at is the thread's priority. For example, a low-priority thread would receive less processor time than a normal-priority thread, and a high-priority thread receives more CPU time than a thread with a normal priority.

Most of the time this doesn't cause any real problems. However, if the system is running low on resources, and high-priority applications (or applications that are configured to run in real time) are running on the system, then Windows might steal CPU cycles from the Performance Monitor to keep the higher priority threads running efficiently. And if it doesn't receive an adequate number of CPU cycles, gaps in the line graph may result.

Counters stop working after you install a new app

Sometimes application-specific Performance Monitor counters might stop working after you install an application. There isn't much you can do to prevent this from happening because there is nothing stopping an application developer from creating Performance Monitor counters that interfere with counters related to another application.

If counters that you're still using no longer work after you install a new application, there is a way to fix the problem. Unfortunately, doing so often causes problems with the counters related to the new application. When you install an application that includes Performance Monitor counters, Windows creates a backup copy of the Registry entries related to the Performance Monitor. This backup is saved to a file named PerfStringBackup.ini. Windows creates this backup so that the Performance Monitor-related Registry entries can be salvaged should the new application's Setup fail. But after the application finishes installing, the PerfStringBackup.ini file is overwritten with the current Performance Monitor-related Registry entries. This means that you no longer have a backup of the Registry entries as they existed prior to installing the application.

The trick to fixing your counters is that you have to restore the PerfStringBackup.ini file from a tape backup that was made prior to installing the new application. Just restoring this file won't fix your problem though. You have to tell Windows to update the Registry to reflect the contents of the newly restored file. To do so, you must use the following command: Lodctr /r:PerfStringBackup.ini

Brien M. Posey, MCSE, is a Microsoft Most Valuable Professional for his work with Windows 2000 Server and IIS. He has served as CIO for a nationwide chain of hospitals and was once in charge of IT security for Fort Knox. He has written for SearchWinSystems.com and other TechTarget sites, as well as for Microsoft, CNET, ZDNet, MSD2D, Relevant Technologies and other companies.

Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


<< PREVIOUS | NEXT >>: The truth about network diagnostics
VIEW ALL IN THIS CATEGORY


RELATED CONTENT
Network Management
Green enterprise: Three networking investments that make a difference
Distributed network management means no more hard NOCs
Green data center networks: Smarter architecture, not expensive devices
Internal cloud computing on the cheap: Free automated provisioning?
With virtual OS and virtual applications, who needs virtual machines?
Application switch testing: An easy RFP guide
Virtualization: The next generation of application delivery challenges
Improving the performance of Web traffic and application delivery
The link between network management and application delivery
How to align network usage information to business processes

Network Performance Management
Web gateway helps Texas manufacturer develop network user management
Desktop virtualization network challenges: A primer
Green enterprise: Three networking investments that make a difference
Storage area networks change management primer
CA-NetQoS deal: Network management = application performance
Virtualization change and configuration management primer
Network change and configuration management primer
Distributed network management means no more hard NOCs
WLAN QoS and SLA monitoring with 7/24 Wireless Quality Assurance costs
Network management from a service-based perspective

Analyzing statistics
Better management = increased value
The truth about network diagnostics
What Ping doesn't tell you
Network fault analysis: Putting the guru in the analyzer
Onsite network analysis

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
baseboard management controller  (SearchNetworking.com)
fault management  (SearchNetworking.com)
loose coupling  (SearchNetworking.com)
maximum segment size  (SearchNetworking.com)
maximum transmission unit  (SearchNetworking.com)
network coding  (SearchNetworking.com)
packet loss  (SearchNetworking.com)
phase-change cooling  (SearchNetworking.com)
round-trip time  (SearchNetworking.com)
throttled data transfer  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business

Alcatel-Lucent Network Business Communications Solutions

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts