Win XP virtual memory standard setting method

  
What is the role of virtual memory? How much is it better? This article will give a detailed introduction to it. The following steps are all based on the Windows
XP operating system.
Create a "standard room" for virtual memory
When the system is running, first transfer the required instructions and data from the external memory (such as hard disk, floppy disk, CD, etc.) into the memory, CPU
Read instructions or data from memory to perform operations, and store the results in memory. The role of memory is like a "secondary" effect. When running a program that requires a lot of data and takes up a lot of memory, the memory warehouse will be "filled up", and in this "warehouse
" there is always a part of the temporarily unused data occupying a limited space, so This part of the "inert" data "please" out to free up
places for "active" data. At this point, you need to create another backup "warehouse" to store "lazy" data. Since the space of the hard disk is very large, the Microsoft Windows operating system selects the address of the backup "warehouse" on the hard disk. This backup "warehouse" is virtual memory.
By default, virtual memory is stored in the system partition of the hard disk as a swap file named Pagefile.sys.
Manually set virtual memory
In the default state, the system manages virtual memory, but the default management mode of the system is usually conservative. When the
is automatically adjusted, the page file will be discontinuous and lower. Reading and writing efficiency, work efficiency is not high, so there will often be "insufficient memory" such as
prompts, let us set it up.
1 Right-click the "My Computer" icon on the desktop and select the "Properties" option in the right-click menu that appears to open the "System Properties"
window. Click the "Advanced" tab in the window, the dialog box for advanced settings appears;
2 Click the "Settings" button in the "Performance" area, select the "Advanced" tab in the "Performance Options" window that appears, open it For the
dialog box.

③ In the dialog box can be seen on the virtual memory area, click the "Change" button to enter the "virtual memory" settings window. Select
a partition with a large free capacity, check the box in front of "Custom Size", fill in the specific values ​​in the "Initial Size", "Maximum
" column, and then click " You can set the →OK button and restart your computer to make the virtual memory settings take effect.
The above is the setting method of virtual memory in Windows XP operating system. The author also briefly mentions the setting of
in Windows 98 operating system:
In Windows 98 system, enter "Start → Settings → Control Panel→System→Performance→Virtual Memory”, select the “User-specified virtual memory setting” option in the pop-up dialog box
, set the virtual memory location in the appropriate partition, and set the virtual memory.
Minimum and maximum values, and finally click the "OK" button to complete.
Suggestion: You can divide a small partition for virtual memory, IE temporary file storage, etc., and you can periodically defragment the partition, which can improve the working efficiency of the computer.
Tailored virtual memory
1. Common setting method
According to the general setting method, the virtual memory swap file minimum and maximum values ​​can be set to 1.5 times the memory capacity, but if inside < BR> The storage itself is relatively large, for example, the memory is 512MB, then the space it takes up is also considerable. So we can set the basic value of the virtual
stored in this way: the memory capacity is less than 256MB, it is set to 1.5 times; above 512MB, set to half of the memory capacity; between 256
MB and 512MB Set to the same value as the memory capacity.
2. Accurate setting method
Because the actual application of each person is not the same, for example, some people want to run large programs such as 3DMAX, Photoshop, etc., and some people may just type typing, play some small The game, so the requirements for virtual memory are not the same, so we have to set the virtual memory space value according to local conditions.
1 first set the virtual memory custom "initial size", "maximum value" to two the same value, such as 500MB;
2 and then open "Control Panel → Administrative Tools → Performance", appear In the "Performance" dialog box, expand "
Performance Logs and Alarms" in the left column, select the "Counter Log" under it, right click in the blank space in the right column, and select "New" in the right-click menu.
Create Log Settings" option;
3 Fill in any name in the "Name" column of the pop-up dialog box, such as "Virtual Memory Test". Click the "Add
Counter" button in the window to go to the next window;
4 In this window, open the "Performance Object" drop-down list, select "Paging File", and check "Select from the list" Count
Digitalizer and select “%Usage
Peak” in the lower column; check “Select sample from list”, select “_Total” in the lower column, and then click “Add→” Close "End
.
5 In order to view the log file conveniently, you can open the "Log File" tab, select "Log File Type" as "Text File"
, and finally click the "OK" button to return to the "Performance" main Interface;
6 In the right column, you can find a "virtual memory test" project. If the project is red, it means it has not been started.
Click this item and select the "Start" option in the right-click menu. Just fine.

Then run some of their common applications, running for some time, enter the default directory "
PerfLogs" under the partition where the system log file, find the "virtual memory test _000001.csv" and use Notepad This program opens it. In this content, we look at the second-to-last value in each column
. This value is the usage ratio of virtual memory. Find the maximum value of this value, such as "46" in the figure. Multiply by 46
% by 500MB (the value of the virtual memory set previously), and the value is 230MB.

With this value, the initial size can be set to 230MB, and the maximum value can be freely set according to the disk space. It is generally recommended to set it to
to 2 to 3 times the minimum value. In this way, we can make the virtual memory more precise, so that our love machine runs more smoothly and more efficiently
.
Copyright © Windows knowledge All Rights Reserved