The virtual memory is very inconspicuous in Windows XP, and Windows XP is installed automatically, and users don't even pay attention to this file. However, virtual memory acts as supplementation and extension of physical memory, and the stable operation of Windows XP plays a lightweight effect. If the setting is not good, it will affect the overall performance of the computer.
What is virtual memory?
Virtual memory is Windows XP as part of the hard disk space used as memory. Even if physical memory is large, virtual memory is essential. There is a hard disk on the virtual memory is actually a huge file, the file name is pagefile.sys, usually can't be seen. You must close the resource manager's protection of the system file to see this file. Virtual memory is also known as "page file" is from the file name of this file.
Set hard disk
Optimize virtual memory, why do you want a hard disk setting? This is because virtual memory files (that is, the page files that often say) are stored on the hard disk, and improve hard disk performance can also improve the performance of memory to a certain extent.
1. Enable disk write cache
On "My Computer", right-click Select "Properties -> Hardware", open the device manager to find the hard drive currently being used, and click the right mouse button to select Properties. On the Policy page of the Hard Disk Property, open the "write cache on the disks", as shown in Figure 1.
This option will activate the write cache of the hard disk to improve the hard disk's read and write speed. However, pay attention to a little, after this function is opened, if the computer suddenly power off may cause the unusable data loss. Therefore, it is best to open this function in the case of UPS. Of course, if you usually use a computer, don't do any important data processing work, no UPS doesn't matter, this feature does not cause too much loss to the system. Figure 12. Open the Ultra MDA In Device Management In Select the "Basic / Substatic IDE Controller" in the IDE ATA / ATAPI controller, click the right mouse button to select Properties, open the Advanced Settings page. The most important setup item here is "transmission mode", which should generally choose "DMA (if available), as shown in Figure 2. Figure 23. Configuring Recovery Options Windows XP When you encounter a fatal error during the running error, you will save your snapshot as a file for system commissioning. For most ordinary users, this file is nothing, but instead It will affect the performance of the virtual memory. So it should be closed. Right click on "My Computer" and select "Properties -> Advanced". In Performance, click the Settings button below to select the Advanced page in Performance Options. Here is a "memory usage" option, if you set it to "System Cache", Windows XP will use about 4MB of physical memory as a cache to read and write hard drives, which can greatly improve data exchange between physical memory and virtual memory. speed. By default, this option is closed. If the physical memory of your computer is sufficient, such as 256M or more, it is best to open this option. But if physical memory is more tense, the default option should be retained, as shown in Figure 3. Figure 3 The size of the page file of the page file is calculated for different computers. The size of the page file is different. With regard to the setting of page file size, there are two "formulas", "physical memory X2.5", or "physical memory X1.5". These two calculations are simple, but do not apply to all computers. Setting the page file size The most accurate method is to see the page file size that the computer actually used in the usual run. The log feature comes with Windows XP can monitor the size of the page files that the computer usually use, so that the most accurate settings are performed, the specific steps are as follows. First, right-click "Properties -> Advanced" on "My Computer", select "Settings" button below, then select "Advanced" page, click "virtual memory" " Change the button. Select "Customize Size" and set "Start Size" and "Maximum" to 300m, which is just a temporary setting. After the setting is complete, restart your computer to make the setting take effect. Second, enter "Control Panel -> Performance and Maintenance -> Management Tool", open "Performance", expand "Performance Logs and Warnings", select "Counter Log". Right click on the right side of the window to select New Log Settings, as shown in Figure 4. Figure 4 3. Set a log name, such as "monitoring virtual memory size", as shown in Figure 5. Figure 5IWAGEMAN button in the General page, as shown in Figure 6. Figure 6 Select "Paging File" in Performance Object, then select "% usage peak" below the "% of the list selection record" and select "_total" from the right "Select Example from the list". Finally click the "Add" and "Close" buttons, as shown in Figure 7. Figure 7. V. Don't forget to remember the log file storage location and file name in the Log File page. We need to view this log to determine how many virtual memory usually use in this example, in this example, log files Store in a D: Perflog directory, as shown in Figure 8. Figure 8 shows that "log file type" is "text file" so that it is easy to read, as shown in Figure 9.