Windows XP SP2 multi-threaded access speed tips

  
        As we all know, in order to prevent the spread and attack of worms, Windows XP SP2 limits the number of concurrent threads to a maximum of 10. SP2 uses the Messages dynamic link library to monitor the number of concurrent threads per process in real time. Once it finds that a process has more than 10 threads, it will block some threads. SP2 does this, although it can protect against the worm of the shock wave type and strengthen the system security, but it also has some negative effects. For example, when you use BT, P2P or FlashGet software to download, some threads will be blocked, so the download speed will be It becomes very slow. To this end, you can take the following countermeasures to break through the number of TCP concurrent connections, thereby increasing the multi-threaded access speed of SP2.

First, the error of the registry modification method

In order to break through the limitations of SP2 on the number of TCP concurrent connections, the Internet has circulated a way to modify the registry, the operation steps are as follows:

Click "Start" /Run, enter Regedit to open the registry, navigate to HKEY_LOCAL_MacHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters, modify the key value of "TcpNumConnections", change it from 10 to 150, that is, set the maximum TCP The number of concurrent connections is 150.

After the actual test, we found that the method seems to be effective, but it does not break through the number of concurrent connections and improve the multi-threaded access speed of SP2. Because SP2 controls the number of threads, it is implemented by the system file "Tcpip.sys", which is not implemented by the registry. Therefore, this method cannot increase the number of TCP concurrent connections of SP2.

Second, use tools to replace Tcpip.sys

In order to break the SP2 TCP concurrent connection limit, the correct way is to modify the Windows XP SP2 system file Tcpip.sys. Tcpip.sys is an important system file for Windows XP SP2. It is located in the C:\\Windows\\system32\\drivers directory. This file is usually protected by the system, so you can't replace it under normal circumstances. It must be in safe mode or pure. Can be replaced in DOS mode, it is recommended that you use the following special tools to replace the "Tcpip.sys" file, the steps are as follows:

From the Internet http://www.lvllord.de/download.PHP ?url=en/EvID4226Patch211a-en.zip
Download replacement tool (only 30KB), use it to modify the system file Tcpip.sys maximum security concurrent connection limit; then backup C:\\Windows\\system32\\drivers\\Tcpip .sys file.

Next, double-click to open the download file ZIP archive, run the replacement tool EvID4226Patch.exe, and a command line prompt window will pop up, first display the current Tcpip.sys file of Windows. Version, and the limit value of the concurrent connection (the default is 10); then ask if you limit the number of connections to 50, you can choose "Yes /No /Change", if you enter "Y", the number of concurrent connections will be changed For "50", such as If you want to change to another number (for example, 150), you can type "c" at the prompt, then enter the maximum number of concurrent connections (for example, 150) and press Enter. Finally, type "Y" at the prompt and press Enter. Replaced the Tcpip.sys file; after the Tcpip.sys file is replaced, the system file protection dialog will pop up. You can click the "Cancel" button and then click the "Yes" button to restart the Tcpip.sys file. You're done!

Now your maximum number of concurrent connections has exceeded 10, reaching 150, so Windows XP SP2's multi-threaded access speed has been improved, when you use FlashGet, BT and other multi-threaded downloads When you do not feel the limitation of network bandwidth.

Third, modify Tcpip.sys file under DOS

The above replacement program EvID4226Patch.exe can also be used under DOS, the method is: first Copy EvID4226Patch.exe to the root directory of the C drive; then enter DOS mode, enter the root directory of the C drive, enter the command EvID4226Patch/L=$n$/w=C:\\Windows\\system32\\drivers/L=tcpip.sys You can modify the Tcpip.sys file.

Note: $n$ is the maximum number of secure connections you want to set. If you want to set the maximum number of concurrent connections to 150 threads, enter the command EvID4226Patch/L=150/w=C:\\Windows\\system32\\drivers/L=tcpip. Sys can be.

Fourth, use the tool that comes with the bit sprite

The tool "TCP/IP connection number crack patch" that comes with the bit sprite can also replace Tcpip.sys, breaking the SP2 TCP concurrent connection limit.

Download the BitSpirit V2.7.2.225 Simplified Chinese official version from the online http://download.pchome.Net/php/dl.PHP?sid=15504
, then Double-click the download file to install it. You can choose which components to install, you should install the "TCP/IP connection cracking patch for Windows XP SP2", after the installation, the XP Start menu will have the BitSpirit program group, click on the "XP SP2 connection number crack Patch", you can modify the Tcpip.sys file.

Click "XP SP2 Connection Number Crack" to pop up the software interface. The interface lists the current version of Tcpip.sys and the maximum number of concurrent connections (Figure 3 on the right). You can TCP/IP Linitation" Enter a number to set the maximum number of concurrent connections, for example, enter 150, then press the "Apply" button. After restarting the system, your SP2 maximum concurrent connections will be changed to 150.

Although the above methods improve the multi-threaded access speed of Windows XP SP2, but it reduces the security performance of SP2, if your computer is infected with viruses and Trojans, too many new threads will be accelerated. Viruses and Trojans spread, so you should pay attention to network security while pursuing network download speeds. It is recommended that you install the upgrade anti-virus software and firewall in time. If it is an ordinary user, you can use the above method to set the maximum number of concurrent TCP connections to 10 to 30, and the BT user can set it to 100 to 150.

Copyright © Windows knowledge All Rights Reserved