Tips for Windows XP SP2 multi-thread access Acceleration

Source: Internet
Author: User

As we all know, to prevent the spread and attack of worms, Windows XP SP2 has a maximum of 10 concurrent threads. SP2 uses the Messages dynamic link library to monitor the number of concurrent threads of each process in real time. Once it finds that the number of threads of a process exceeds 10, it will block Some threads. In this way, SP2 can prevent the shock wave type worms and enhance system security, but it also has some negative effects, such as when you download the BT, P2P, or FlashGet software, some threads will be blocked, so the download speed will become very slow. To this end, you can take the following measures to break through the number of concurrent TCP connections, thus improving the multi-thread access speed of SP2.

I. Misunderstanding of Registry Modification

To break through the limits of SP2 on the number of concurrent TCP connections, a method to modify the Registry has been circulated on the Internet. The procedure is as follows:

Click Start/run and enter Regedit to open the Registry. Go to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesTcpipParameters and change the modified key value of TcpNumConnections from 10 to 150, that is, set the maximum number of concurrent TCP connections to 150.

After actual tests, we found that this method looks effective, but in essence it cannot break through the limit on concurrent connections, improving the multi-thread access speed of SP2. Because SP2 controls the number of threads through "Tcpip. sys "is implemented by the system file instead of the Registry. Therefore, this method cannot increase the number of TCP concurrent connections of SP2.

2. Use tools to replace Tcpip. sys

To break through the TCP concurrent connections limit of SP2, the correct method is to modify the system file Tcpip. sys of Windows XP SP2. Tcpip. sys is an important system file of Windows XP SP2, which is located in the "C: Windowssystem32drivers directory.

Because the file is usually protected by the system, you cannot replace it normally. It must be replaced in safe or pure DOS mode, we recommend that you use the following special tools to replace "Tcpip. the operation steps are as follows:

Http://www.lvllord.de/download.php from the web? Url = en/EvID4226Patch211a-en.zip download replacement tool (only 30 kb) that is used to modify the maximum number of secure concurrent connections to the System File Tcpip. sys; then back up the C: Windowssystem32driversTcpip. sys file.

Next, double-click the downloaded zip package and run the replacement tool evid4226patch.exe. a command line Prompt window is displayed, showing the current Tcpip of Windows. the sys file version and the maximum number of concurrent connections (10 by default). Then, ask if you want to limit the number of connections to 50 (such as 1 ), you can select "Yes/No/Change". If you enter "Y", the number of concurrent connections is changed to "50". If you want to Change it to another number (such as 150 ), you can enter "c" at the prompt, enter the maximum number of concurrent connections (for example, 150), press enter, and then enter "Y" at the prompt and press enter to replace Tcpip. sys File; Tcpip. after the sys File is replaced, the System File Protection dialog box will pop up. You can click "cancel" and then click "yes". After the system file is restarted, Tcpip. replace the sys File.



Now your maximum number of concurrent connections has exceeded 10 to 150, so the multi-thread access speed of Windows XP SP2 has been improved. When you use multiple threads such as FlashGet and BT for download, you will not feel the limit on network bandwidth.

3. Modify the Tcpip. sys file in DOS

The above replacement program evid4226patch.exe can also be used in DOS, the method is: first copy evid4226patch.exe to the c root directory; then enter the DOS mode, enter the C root directory, enter the command EvID4226Patch/L = $N $/W = C: WINDOWSsystem32drivers/L = tcpip. sys to modify the Tcpip. sys file.

Note: $N $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: WINDOWSsystem32drivers/L = tcpip. sys.

4. Use the tool included with the IOT Platform

Tcpip. sys can be replaced by the tool "TCP/IP connection cracking patch" provided by Iot platform, which breaks through the TCP concurrent connection limit of SP2.

Http://download.pchome.net/php/dl.php from the web? Sid = 15504 download BitSpirit V2.7.2.225 Simplified Chinese official version, and then double-click the download file to install it. You can choose which components to install (2). You should install the "patch for TCP/IP connection Cracking for Windows XP SP2". After the installation is complete, the BitSpirit Program Group will appear in the XP Start Menu, click the "XP SP2 connection cracking patch" to modify the Tcpip. sys File.



Click the "XP SP2 connection cracking patch" to bring up the software interface, which lists the current Tcpip. you can enter a number in "TCP/IP Linitation" to set the maximum number of concurrent connections, for example, enter 150, then press the "Apply" button. After the system is restarted, the maximum number of concurrent connections of your SP2 server is changed to 150.

The preceding Methods increase the multi-thread access speed of Windows XP SP2, but reduce the security performance of SP2. If your computer is infected with viruses and Trojans, too many new threads are enabled, it will accelerate the spread of viruses and Trojans. Therefore, you must pay attention to network security while pursuing the speed of network download. We recommend that you install and Upgrade anti-virus software and firewall in a timely manner. If you are a common user, you can use the above method to set the maximum number of concurrent TCP connections to 10 ~ 30, BT users can be set to 100 ~ 150.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.