Tune Windows XP PerformanceThis page is intended to give you some hints how to improve performence of Windows installations. The main porpose of these tweaks is to enhance workstation performance, however some might be usefull for servers as well.If you find a mistake or have suggestions for improvement feel free to contact me.
GUI - Graphical User Interface and ThemesSince we want speed instead of beauty...
Use NTFSNTFS is the recommended file system for Windows XP and provides a number of benefits in terms of functionality, security, stability, availability, reliability, and performance. There are very few reasons to persist with FAT32.If you use an old FAT Filesystem you can convert it with the tool 'convert' (which is available on a standard Windows XP installation) to NTFS.
Note:
Details about converting filesystems to ntfs can be found at
http://www.microsoft.com/technet/prodtechnol/winxppro/maintain/convertfat.mspx
Disable Last Access TimestampWhenever XP reads a file, it stamps the file with the date and time of the access. This feature has its place but is not required for normal use unless you rely on the date of last access for backup purposes. Timestamping a file that has just been read means that a write access has to be made to disk, so every time a read is executed, a corresponding write is also executed. This means performance loss.
> FSUTIL behavior set disablelastaccess 1
Enable DMA ModeDirect Memory Access, is a technique for transferring data from main memory to a device without passing it through the CPU. Computers that have DMA channels can transfer data to and from devices much more quickly than computers without a DMA channel can.
Nowadays every computer has DMA support build in - so why don't use
it An older technique to access your harddrive was PIO.
Attention:
Sometimes read or write error occure on a device. When this
happens too often Windows automatically switches the transfer
mode back to PIO. This decreases performance significantly.
To work around this problem you can simply delete the driver for the specific device and on the next time you boot your machine it will be freshly installed and the transfer mode will also be reseted. Memory Management - Kernel Paging and Cache TuningThe "DisablePagingExecutive" entry in the registry prevents the kernel (the core of the XP OS) from being rolled out to the page file. The effect of this tweak is to cause the OS to cache the OS Kernel and its entourage to RAM instead of to disk, which makes XP far more responsive. The "LargeSystemCache" registry entry forces XP to allocate all
but 4MB of system memory, that is system memory, not avaliable RAM,
to the file system cache. The remaining 4MB of system memory is used
for disk caching, though XP will allocate more memory if it is
needed.
navigate to the following key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] Add the following keys:
Separate Window ProcessesContrary to popular belief, this tweak causes multiple instances of the same application to execute in their own process and memory space, not just Windows Explorer. Of course, the cost for improved performance and stability is memory since the application and its attendant DLLs are loaded separately for each instance. This tweak should only be applied if you have more than 128MB RAM.
Processor SchedulingThis tweak is impossible to explain without getting into the technical ins and outs of binary values, bit pairs and bit masks. Suffice it to say, this part of the tweak forces short, variable length processor timeslices to be allocated to foreground processes three times more often than those timeslices given to background processes.
navigate to the following key:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl] Add the following key:
Note: The Win32PrioritySeparation value of 26 is hexadecimal. this corresponds to 38 decimal.
disable unused ServicesThe operating system offers a lot of services, but many users don't need all of them. To save resources this services can be disabled.To disable a Service do the following:
Here is a list of Services which I usually disable:
disable speech recognition (Sapisvr.exe/ctfmon.exe)
last updated 02 November 2008
|