Windows system write cache function detailed

  

Many friends know that Windows system has "write cache" function can improve the system's running speed, then "write cache" is a kind of technology? Encountered the prompt "Write cache failed", how to deal with it? Please see this article for details on Windows “ Write Cache & rdquo; technology.

Cache is a memory chip on the hard disk controller with extremely fast access speed. It is a buffer between the internal storage of the hard disk and the external interface. The WinXP system has a technique that temporarily caches writes to the disk and then waits until the system is idle before performing the appropriate action. The write action is cached. When the hard disk receives an instruction to write data, it does not immediately write the data to the disk, but temporarily stores it in the cache, and then sends a signal that the data has been written to the system. The system will assume that the data has been written and continue to do the following work, while the hard disk writes the data in the cache to the disc when it is idle (when it is not being read or written). This technique, called "write cache", can improve system performance, but by default the system may not have this feature turned on.


“Write Cache”Function Open


Want to know how the “Write Cache” option is set? Please open “Device Manager", expand “Disk Drive", then right click on any of the drive icons below and select “Properties", then switch to the “Strategy" tab. Here you should see two options: “Optimize for quick delete” (all things are written directly to the hard drive) and “Optimize for performance” (write to cache). The first option allows you to quickly disconnect your device from your computer, such as a USB flash drive. You can disconnect these devices from your computer without clicking the “Safely Remove Hardware” icon in the taskbar. If both options are in a gray unselectable state, then your disk drive has turned on the "Write to Cache" option by default.


The reason for the prompt "Write cache failed"


Sometimes it will pop up in Windows XP system; write cache failed (Delayed write failed) & rdquo; prompt, telling you that there may be some problems in delaying the writing system. Although this is not a fatal error, it is worthy of your attention.

Here are some common reasons for "writing cache failure":

1. The reason for the disk drive itself. This happens especially on SCSI or RAID drives. There are some RAID driver drivers that report a fake message in the XP operating system with SP2 to tell the user "Write cache failed". So you should install the latest version of the driver for your disk drive.

2. The reason for the data line. Some errors or broken data lines, especially external USB lines and FireWire, can cause this. If your data cable is too long, or if the data cable is connected to a USB HUB of unqualified quality, the write cache will fail. Finally, it's probably because you have a UDMA driver that requires an 80-pin data cable, but you're using a 40-pin data cable.

3.SCSI termination error. Although this happens rarely on SCSI devices that use self-terminating technology, we still have to take it into account.

4. Problems with the drive controller. I have encountered a situation where the USB controller and other hardware devices are in conflict and the write cache fails. If your system has both long and short PCI slots (64-bit and 32-bit), try unplugging the USB controller from the long PCI slot. Some older PCI cards do not support this type of slot.

5. The BIOS setting of the computer forcibly turns on the UDMA mode that is not supported by the drive controller. Although UDMA mode can enhance the performance of the disk, it will cause some errors if the drive controller does not support it. This situation is rare, mainly on newly installed hardware devices (the hardware device supports UDMA mode), users can restore the BIOS or restore the BIOS's options on the hard drive to the default "automatic detection" ; mode to solve this problem. For example: If there is a problem with a device set to UDMA Mode6 mode, you can set it to Mode5 mode.

6. Media error. This is the most serious situation that can happen, in other words, the disk drive is broken. If you can get disk drive statistics through SMART (such as SMART & Simple) software, then you can use this information to determine the mechanical (physical) failure of the disk drive. You can also use a tool called Gibson Research's SpinRite to help you diagnose media errors, but it takes a long time to fully detect the disk drive.

7. Parity error in memory. This usually happens after you add a new memory. The reason for this error is that your new memory module does not match the memory type supported by the motherboard, or there is a problem with the memory itself. (A problem with memory can cause other errors, such as random deadlocks, etc.).

8. The LargeSystemCache key value in the registry is incorrect. This is rare and usually occurs on machines that have an ATI display adapter with more than 521MB of memory. The registry on these machines has a key called LargeSystemCache (HKEY LOCAL MACHINE\\SYSTEMhCurrentControlSet\\Control\\Session Manager\\Memory Management). This key value is used to manage the memory capacity allocated by the system to some core processes. If the key value is set If it is 1 (this setting can enhance the performance of machines with more than 512MB of memory), it may cause data errors and write failures in some systems. If this happens, change the key value to 0.

Copyright © Windows knowledge All Rights Reserved