If you have some Microsoft Windows XP clients that run slower than others, it could be due to some of the default settings located in the Performance Options dialog box. You can change the options in this dialog box to boost the performance of a Windows XP client. Let's examine the settings you can change to tweak Windows XP's performance.
Performance Options dialog boxThe most useful Windows XP performance-tuning options are on the Visual Effects and Advanced tabs of the Performance Options dialog box. You'll find this box via the System Properties control panel by clicking the Settings button under Performance (Start | Control Panel | System | Performance | Settings). Figure A shows both the Visual Effects and Advanced tabs with the performance options you can easily modify.
Performance Options -- Visual Effects and Advanced tab
Visual Effects tab
The Visual Effects tab is the easiest place to start when troubleshooting certain performance problems. By default, Windows XP enables visual effects, such as the "scroll" option for the Start menu. These effects consume system resources, though. If you're troubleshooting a sluggish system, you can potentially improve its performance by choosing the Adjust For Best Performance option, which will disable many of these visual effects settings. Of course, you'll lose the cool visual effects, but there's always a trade-off for performance.
Advanced performance settings
For troubleshooting something more than sluggish screen redraws, you'll need to adjust the performance options on the Advanced tab of the Performance Options dialog box. There are three sections: Processor Scheduling, Memory Usage, and Vvirtual Memory. Each of these sections' settings have a major impact on how your system operates.
The Processor Scheduling section controls how much processor time Windows XP devotes to a program or process. The processor has a finite amount of resources to divide among the various applications. Choosing the Programs option will devote the most processor time to the program running in the foreground. Choosing Background Services allocates equal processor time to all running services, which can include print jobs and other applications running in the background. If your users complain about slow-running programs, you could try setting the processor scheduling to Programs.
On the flip side, if users complain that print jobs never print or are very slow to print, or if they run a macro in one application while working in another, you may want to assign equal time slices (called quanta) to each process by choosing the Background Services option. If you use the Windows XP machine in question as a server, you're better off choosing the Background Services option.
The next section, Memory Usage, details how Windows XP uses system RAM. The first option in the section, Programs, allocates more RAM to running applications. For desktop systems with very little RAM, this selection gives the best performance. In systems with less RAM, you need to devote as much RAM as possible to just running Windows and your applications. For a server or a desktop with a lot of RAM, however, choosing the System Cache setting will yield better performance. When set to System Cache, the system will use most of the available RAM as a disk cache, which can result in major performance improvements on systems that depend on disk I/O.
Finally, there are a number of settings in the Virtual Memory section that affect how Windows XP performs. Virtual memory is an area on the disk that Windows uses as if it were RAM. Windows requires this type of system in the event that it runs out of physical RAM. The virtual memory space is used as a swap space where information residing in RAM is written to the virtual memory space (also called the page file or swap file) in order to free RAM up for other processes.When the system needs the information in the swap file, Windows puts it back into RAM and writes something else out to the disk in its place. Figure B shows the virtual memory settings for my laptop.
Windows XP has a recommended default page file size of 1.5 times the amount of system RAM. Since I have 1GB of RAM in my laptop, the recommended size is 1.5GB, although I only have 768MB currently allocated for this purpose. I allow the paging file to grow as needed, up to a maximum size of 1.5GB. You can also choose to let Windows completely manage this file or to have no file at all. I highly recommend that you do not remove the paging file because you'll experience a noticeable degradation of system performance without it.
One way to boost system performance is to place the paging file on a separate physical hard drive from the operating system. The only caveat is if the second drive is slower than the primary drive, you'd want to leave the paging file where it is.
You can also span the paging file across multiple disks to increase performance. To make changes to the virtual memory, click the Change tab on the Advanced tab of the Performance Options dialog box, make your desired changes, and click Set. Any changes you make won't take effect until you reboot the machine.
Power users tipIf you want to get every last ounce of power out of your machine but you don't want to sacrifice any unnecessary disk space, you can use the Windows XP performance monitor to see how much of your paging file is taken up during normal usage and adjust its size accordingly. For example, if you have a 1-GB page file, but only 40 percent of it is used during normal operations, you may want to set it to 512MB instead. You can gather this information by watching the % Usage and % Usage Peak counters for the paging file (Figure C).
Windows XP Performance Monitor
I recommend these changes only if you have time to tinker. Most of the time, the operating system's recommendations will work just fine.
Miss a tip?
Check out the Windows XP archive and catch up on our most recent Windows XP tips.
Stay on top of the latest XP tips and tricks with our free Windows XP newsletter, delivered each Thursday. Automatically sign up today!
Since 1994, Scott Lowe has been providing technology solutions to a variety of organizations. After spending 10 years in multiple CIO roles, Scott is now an independent consultant, blogger, author, owner of The 1610 Group, and a Senior IT Executive with CampusWorks, Inc. Scott is available for consulting, writing, and speaking engagements and can be reached at firstname.lastname@example.org.