Windows system virtual memory settings optimization method [graphic]

  
first understand what is virtual memory, and what virtual memory has.

In the early days, because the memory price was very expensive, it would not be configured too much on a typical computer. But sometimes, the amount of memory we need to use the application will exceed the amount of physical memory. At this time, the operating system will temporarily write the data that is not needed to be accessed to the hard disk through an operation called “page break”. In a special file, the memory space is freed for programs and data that need to use memory immediately. The special file on this hard disk is a paging file (that is, a virtual memory file, or a swap file, in Windows 2000/XP/2003). The paging file is named pagefile.sys ). Since the speed of the hard disk and the memory are very different, our system will become slower and slower when the application uses a larger amount of memory.

With the advancement of the times, memory is getting cheaper and cheaper. Can we disable virtual memory and use larger memory, thus eliminating paging operations and improving system operation efficiency? No! Many of the core features in Windows require paging files, and if you disable all paging files, you may run out of memory errors. In fact, Windows does not use paging files when it is not needed, so adjusting the system in this way does not give any performance improvement.

Setting the hard disk

Optimizing virtual memory, why do you want to set the hard disk? This is because virtual memory files (also known as page files) are stored on the hard disk, and improving the performance of the hard disk can also improve the performance of the memory to some extent.

1. Enable Disk Write Cache

Right click on “My Computer" Select “Properties->Hardware”, open Device Manager and find the current Use the hard disk, right click and select Properties. In the <quo;Policy" page of the hard disk properties, open “Enable write caching on disk”. This option will activate the hard disk's write cache, which will increase the read and write speed of the hard disk. However, be aware that after this feature is turned on, if the computer suddenly loses power, it may result in irreparable data loss. It is therefore best to turn this feature back on with a UPS. Of course, if you don't do any important data processing work when you use your computer normally, it doesn't matter if you don't have a UPS. This function will not cause too much damage to the system. 2. Open Ultra MDA In Device Management, select “Basic/Secondary IDE Controller” in the IDE ATA/ATAPI Controller, right-click and select “Properties” to open the “Advanced Settings” page. The most important setting item here is “transfer mode”, generally should select “DMA (if available)”. 3. Configuring recovery options When a fatal error is encountered during Windows XP, a snapshot of the memory is saved as a file for system debugging. For most ordinary users, this file is of no use, but instead Affect the performance of virtual memory. So it should be closed.

Right click on “My Computer", select “Properties->Advanced", under "Performance", click “Set” button in “ In the Performance Options & rdquo; select “Advanced& rdquo; page. There is a “memory usage” option. If you set it to “system cache”, Windows XP will use about 4MB of physical memory as the cache for reading and writing the hard disk, which can greatly improve the physical memory and virtual memory. The speed of data exchange between. By default, this option is turned off. If your computer has sufficient physical memory, such as 256M or more, it is best to turn this option on. But if physical memory is tight, you should still leave the default options. Previous 12 3 Next Read more

Copyright © Windows knowledge All Rights Reserved