Virtual memory is important for any version of Windows

  

Computer Shop News Is there any secret trick or trick to make virtual memory more efficient or more performance? Let's take a look at it! I hope to help you! First, select the "custom size" method to handle virtual memory Select the "custom size" method to handle virtual memory, and set the maximum and minimum values ​​to the same value. There are many people who believe that using this method to handle virtual memory can help improve system performance. The reason they hold is that when the maximum and minimum values ​​are equal, the system does not need to shrink and expand the page file at all times. This work is saved, and the corresponding is to improve system efficiency. This method, many people believe that it is effective, but similarly, it has been pointed out that it has no effect. But no matter what, if you want to set the maximum and minimum values ​​equal, we must adhere to the principle that the size of the virtual memory must be sufficient, otherwise the system will be lighter and less efficient (to make more rewriting actions to vacate Out of space), serious will cause system instability. Second, the hard disk needs enough space If you are not a very experienced computer user, or there is no special use requirements, select the "system management size" method in windows xp to automatically handle virtual memory, in general should It will be safer and more stable than choosing the "custom size" method. However, one thing we must pay attention to is that since the virtual memory "page file" (pagefile.sys) shrinks and expands with the use of the computer, in order to make the system management virtual memory smooth and more flexible, we You must ensure that the hard disk where the paging file is located has enough free space. Third, the virtual memory is set on the faster hard disk. The virtual memory is set on the faster hard disk, which can make the virtual memory operation more efficient. However, if the two hard drives on your computer are as fast as they are, you should evenly distribute the virtual memory on two different hard disks (not different partitions of the same hard disk). Because synchronous read and write operations will more effectively improve the overall virtual memory performance of the system. Fourth, the finishing page file File data is stored on the hard disk for a long time, file fragmentation (fragment) will naturally occur. To maintain or improve the efficiency of your hard drive, we should defragment the hard drive from time to time. The so-called virtual memory is actually the data file on the hard disk. So, should virtual memory be sorted like ordinary files? The way Windows processes page files (ie virtual memory) is different from normal files. In contrast, page files are less fragmented than regular files, and it is usually not necessary to organize the page files. In fact, when Windows XP is defragmented, the page file is not involved. Although windows does not organize the page files, in fact, the page files also have fragments. Friends who pursue "synthesis" may still want to defragment the page file. You may wish to try the following: Right-click on the desktop <;My Computer" icon and select “Properties> in the function menu that appears. Go to the settings window of the system properties, and click on the mouse to select “Advanced” >;>“Performance>-->“Settings>-->“Advanced”-->“Change ”, in the subsequent "Virtual Memory" setting window, select "No paging file". Finally click the “Set” button to exit and restart your computer. After rebooting, check if there is any pagefile.sys page file in the root directory of the disk and delete it if any. After clearing the page file of virtual memory, we will now defragment the disk. When you are done, follow the previous steps to reset a certain amount of virtual memory and start your computer for it to take effect. After processing by the above method, the newly obtained page file will be unfragmented. In addition, if you want to see the specifics of the page file fragmentation? Start the disk defragmentation program, and perform a “analysis" for the hard disk with the page file, and then click “View report", and see the "page file fragmentation" column will be clear at a glance. Fifth, the ideal size of virtual memory I want to use the "custom size" method to deal with virtual memory, how much virtual memory should be set? In Windows XP, if the virtual memory is defined by the operating system itself, the system usually sets the minimum value to 1.5 times the physical memory. When expanding, the maximum is between 2.5 and 3 times the physical memory. In general, users who want to customize the size of virtual memory can refer to this ratio setting. Do you really want to refer to this ratio? If there is 1gb of memory on my computer, the minimum is set to 1.5gb and the maximum is 2.5 to 3gb. Thus. The pagefile.sys page file is at least 1.5gb, which is unrealistic. In fact, the system with large memory has a different standard when setting virtual memory than the system with small memory. If you have more than 512mb of memory or even 1gb of memory, since the physical memory is quite sufficient, the required virtual memory should be reduced. Therefore, in a system with large memory, the minimum value of virtual memory can be set to half of the physical memory. For example, there is 1gb of memory, the minimum value of virtual memory is set to 512mb, and the maximum value is maintained at 3gb for emergency needs. Note: Although the maximum value is set to 3gb, the system will not immediately appear the 3gb size of the pagefile.sys file. In fact, it will appear as the minimum value first, and will be incremented when needed for expansion. In addition, some big memory friends may simply not set virtual memory to force the system to use faster memory. In fact, this is not a wise move. It is said that everything is not going to be too absolute, and there is no virtual memory at all. The reason is that many applications are designed to use virtual memory. If not, it will cause system instability or crash. As for a small memory system, such as 256mb, the ratio of 1.5 times and 3 times is the most stable. That is, the virtual memory minimum is set to 384mb and the maximum value is 768mb.

Copyright © Windows knowledge All Rights Reserved