Site hosted by Angelfire.com: Build your free website today!
Chapter 34: Tuning Windows XP for Maximum Performance

PreviousChapterContentsGlossaryNext

Tracking System Resources

To keep Windows running smoothly, it helps to know when your system resources are running low.

What Are System Resources?

Windows XP deals with system resources--memory used by Windows applications--on a much more sophisticated level than Windows Me/9x. Because it is based on Windows 2000/NT, Windows XP inherits its foreparents' technological edge in memory management and does not succumb to the same resource limitations as Windows Me/9x.

Windows XP runs each application in its own protected memory space. If a program crashes, XP is far more likely to be responsive than Windows Me was, because other programs and Windows itself are not affected by the crash. The protected memory space also allows you to restart a crashed application safely, which rarely worked in Windows Me/9x. Of course, Windows XP has its own liabilities.

If you push Windows XP to the limit of its resources--by running too many programs at the same time--it behaves unreliably, just as Windows Me/9x did. This is because Windows XP requires access to global system resources just like all other versions of Windows, so the benefits of protected memory do not apply in the event of a general system overload. If you only have a 64MB system but have 256MB appetites, your system will operate unreliably, if at all. The best thing to do is to monitor your system to see where your computer's cycles are going. (A cycle is a process in which the CPU completes one string of instructions.)

Monitoring System Use with the Task Manager

Windows, like any computer system, can monitor many aspects of its own operation, including CPU use, the software disk cache, disk operations, serial port operations, and network operations. Sometimes, when system performance is unacceptable, you can monitor key aspects and determine where the bottleneck is occurring. This helps determine whether the most effective improvements would be through software reconfiguration or a hardware upgrade, such as adding more memory. The Task Manager is a small utility that comes with Windows and displays performance data, running applications, system-level processes, and network operability (see Figure 34-5).
[figure]
Figure 34-5: The Task Manager

You can run the Task Manager by right-clicking the taskbar and selecting Task Manager, or by pressing CTRL-ALT-DEL. The Task Manager loads a small icon in the notification area of the task bar, with bars that indicate at what percentage the CPU is being used.

The Processes tab lists all the processes that are currently running. If you want to see only your applications programs, rather than all the Windows-related background processes that take up most of the processes list, click the Application tab. The Networking tab displays information about your network connection, if any (see Chapter 28). The Users tab (which doesn't appear if Fast User Switching is disabled) shows what user accounts are in use (see Chapter6).

The Performance tab, as shown in Figure 34-6, reveals a plethora of technical information, the same as the equivalent tab in Windows 2000.
[figure]
Figure 34-6: The Performance tab of the Task Manager

What does this mean to the average user? Nothing. The important item to note is the CPU Usage bar graph in the top left corner. Even when the computer is idle (meaning that no applications are doing anything significant), you still see some activity. However, if the meter spikes and mouse movement is sluggish, a culprit application is probably causing havoc. Switch to the Processes tab (as shown in Figure 34-5) and look in the CPU column. (You can click a column heading to sort by the values in that column--click the CPU heading twice to list the highest CPU values at the top of the list.) The System Idle Process item should have a number from 0 to 99 in the CPU column. If a process is using a lot of CPU cycles, try closing the program that created it. You can also end (kill) a process by selecting it and clicking End Process. If that doesn't work, you may be forced to shut down and restart the computer to stop the rogue process.

Viewing Graphs in the System Monitor

Older versions of Windows came with a program called System Monitor, which graphed various measures of system performance. Windows XP also has this program--its version is shown in Figure 34-7. You can run it by choosing Start | Control Panel | Performance And Maintenance | Administrative Tools and running the Performance icon. The meanings of the items on the graph are listed below the graph. You can use the toolbar buttons to change the format of the graph and add data to it.
[figure]
Figure 34-7: The System Monitor

PreviousChapterContentsGlossaryNext