Computer Performance, Microsoft Windows 7


Windows 7 Data Collector Set

Windows 7 Data Collector Set Windows 7 Data Collection Set

Creating a Data Collection Set is Windows 7's new way of Performance monitoring.  While we have a huge amount of control over to what to record, Microsoft helps us get started by providing built-in templates.

Topics for Windows 7 Data Collector Sets

 ♦

Why Use Data Collector Sets?

In a nutshell you use the Windows 7 Data Collector Sets when you have a performance or a connectivity impediment and you want to gather the facts.  This is an ideal technique to diagnose problems not only on Windows 7 desktop machines, but also on Server 2008.  Bear in mind that there are quick alternatives such as Resource Monitor.

If a computer is responding slowly, then create a performance collector set to see if the root cause is due to a CPU, RAM or a disk problem.  If you suspect a disk is about to fail, or have a driver problem then run a diagnostic test.  Remember to look in the Reports folders to see the results of you Data Collector Set.

Windows 7 Data Collector Sets in Action

What a Data Collector Set does is capture multiple statistics and save them into a permanent record.  Furthermore, the Performance Monitor provides a tailor-made report structure so that we can review these logs.

Sets can contain readings from Performance counters, Event trace data, System configuration information and even registry values.  These Sets also combine the old Alert feature of Performance Monitor.  All you need to do is experiment with different thresholds and rules for scheduling data collection.  Another useful troubleshooting tactic is to run WMI (Windows Management Interface) tasks after the Data Collector finishes.

The Art of Performance Monitoring

If a server, or even a desktop machine, is running slowly, then you need to find the bottleneck.  Windows 7 gives you a bewildering choice of performance counters, and you can save a lot of time by accepting the wizard's suggestion to use the big four keywords (counters): CPU, Memory, Disk and Network.  The next decision is do you manually right click and 'Start' collecting, or do you configure the Schedule tab in the Data Set's properties.

Once the set has finished collecting the data, navigate to the Reports sub-folder.  (You can either right click and manually stop, or just wait for the end of the scheduled collection.)  As someone who started with perfmon in NT 3.51, I cannot emphasise enough how much easier the Reports make it to interpret the data.  At each stage the menu headings, give you a hint of whether the statistics are normal or indicate a bottleneck.  Furthermore, you can drill down for extra details.

Guy Recommends: SolarWinds Engineer's Toolset v10Engineer's Toolset v10

The Engineer's Toolset v10 provides a comprehensive console of utilities for troubleshooting computer problems.  Guy says it helps me monitor what's occurring on the network, and the tools teaches me more about how the system literally operates.

There are so many good gadgets, it's like having free rein of a sweetshop. Thankfully the utilities are displayed logically: monitoring, discovery, diagnostic, and Cisco tools.  Download your copy of the Engineer's Toolset v 10

Creating a Data Collector Set

Thanks to the wizards, and their structured menus, it's easy to get started with Data Collector Set.  My advice is to have a quick run through to see what's going to record and then create a second set making more thoughtful choices of items.  Create a Data Collection Set

  1. Assumption: The Performance Monitor is running. (Click on the Start Orb, type Perfmon.)
  2. Our mission is to create a Data Collector Set, which monitors Performance counters.
  3. Expand the Data Collector Sets folder.
  4. Decide if you want User Defined System Diagnostics or System Performance. 
  5. Assuming you want a User Defined Set, right-click select New point to New, and click Data Collector Set.
  6. Give a name to your Data Collector Set. (Guy's Wireless Troubleshooter in screenshot)
  7. Let us select the Create manually option. [Click Next].
  8. Select the Performance Counter Alert option. [Click Next].
  9. Now you are ready to Add Counters.  Make your choices.  [Click Ok]
  10. Define alerts based on the values of performance counters you have selected.
  11. From the list of Performance counters, select the counter to monitor and trigger an alert.
  12. From the Alert when drop-down, choose whether to alert when the performance counter value is above or below the limit.
  13. In the Limit box, enter the threshold value.
  14. When you are finished defining alerts, click Next to continue configuration or Finish to exit and save the current configuration.
  15. After clicking Next, you can configure the Data Collector Set to run as a particular user. Click the Change button to enter the user name and password for a different user than the default listed.
  16. Note: The minimum credentials you need are those of a member of the Performance Log Users group, naturally, an Administrator's credentials will also work.
  17. Click Finish this will return you to Windows Performance Monitor.
  18. I often check the properties of the Data Collector Set and fine-tune my choices.
  19. Mostly, especially when I am learning or testing, I decide to start the Data Collector Set immediately.
  20. Alternatively, you can exit without starting the collection set.  [Save and close.]

Find Your Results

Once you have collected your data, then head for the 'Reports folder and work thought the structured menus to find resources that are in short supply.

The great thing is that you can delete experiments that did not work out, and with each new Data Collector Set you get more proficient at Performance Monitoring and diagnosing the root cause of a problem. 

Data Collector Set Reports

Lower down in the Performance Monitor interface is a Reports section, this is where to find the result of your earlier work in creating a Data Collection Set. A reminder that there are two distinct roles, firstly performance monitoring for bottlenecks (e.g. CPU memory), secondly diagnosing faults such as driver or disk.

Tip: When you are in troubleshooting mode you can run this command (note the singular report):
perfmon /report

What this does is run the System Diagnostics for 60 seconds and then you see a report to help you track down problems on your Windows 7 machine.

Data Collection Set Report

Case Studies for Performance Monitoring

Here are possible sources of bottlenecks, which data collector sets draw to your attention.

  • A program monopolizes a particular resource.  E.g. Malware hogs the CPU.
  • Insufficient resources are available.  E.g. a database program consumes most of the memory.
  • A program, device, or service fails.  E.g. the scanner times-out.
  • Software is incorrectly installed or configured.  E.g. missing DLL or wrong version of a driver.
  • The system is incorrectly configured for the workload.  E.g. not enough memory is a common problem.

Solutions to Performance Problems

It helps problem solving if you review the range of solution at regular stages.  At one extreme you could buy new faster hardware, or complete system.  Yet at the other extreme, a cost nothing solution such as load balancing could fix the problem at least temporarily.

If you say to yourself, OK, I'll splash out and by a new system.  Your brain may say, 'but there is nothing wrong with the disk subsystem', followed by, 'Hang on, those quad-processors are already overkill'.  Then a better solution emerges, 'How about if I just add more memory?'

However, an alternative thought process could be, 'Let's just by new memory, hmmm... than means that single processor will be the bottleneck.  And 80GB disks looked big 5 years ago, but they are full and these days we can get much bigger disks for the price we paid.  Also, isn't that fan a bit noisy?  Conclusion, why don't we buy a balanced system with new components.'

Specific Advice

  • Add more resource, e.g. buy another memory SIMM / DIMM stick.
  • Load-balancing, move some of the processes, or users files, to another disk.
  • Upgrade, buy a faster disk system.
  • Baselines, creating baselines separates the professionals from the amateurs.  It's just so much easier to solve a problem that arose this week if you know what 'Normal' looked like.  When you have baselines from last week, last month and last weekend, then the patterns provide the clues for a speedy resolution.

Guy Recommends:  The Orion Network Performance Monitor (NPM) 9.5Review of Orion NPM

Orion's performance monitor is designed for detecting network outages.  This NPM will guide you through troubleshooting by indicating whether the root cause is a broken link, faulty equipment or resource overload.  Because it produces network-centric views, it is intuitive to navigate, and as result you can see easily what's working and what's not.

Perhaps Orion's best feature is the way it suggests solutions.  Moreover, if problems arise out of the blue, then you can configure Orion NPM 9.5 to notify members of your team what's changed and how to fix it.

If you are interested in testing a professional performance monitor on your network, then I recommend that you take advantage of Solarwinds' offer of a download a free trial of Orion's Network Performance Monitor.

Secret Remote Data Collector TechniqueCreate a Data Collection Set

The simplest, and most useful technique is to use Windows 7 to capture data from servers.  This removes the accusation of bias that people always bring up when you collect data from the machine where performance monitor is running.  Another reason for using a Windows 7 laptop to collect data remotely is that it may be more convenient then working in that noisy server room.

When the wizard asks which performance counters would you like to collect?  You click on the Browse button and select the network computers that you wish to monitor.  Naturally, you must select the counters for your project.

Summary of Windows 7 Data Collector Set

There are two related reasons to create a Data Collector Set, firstly, to diagnose a fault urgently, and secondly, to collect performance data on your CPU, memory and disk so that you can detect the bottleneck.  For those with previous knowledge of perfmon they will be impressed with Window's 7 structured approach to collecting and analyzing statistics about the operating system.

Microsoft Windows 7 Performance Topics

 *


Google

WebThis Site

Guy Recommends the Free IP SLA MonitorFree IP SLA Monitor

The IP SLA Monitor not only helps to discover network bottlenecks, but also teaches you about router traffic.  See how effortlessly this free monitor analyzes and then displays the IP statistics.

The key to configuring is to select the data most relevant to your network, for example, ping echo, DNS resolution times, or HTTP statistics. 

Download your free copy of IP SLA Monitor

 

Home Copyright © 1999-2009 Computer Performance LTD All rights reserved

Please report a broken link, or an error.