Jump to content

Performance Tuning


Recommended Posts

*** Performance Tuning ***

        :arrow:  [Check back now and again, stuff may be added and/or modified]

                ~ These may only work with Windows XP ~

                      ~ Also check out * More XP Tweaks *


        [feel free to copy and save (and print) anything thing you want]

:arrow: Tweaking Precautions:

  Although all of the Tweaks and tips mentioned have been tested,

if a step is accidentally missed or a typo made, your computer could

experience problems. To make sure that your computer is protected,

I highly recommend that you use the Windows XP system restore


                                                                        ~ ROM-DOS

Windows XP system restore is a great program that monitors all of the changes to your

computer. If you make a change to the system registry, you can always undo the change by

reverting to an earlier system restore point. If you are making a lot of changes to your

computer, it is a good idea to create a restore point before every computer modification.

The following two sections will show you how to use system restore to create a restore

point, and how to restore your computer to an earlier checkpoint.

    Creating a System Restore restore point:

1. Click the Start button, expand All Programs, Accessories, and System Tools,

    and select System Restore.

2. When System Restore loads, select Create a Restore Point and click Next.

3. Type in a short description for the checkpoint in the box and click Create.

4. Once the restore point is created, just hit Close.

    Restoring your computer to an earlier restore point:

1. Click the Start button, expand All Programs, Accessories,

    and System Tools, and selectSystem Restore.

2. When System Restore loads,

    select Restore My Computer To An Earlier Time and click Next.

3. Browse through the calendar and select the restore point that you want

    your computer to revert to and click Next.

4. The Confirm Restore Point Selection screen will be displayed.

    Click Next to proceed. Keep in mind that you may lose any files

    that were created when you revert to an earlier restore point.

    Make backup copies of important documents and files on a floppy

    or network drive of important documents just in case.

Once you click Next, your computer will reboot and revert to the earlier restore point.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

      The Tweaks:

1. Open Internet Options - under the General tab in the Temporary Intenet files section,

    select the Settings button.   

    Select "Every visit to the page" and set the amount of disk space to use:

    to no more than 100-1000MB. Now select the Connections tab and

    select LAN Settings, make sure EVERYTHING there is unchecked and select OK.

2. In Internet Options - select the Privacy tab and choose Advanced,

    check the box "Override automatic cookie handling" and

    for First-party Cookies > Accept,

    Third-party Cookies > Block and check "Always allow session cookies".


3. By default Windows  XP caches everything in the DNS cache service,

  both correct and faulty DNS lookups. To increase performance by

  eliminating the caching of faulty DNS lookups,change the following values

  from whatever their original values are to zero.

    ~ Use Hexadecimal base values. 



    NegativeCacheTime              REG_DWORD        0x00000000 (0)

    NetFailureCacheTime            REG_DWORD        0x00000000 (0)

    NegativeSOACacheTime      REG_DWORD        0x00000000 (0)

4. This tweak will help web pages load faster, it has no real effect on download

speeds, your pc will look up websites faster, speeding up how fast the page loads.



  On the right  >  change these entries: (ALL values are HEXIDECIMAL)

  Class                    REG_DWORD        0x00000001 (1)

  DnsPriority              REG_DWORD        0x00000001 (1)

  HostsPriority            REG_DWORD        0x00000001 (1)

  LocalPriority            REG_DWORD        0x00000001 (1)

  NetbtPriority            REG_DWORD        0x00000001 (1)

[note: there seems to be some debate about these settings(I haven't had any problems)

but you can go here > https://www.speedguide.net/read_articles.php?id=1130

to check SpeedGuide's "Host Resolution Priority Tweak"] ~ Thanks Cholla

:arrow: Increase the size of the DNS cache

Expand the branches to;



Add the following four DWORD values

by going to Edit > New> DWORD Value.

Enter the numeric values specified by double-clicking

and selecting the Decimal option:

    CacheHashTableBucketSize      set to 1

    CacheHashTableSize                    set to 384

    MaxCacheEntryTtlLimit                set to 64000

    MaxSOACacheEntryTtlLimit        set to 301

Remember, these are Decimal values (not Hexadecimal values)

      [Always restart Windows for changes to take effect]

5. Optimize L2 Cache Detection

    Note: Change the setting depending on the L2 Cache of your CPU.

    If you dont know the L2 cache of your CPU,

    use a freeware program like CPU-Z http://www.cpuid.com/cpuz.php


    8192 KB = 00002000

    4096 KB = 00001000

    2048 KB = 00000800

    1024 KB = 00000400

      512 KB = 00000200 < mine*

      256 KB = 00000100


Session ManagerMemory Management

    *SecondLevelDataCache    REG_DWORD    0x00000200 (512)

6. Increase IoPageLockLimit - This value, in bytes, specifies

    the maximum amount of memory that can be used for input/output

    operations. The default value is 512 KB (524,288 bytes),

    but increasing it should improve performance.

    This value is specified in bytes (not MB)

    and must be entered in Hexadecimal mode.*

:arrow: Recommended values, based on the amount of memory (RAM) in your system.

              *256 MB RAM            REG_DWORD      0x10485760 (10 MB)

  more than 512 MB RAM            REG_DWORD      0x41943040 (40 MB)

*When editing DWORD Values in the Registry, you can

choose the Base to use (Hexadecimal or Decimal).

If you use the incorrect base, the value you type will have a different meaning.

  [for values of  9 or smaller, this option won't make any difference]



  Session ManagerMemory Management

  IoPageLockLimit        REG_DWORD    0x10485760 (273176416)

7. Improve Core System Performance

WARNING: Requires at least 512 MB RAM!



Session ManagerMemory Management

  DisablePagingExecutive      REG_DWORD      0x00000001 (1)

8. Force Windows to Unload DLLs from Memory (very useful)



    Name                      Type                Data

  (Default)                    REG_SZ              1

9. Disable sticky keys (Pop ups) from pressing shift key several times,

  - use if don't like Windows popping up while your doing something else - like gaming!

HKEY_CURRENT_USERControl PanelAccessibilityStickyKeys

      Flags                  REG_SZ            506

10. Max your Internet simultaneous downloads to 20 (default is 2)


Internet Settings

MaxConnectionsPer1_0Server      REG_DWORD      0x00000014 (20)

MaxConnectionsPerServer        REG_DWORD      0x00000014 (20)

11. Increasing the icon cache - On XP the Max Cached Icons is set too low,


      in the right window, double click Max Cached Icons,

      edit string ~ type the value 8192

      Max Cached Icons    REG_SZ          8192

    then reboot, . . .you'll see a big speed boost opening folders now.

12. To make Windows automatically kill processes when shutting down

    instead of letting them quit slowly:

    HKEY_CURRENT_USER/Control Panel/Desktop

    Change key AutoEndTasks to value 1.

      AutoEndTasks        REG_SZ        1

13. Optimising TCP/IP for Slow Links - To optimise TCP/IP for slow links:


    TcpMaxDataRetransmissions    REG_DWORD    0x000000013

    [Restart your computer for the changes to take effect]

14. DMA Transfer Mode

Right click on "My Computer", choose properties and click on "Hardware Tab",

open Device Manager ~ look for "IDE ATA/ATAPI controllers",

  right click on "Primary IDE Channel" and click "Properties",

    now click "Advanced Settings"

      and for "Transfer Mode" choose DMA if available.

Then do the same for the "Secondary IDE Channel"

[you should do this one even if your not a tweaker]

  when finished close that window by hitting [X]


15. Turn Off Remote Assistance

Right click on "My Computer", choose properties and click on "Remote Tab",

[uncheck] Allow Remote Assistance . . .

  hit OK

16. Turn Off Indexing

Now just double-(left)click on My Computer

right click on each drive and choose Properties > under the General tab,

[uncheck]  Allow the Indexing Service to index this disk for fast file  searching

> a window will pop up, make sure the box is checked that says

Apply change to (drive letter):, subfolders and files and click OK.

Windows will apply the changes, click OK.

(Once you have done all the drives I recommend you reboot.)

17. Open each folder in a separate part of memory

(recommended for 512MB memory and higher)

Open My Computer ( press the Windows & E keys)

> go to Tools > Folder Options > View and [check] the box in

"Launch folder windows in a separate process".

Reboot again!

18.  Increasing network browsing speed

Open up regedit,

navigate to [HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Current


find the key named {D6277990-4C6A-11CF-8D87-00AA0060F5BF}

[tells Explorer to show remote scheduled tasks]

Right click on it and delete it.


If you have no use for viewing remote shared printers and are really only interested in

shared files, consider deleting the printers key, {2227A280-3AEA-1069-A2DE-08002B30309D},

as well. This will also boost your browsing speed.

Right click on it and delete it.

19. Set CPU Priority

This setting gives a boost to priority of foreground applications.

In very overly-simplified terms, what you see on the screen gets more attention from the

CPU than what you can't. [base Hexadecimal]


Win32PrioritySeparation          REG_DWORD          0x00000026  (38)

20. These allow you to end tasks faster, shut down faster and speed up the menu


[HKEY_CURRENT_USERControl PanelDesktop]

ForegroundLockTimeout          REG_DWORD            0x00000000  (0)

HungAppTimeout                REG_SZ                    5000 to 20000  (5 to 20 seconds)

MenuShowDelay                  REG_SZ                      200 to 2000

WaitToKillAppTimeout          REG_SZ                      5000 to 20000  (5 to 20



WaitToKillServiceTimeout        REG_SZ                    5000

21.  Advanced NTFS Settings:

[The filesystem is the invisible mechanism on your hard disk that is responsible for

keeping track of all the data stored on the drive.  Think of the filesystem as a massive

table of contents, matching up each filename with its corresponding data stored somewhere

on the disk surface.  Windows XP supports three different filesystem types; FAT (File

Allocation Table, 16-bit), FAT32 (File Allocation Table, 32-bit) and NTFS (NT Filesystem).

NTFS was designed from the ground up to completely replace FAT/FAT32.  It supports

encryption, compression, and security.]

The following settings allow you to fine-tune NTFS to squeeze the most performance out of

your NTFS drive; experiment with these settings to find the configuration that works best

for you.

Start by opening the Registry Editor, and expanding the branches to


There are three values here that concern us:


  Values: 0 = enabled (default), 1 = disabled

[if you don't use 16-bit programs ~ disable]


  Values: 0 = enabled (default), 1 = disabled

[changing the value to 1, should improve drive performance]


  Values: 1 = small (default), 2 = medium, 3 = large, 4 = maximum

[The core of the NTFS filesystem is the master file table (MFT),

a comprehensive index of every file on the disk (including the MFT itself).

Since disk defragmenters can't defragment the MFT, Windows reserves a certain amount of

extra space for it to grow, in an effort to reduce its eventual fragmentation.  The more

fragmented MFT gets, the more it will hamper overall disk performance. Although the

default is 1, values of 2 or 3 are probably better for most systems with large hard disks;

the maximum value of 4 is good for very large drives with a lot of small files.]

22. Enabling super prefetch in Windows XP SP2

One of the many claims Microsoft makes for Windows Vista is that it will launch

applications 15% faster than Windows XP does currently. This is done through improvements

in the Prefetch functionality. There's no need to wait until Vista arrives; this

improvement is already in Windows XP thanks to Service Pack 2. It just needs to be turned


To enable super prefetch:

Use a registry editing tool to navigate to the following key:

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlSession ManagerMemory


Create and Insert a Dword value with the following details:

[use exact spelling and capitals]

    EnableSuperfetch        REG_DWORD          0x00000001


    [Reboot your computer for the changes to take effect]



Applying Registry tweaks assumes you have some proficiency in editing the Windows Registry

using Regedit (Start > Run > type: regedit). As always, backup (export) keys to some

ReGBackUp folder you can create in My Documents before making any changes ~

so you can go back to previous settings, if you don't like the results. [if you need to

restore the saved exported .reg key ~ just click on it and it will be automatically

imported back into the Registry, restoring the original settings...just remember to name

it something you'll remember, so you'll remember what it was/is]

WARNING: Also, Don't do all the Registry tweaks at once, try a

few (two or three), then restart your computer and see how things are running ~

before you start running back here ~ wondering what went wrong.

Also, Remember: When installing New Programs ~ close all applications running,

including your browser, Anti-Virus and SpyWare programs,  there is a reason the

installer reminds you to do this!  . . .and it's a good idea to run a defrag after

installing Programs ~ so all your Program files can stay together ~ this is a must for

faster loading performance.

    *    *    *    *    *    *    *    *    *    *    *    *

*** Services ***

Control Panel -> Administrative Tools -> Services.

      {Services manager will be shown here}

From here you can activate or deactivate the services that run on your PC.

A lot are useless, but some of them are 100% necessary for the system to start.

By deactivating some of them, you can get better overall performance, more available

resources and free more RAM.

This is a list with Windows XP services that are running in the background along with

their description and my recommended settings. You can right-click and  click "Properties"

on every service.

[if your not comfortable DISABLING some services, just set them to Manual ~ after you

re-start your computer go back to Services and see which ones are started after setting

them to manual ~ you could just leave them on Manual or set to Automatic ~ but remember;

some services depend on other services, you can check those also, while in "Properties"

under "Dependencies".]

  [Don't use by default my recommended settings; read all the explanations first.]

Alerter (DISABLE) - Announces users of administrative alerts. - Useless.

Application Layer Gateway Service (YOUR CHOICE/Manual/Automatic)

- Used for Assign Publish and Remove software services(Plug-ins). On manual, it will start

only if needed. [This serivce should only be disabled if you are not running the built-in

Windows firewall on any network interface and if you are not using internet connection

sharing from that computer]

Automatic Updates (YOUR CHOICE/Automatic or DISABLE) - Useless.

  Goto windowsupadate.microsoft.com for any updates.

Backgroud Intelligent Transfer Service (YOUR CHOICE/Automatic/Manual)

- Idle network bandwidth data transfer with http 1.1 servers. . .needed for Windows


ClipBook (DISABLE) - Used to store information (cut/copy/paste) and share them with

other PCs.  Usually useless. [it has nothing to do with cut/copy/paste, etc. with Edit


COM+ Event System (DISABLE/Manual) - There are almost no apps that use COM+, but on

manual it will start if needed.

COM+ System Application (DISABLE/Manual) - Same as above.

(Computer Browser (DISABLE) - A list with network computers. This service is not

required for a stand-alone system. (If you wanna share files, it must be started.)

Cryptographic Services (YOUR CHOICE/DISABLE/Automatic) - Confirms the signatures of

the files in Windows. ...for certification warnings, but it does not effect system


DHCP Client (YOUR CHOICE/Automatic) - Gets a dynamic IP from your DHCP


If you have a static IP (an IP that does not change) you can disable this service. If you

use cable modems, leave it be activated. Mine's on Automatic. [for on-line gaming]

Distributed Link Tracking (DISABLE) - Maintains links with NTFS files in your PC or

a domain. Usually not required.

Distributed Transaction Coordinator (DISABLE) - Takes care of the transactions that

require multiple resources. Windows works without this one, too.

DNS Client (Automatic) - Takes care of DNS names and control functions of

the Active Directory domain. Needed for online. Leave it on.

Error Reporting Service (DISABLE) - Calls home to Microsoft when errors occur.

    LOL; disable it.

Event log (Automatic) - This allows Event Log messages from the

applications to be seen in Event Viewer. This should be on; Windows can get very upset if

it's turned off.

Fast User Switching Compatibility (YOUR CHOICE/Automatic) - Disable it to get win2k

logon window.

Fax Service (DISABLE) - Not installed by default, so leave it that way.

(FTP Publishing Service (DISABLE) - Used for having a FTP server on your network.

(Activate it only if you really need it.)

Help and Support (DISABLE) - Resource eater. Disable it.  It will still

auto-activate if you access Start->Help or press F1.

HID Input (Human Interface Device Access) (DISABLE/Automatic) - If any of your

peripherals don't work,  leave it on. If all's ok, disable. [This service should remain

enabled if you use user-defined hot-keys on keyboards, remote controls, etc.]

(IIS Admin (DISABLE) - Usually used with a local web server of ftp.)

HTTP SSL (Secure Socket Layer) (AUTOMATIC) - Allows HTTPS

- needed for secure site accounts.

IMAPI CD-Burning COM Service (DISABLE/Manual) - Used to "burn" CDs.

Use Nero or A120% instead.

Indexing Service (DISABLE) - Super resource eater. Disable it.

Internet Connection Firewall and Internet Connection Sharing (MANUAL)

- If you have shared internet access or shared files, leave it on, else off or manual.

ISPEC Services (DISABLE) - Enabled only for security-obsessed people.

Logical Disk Manager (MANUAL) - vital to run Disk Management MMC dynamic volume

console. Useless otherwise.

Logical Disk Manager Administrative Service (DISABLE/MANUAL) - Same as above.

(Message Queuing (DISABLE) - Not installed. Let it stay that way.)

(Message Queuing Triggers (DISABLE) - Same as above.)

Messenger (DISABLE) - Send messages between clients and servers. I don't use or

need it. [it's not the same as Windows MSN Messenger, so don't worry.  Now disabled by

default on installation of Windows XP Service Pack 2]

MS Software Shadow Copy Provider (DISABLE) - Used with Volume Shadow Copy Service.

Net Login (DISABLE) - Used to login to a Domain Controller.

NetMeeting Remote Desktop Sharing (DISABLE) - Security bug. Leave it disabled.

Network Connections (Automatic) - *Required for network setup.

Network DDE (DISABLE) - Don't activate it if you don't use the clipbook service.

Network DDE DSDM (DISABLE) - Same as above.

Network Location Awareness (NLA) (AUTOMATIC)

- Used with Internet Connection Sharing.

NT LM Security Support Provider (DISABLE) - Not necessary unless you use Message

Queuing or a Telnet server.

Network Provisioning (Manual) - Manages XML files.

Performance Logs and Alerts (YOUR CHOICE/DISABLE or AUTOMATIC)

- Gathers various performance info and logs it or activates an alert. (Leave it on Auto

if your like me and like to double check it once in awhile.)

Plug and Play (AUTOMATIC) - If you change any components, this service will

detect it(theoretically).

Portable Media Serial Number (DISABLE) - Gets serial numbers from connected mobile

music players. Disable it if everything works fine.

Print Spooler (YOUR CHOICE) - If you have a printer: auto, else disabled.

Protected Storage (YOUR CHOICE/AUTOMATIC) - Allows saving local passwords

and Autocomplete web information. Leave it on if you use autocomplete.

QoS RSVP (DISABLE) - Gets you some traffic control in a IPSEC network and for the

apps that support QoS and also has an adapter that supports that.

Remote Access Auto Connection Manager (Manual) - Creates a connection to a program

when it requires an address. Disable it if sh*t happens. Leave it manual for dial-up.

Remote Access Connection Manager (AUTOMATIC) - Creates a network


Remote Desktop Help Session Manager (DISABLE) - Security breach. Stop it ASAP.

Remote Procedure Call (RPC) (Automatic) - *Critical*

(never mess with this) Leave it on Automatic. Almost everything depends on this


(Remote procedure Call (RPC) Locator (DISABLE/Manual) - data base evidence of RPC.

(Remote Registry Service (DISABLE) - Security breach. Stop it ASAP. This allows

other users to get access to your registry. [ Certain third-party applications utilise the

Remote Registry service to modify the local machine's registry. Symantec (Norton)

Anti-Virus is one such utility, mainly because they were too lazy to code up seperate

installers for local and remote installations.]

Removable Storage (DISABLE/Manual) - Naturally this is not required but if you

notice something wierd with your CD/DVD-R/RW leave it on auto.

Routing and Remote Access (DISABLE) - You'll know if you need it. Leave it


Secondary Logon (DISABLE) - Useless. Ancient remains of an obsolete service.

Security Accounts Manager (YOUR CHOICE/Automatic) - If you know more about

this, let me know ~ some say security breach ~ but mine's set to Automatic.

Security Center (SP2) (Automatic) -  Monitors system security settings.

(Server (DISABLE) - If you have something shared, on, else off.)

Shell Hardware Detection (DISABLE) - Autoplay for memory cards.

(Disable if you don't have memory cards.)

Smart Card (DISABLE) - If you don't have a "Smart Card" disable it.

Smart Card Helper (DISABLE) - Same as above.

SSDP Discovery Service (DISABLE) - Huge security risk (recognized by MS).

System Event Notification (DISABLE) - Used with COM+;stuff like power events or

logoffs/ons (Not required.)

System Restore Service (YOUR CHOICE/Manual/Automatic) - Mine's on. Your choice.

Leave it on if you have too much space to waste. j/k

Task Scheduler (DISABLE) - Resource eater. Turn it off.

TCP/IP NetBIOS Helper Service (DISABLE) - If you don't use Netbios, disable it.

It's also a security breach.

Telephony (AUTOMATIC or DISABLE) - On only for Dial-up. Off else.

Telnet (DISABLE) - Security breach. Disable it.

Terminal Services (YOUR CHOICE/Manual/Automatic) - Used for Fast User Switching,

Remote Desktop & Remote Assistance. [should only be disabled if none of the these are in


Themes (YOUR CHOICE/Automatic) - Used for the pretty windows desktop things.


Uninterruptible Power Supply (DISABLE) - If you don't have an Uninterruptible Power

Supply, turn it off.

Universal Plug and Play Device Host (DISABLE) - Security breach, but used with SSDP

Discovery Service,detects and configures your UPnP devices on your network. Can be


(Upload Manager (DISABLE) - Useless. Obsolete.)

Volume Shadow Copy (DISABLE) - Unneeded. Only used by ms-backup.

Software Shadow Copy Provider Service (DISABLE) - Same as above.

Webclient (DISABLE) - Useless. Disable it.

Windows Audio (YOUR CHOICE/Automatic) - Those Windows event sounds. (If

you've changed them, leave it on.)

Windows Firewall/Internet Connection Sharing (ICS) (Automatic) SP2 Firewall.

Windows Image Acquisition (WIA) (YOUR CHOICE/Manual) - Used for some

Cameras/Videos.[should only be disabled if you do not have a scanner or digital camera

connected to your computer]

Windows Installer (Automatic/Manual) - Used for .mis installers. You may

need it. [if you ever have problems installing something ~ go here ~ you may have to start

it manually]

Windows Management Instrumentation (Automatic) - I think windows requires

it. Procedure Call (RPC) needs this one on.

Windows Management Instrumentation Driver Extension (Automatic) - Same as


Windows Time (DISABLE) - Connects to a server to get correct time(just do it

yourself). Small security buggie. Disable it.

Windows User Mode Driver Framework (Automatic) - Enables Windows User Mode


Wireless Zero Configuration (DISABLE) - Auto configuration for wireless devices.

Turn off if you don't have wireless stuff.

WMI Performance Adapter (YOUR CHOICE/Manual) - don't see any use for it.

but leave it on Manual, just in case.

Workstation (Automatic) - Leave on auto.

. . .also, you'll have other Services running like your AV, Video Display Drivers and

Printer Drivers.

    (if you don't know what the Service is ~ it's best to leave it alone, 'till you


        (* u,* _ * ^,* _ * @ * c * ! * - * ; * 5 * U * | * * + * _,* /)

CableNut Adjuster


VanBuren testmy.net Cablenut settings


On-line CableNut Tweak page


Dslnuts Cablenut Broadbandnuts - Tips & Tricks


MSS is the real amount of data you can send/receive at any given time over your

connection medium. MSS is a calculated number from MTU (Max Transfer Unit). Most of the

time it is calculated by MTU - 40(for headers) = MSS. Some configurations may not fit this

forumla though so you can visit the Speedguide.net TCP/IP analyzer to get your correct MSS


TCP/IP analyzer >  http://forums.speedguide.net:8117/

Common MSS sizes are:

  Ethernet: 1460 (1500-40)

      Cable: 1460 (1500-40)

      aDSL: 1452 (1492-40)

      Dialup: 536 (576-40)[smaller packets for on-line gaming]  or  1460 (1500-40)

latency checker will perform a reverse DNS lookup on your IP address,

then run a traceroute command against the IP address.

[use this if you can't do a traceroute or ping past your ISP]


Shields UP! -  Internet security vulnerability profiling

[checks to see which ports you may have open -

Each computer has thousands of ports

Link to comment
Share on other sites

  • Create New...