XP hard disk read/write speed is slow solution

Source: Internet
Author: User

05 the computer we purchased is still using the residual heat, but the system speed is surprisingly slow. The hard disk read/write speed detected today is less than 2 Mb/s, which is unacceptable. It is no wonder that the hard disk is set to Pio mode.

Use the following methods to solve the problem:

1. Right-click my computer on the desktop and choose Properties> hardware> Device Manager ".

2. Expand the "Ide ATA/atapi controller" node and double-click "Main ide controller ".

3. Click "Advanced Settings" and check that the transmission mode of "device 0" is "DMA (if available)". The following "current transmission mode" is actually Pio.

This indicates that the system degrades the hard disk transfer mode from DMA to Pio after receiving excessive timeout or cyclic redundancy check (CRC) errors.

4. Directly uninstall the main ide controller in the Device Manager and restart the computer.

5. After the reboot, XP automatically reinstalls the hard drive and asks to restart again.

After restart, check that the transmission mode has changed to Ultra DMA mode 5, and the read/write speed is restored to 27 m/s.

Note:

In Windows 2000/XP/2003, there is such a setting: Windows IDE/atapi port driver (atapi. sys) after receiving a total of six timeout or cyclic redundancy check (CRC) errors, the driver will forward the communication speed (transport mode) from the fastest Direct Memory Access (DMA) the mode is step-by-step reduced to a slow DMA mode. If the driver continues to receive a timeout or CRC error, the driver will eventually downgrade the transfer mode to the slowest mode (PIO mode ).
The problem is here! In general, a normal hard disk rarely has timeout or cyclic redundancy check (CRC) errors, but when we use these systems to suspend (also called sleep) after the computer is restored, timeout or CRC errors may occur. Because the timeout value set by the system is 4 seconds, when the system sends a read request to the ATA disk, if the hard disk response time exceeds the timeout value of 4 seconds, a timeout or cyclic redundancy check (CRC) error occurs, however, when the system is suspended (or sleep), the hard disk is in the stopped state. When the computer is restored, the hard disk has a process from stopping to moving, this easily results in a timeout value that exceeds 4 seconds for most hard disk responses. That is to say, when we use a computer to suspend for 6 times, the system will take the communication speed (Transfer Mode) from the fastest Direct Memory Access (DMA)
The mode is step-by-step reduced to a slow DMA mode. If more than six hangs, the driver will eventually downgrade the transfer mode to the slowest (PIO mode ). This is why the Windows system suddenly slows down.

Next, adjust the hardware Timeout:

6. Click Start, click Run, type regedit, and click OK ".
7. Locate and click the following items in the registry:
The value of driverdesc in HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ class {4d36e96a-e325-11ce-bfc1-08002be10318} \ is a project that contains the string value "Main ide channel.
8. Click "new" on the "edit" menu, click "DWORD Value", create a reseterrorcountersonsuccess project, set the value to 1, and click "OK.
The purpose of these three steps is to change the time-out value of four seconds when Windows sends a read request to the ATA disk to 10 seconds. We also implemented a less rigorous work ing policy to reduce the transmission mode in case of timeout errors and CRC errors (from the fast DMA mode to the slow DMA mode, to the PIO mode ). Previously, when the total number of accumulated timeout errors or CRC errors reaches 6, the IDE/atapi port driver (atapi. sys) will decrease the transmission mode. After the preceding registry key value is set up to implement a new policy, atapi. sys only degrades the transfer mode after six consecutive timeout or CRC errors occur. This new policy will greatly reduce the chances of the system reducing or disabling the DMA transfer mode.

Increase the disk cache:

9. Open the Registry Editor. Expand the HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager \ Memory Management Branch in sequence.

10. Right-click the window on the right, select "new" and "DWORD", and name the new value "iopagelocklimit ", and set the value to "4000" (hexadecimal, that is, 16 m or "8000", that is, 32 m). This will reduce the read/write frequency of the hard disk, if the memory is large enough, try 10000 or 64 MB.

Feel free to enjoy the system.

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.