New
#21
EXTRACT FROM WINDOWS 7 INSIDE OUT(E-BOOK)
Establishing a Performance Baseline
Before you begin trying to improve performance, it’s crucial to make sure that all the major subsystems that affect performance are working properly and that you have a proper baseline for comparing the results of any changes you make. Only after you’re certain that nothing is broken or improperly configured can you begin trying to make those subsystems work more efficiently.
What causes a PC to perform poorly? In our experience, the most common causes (listed in no particular order) are these:
●●Defective hardware Memory and disk errors are most obvious when they cause system crashes, but hardware-related problems can also cause performance to drag. Before you do any serious benchmarking or performance investigation, we recommend you run a memory test (such as the one available as part of the Windows Recovery Environment) and a thorough disk diagnostic program. The latter is often available as a free download from disk drive makers. Seagate’s SeaTools utility (w7io.com/2002), for example, was designed for use with Seagate and Maxtor drives. Western Digital offers several utilities under the Data Lifeguard label for its drives (w7io.com/2003). Check with the manufacturer of your hard drive to see what options are available for your hardware.
For more details on using the built-in repair tools in Windows 7, see “Making Repairs with the Windows Recovery Environment” on page 846.
●●Outdated or flawed device drivers Writing device drivers is an art, not just a science. If one or more crucial system components are using drivers that were originally written for Windows Vista, you might benefit from an upgrade. (The same holds true if a component such as a storage controller is using a generic, Windows-supplied driver instead of one written specifically for that device.) We have seen performance problems vanish immediately after a simple driver upgrade. Always be certain you’re using the best possible drivers for all system devices. (Don’t assume that a newer driver is automatically better than an older one, however; any driver update has the potential to cause new problems.)
●●Inadequate hardware resources Are the individual hardware components of your system up to the work you’re trying to do? Windows 7 should perform basic tasks well on even low-end hardware that was designed and built in 2008 or later. But more demanding tasks such as high-definition media playback or media encoding can push some systems to the breaking point. If your system is older (or if it’s a budget model that incorporates older technology), make sure your hardware is within the specifications of the software you’re trying to run.
●Active background tasks Every system includes some programs designed to run as a background task, including antivirus software and some Windows maintenance tasks. If your system is configured to run some programs automatically, you might need to adjust their schedules or operating parameters to make certain they don’t steal resources you need for work (or play). Later in this chapter, we discuss how to pinpoint processes and services that are temporarily using resources and having an impact on system performance.
For instructions on how to identify programs that run automatically at startup or when you log on, see “Managing Startup Programs” on page 172.
●●Out-of-control processes or services Sometimes, a program or background task that normally runs just fine will spin out of control, consuming up to 100 percent of CPU time or grabbing increasing amounts of memory or other system resources. In the process, of course, performance of all other tasks slows down or grinds to a halt. Knowing how to identify and kill this sort of process or service and prevent it from recurring is a valuable troubleshooting skill.
●●Malware Viruses, Trojan horse programs, spyware, and other forms of unwanted software can wreak havoc on system performance. Be sure to check for the possibility that malware is lurking on a system that is exhibiting other unexplained performance problems