TechRepublic : A ZDNet Tech Community

Microsoft Windows

Host: Mark Kaelin
Contact

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 box

The 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.

Figure A

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.

Processor Scheduling

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.

Memory Usage

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.

Virtual Memory

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.

Figure B

Virtual Memory

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 tip

If 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).

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!

Print/View all Posts Comments on this blog

Paging file and performance kabluiii | 09/02/08
I agree... Timbo Zimbabwe | 09/04/08
I agree... RoyB@... | 09/04/08
I have never agreed. scott.ager@... | 09/04/08
Quick and dirty bernalillo | 09/05/08
Defrag /? Arcturus16a | 10/16/08
Paging File on second hdd djt0711 | 09/04/08
RE: Paging file on 2nd HDD kdust111@... | 09/04/08
My Concern rickk@... | 09/11/08
remote page file tigerbright888 | 09/24/08
No old HDD wshieh@... | 05/13/09
by all means tigerbright888 | 06/19/09
And make that a folder.. JCitizen | 06/19/09
Paging File on second hdd Gis Bun | 09/08/08
Holy Bible andinotortosa@... | 09/25/08
Not sure why this was in this forum, but . . . djt0711 | 10/11/08
Might be cheaper to just buy more RAM. However... JCitizen | 10/12/08
Have you ever thought of going with a MacPro? OnTheRopes | 10/12/08
Yes.... JCitizen | 10/16/08
or a 10K drive tigerbright888 | 06/19/09
That has always been my temptation... JCitizen | 06/19/09
Two drives for paging redewenur@... | 10/03/08
PAging Disk on seperate Drive dougjbarnes@... | 05/14/09
Do it all the time UsersRevil | 02/04/10
Page file mark.silvia@... | 09/11/08
Description of Options in "Visual Effects" Arcturus16a | 09/25/08
Paging File & Temp Partitions sreilly@... | 10/29/08
On a single hard drive system that is an idea cowen80194 | 11/25/08
RE: Setting Paging file min and max to same kryan@... | 05/13/09
If you gotta a Gig, turn off the Pig....... scott.ager@... | 05/14/09
performance change evaluation tigerbright888 | 06/19/09
RE: Adjust these performance options to speed up Windows XP letter_2_roy@... | 09/03/08
RE: Adjust these performance options to speed up Windows XP techrepublic@... | 09/04/08
get real monkeywrenchit | 09/04/08
True... ubwete | 09/04/08
True.... not so fast don@... | 09/04/08
there is an efficient way to do it drbayer | 10/21/08
Blackhawks website? chuckwaldes@... | 09/04/08
BlackViper and other Favorites ttrabold@... | 09/04/08
Great Info!! needinfo | 10/20/08
I wish I have the easy customers you have. bernalillo | 09/05/08
I wish you could spell kitico@... | 10/21/08
Everybody worries about the computer wasting time... brian@... | 09/04/08
Re: Wasting time kdust111@... | 09/04/08
I agree 100% bernalillo | 09/05/08
How do I do this JoeD. | 09/04/08
Contiguous paging file needs no defragging konamobilepc@... | 06/18/09
Force Windows to use RAM instead of swapping Doug Vitale | 09/04/08
Registry vs. settings? djt0711 | 09/04/08
oops- errata enclosed john@... | 09/04/08
oops--- talukdar_m@... | 09/04/08
I tried to change messed up my computer ahusmc@... | 05/14/09
Need more details on spanning, PLS. replytoaghar@... | 09/06/08
Do this... UsersRevil | 09/30/08
Paging file and performance jasonmathers1989@... | 09/07/08
page file haYnguy@... | 09/15/08
Windows design factors tigerbright888 | 06/19/09
RE: Adjust these performance options to speed up Windows XP Betageek52@... | 09/09/08
Seems like a no brainer to me... bernalillo | 09/10/08
Yes UsersRevil | 09/30/08
Ya Know... Betageek52@... | 10/02/08
Why capitals? UsersRevil | 11/09/08
simple & superior defrag cisauditor | 10/21/08
RE: Adjust these performance options to speed up Windows XP alinawaz83@... | 09/12/08
For the System restore option "If enabled" replytoaghar@... | 09/13/08
RE: Adjust these performance options to speed up Windows XP alpha817@... | 09/14/08
RE: Adjust these performance options to speed up Windows XP earmanmd@... | 09/25/08
I do not agree mate... hassan.bohra@... | 10/09/08
Why so much? scott.ager@... | 10/10/08
Tell that to the driver manufacturers... JCitizen | 10/10/08
Good luck finding drivers! UsersRevil | 11/09/08
Haven't had to find a driver yet! JCitizen | 11/10/08
Even if you have 2Gb? UsersRevil | 11/09/08
RE: Adjust these performance options to speed up Windows XP lanrebobby@... | 10/16/08
Well you can wipe the HDD and load XP it's even Legit if you HAL 9000 | 10/16/08
RE: Adjust these performance options to speed up Windows XP saaiebabak@... | 11/12/08
pagefile of variable size konstantin.nikolaev@... | 01/12/09
RE: Adjust these performance options to speed up Windows XP cbcs@... | 01/15/09
Wrong; don't clean out the Prefetch folder. DWalker88001 | 06/11/09
RE: Adjust these performance options to speed up Windows XP gregory.l.hewitt@... | 05/14/09
bandwidth user by system Maheshparte | 09/15/09

What do you think?

White Papers, Webcasts, and Downloads

Recent Entries

TR on Twitter

Archives

TechRepublic Blogs



IT Professional's Guide to Policies and Procedures, Third Ed
Whether you're creating policies for management, training, personnel, support, privacy, Internet/e-mail usage, security, or inventory, you'll meet the needs of your entire enterprise with this one download!
Buy Now
Quick Reference: Linux Commands
Reduce stress and speed up resolutions with the easiest command references right at your fingertips. You'll receive a PDF file covering Linux, packed with the most common commands you'll need and use daily.
Buy Now

SmartPlanet

Click Here