Standard settings for Windows XP Virtual Memory

Source: Internet
Author: User
Tags temporary file storage

What is the role of virtual memory? How many settings are better? This article will introduce it in detail. All the steps below follow Windows

The XP operating system is used as an example.

Create a "Standard Room" for Virtual Memory"

When the system is running, you must first transfer the required commands and data from external memory (such as hard disk, floppy disk, and optical disc) to the memory, CPU

Read commands or data from the memory for computation, and store the computation results into the memory. The memory acts like a "two-handed"

Function. When running a program requires a large amount of data and occupies a large amount of memory, the memory warehouse will be "full", and in this "warehouse"

"There is always a part of the data that is not used for the moment to occupy a limited space, so we need to" please "this part of" inert "data to free up

For "active" data. In this case, you need to create another backup "warehouse" to store "inert" data. Hard Disk Space

Therefore, Microsoft Windows selects the address of the backup "warehouse" on the hard disk, and the backup "warehouse" is the virtual memory.

By default, the virtual memory is stored in the system partition of the hard disk as a swap file named Pagefile. sys.

Manually set virtual memory

By default, the system manages the virtual memory. However, the default management mode is usually conservative and is automatically adjusted.

The page file is not continuous, and the Read and Write efficiency is reduced, the work efficiency is not high, so there are often "insufficient memory" Such

Tip: let's set it by ourselves.

① Right-click the "my computer" icon on the desktop and choose "properties" from the shortcut menu to open "System Properties"

Window. Click the "advanced" tab in the window. The Advanced Settings dialog box is displayed;

② Click the "Settings" button in the "performance" area and select the "advanced" tab in the "performance options" window to open its

Dialog box.
  
③ In this dialog box, you can see the virtual memory area. Click "change" to go to the "virtual memory" setting window. Select

For a partition with a large idle capacity, select the check box before "Custom size" and enter the specific values in "initial size" and "maximum value ".

Click "Settings> OK", and then restart the computer to make the virtual memory settings take effect.

The above is the virtual memory setting method in the Windows XP operating system. I will also briefly mention it in the Windows 98 operating system.

Settings:

In Windows 98, choose Start> Settings> Control Panel> system> performance> virtual memory. In the displayed dialog box

Select the "user-specified virtual memory Settings" option, set the location of the virtual memory in the appropriate partition, and set the location of the virtual memory

Click "OK" to complete the operation.

Suggestion: You can create a small partition dedicated to virtual memory, IE temporary file storage, and so on. In the future, you can regularly

Disk sorting can improve the efficiency of the computer.
Custom virtual memory

1. General settings

According to the general setting method, the minimum and maximum values of the virtual memory swap files can be set to 1.5 times of the memory capacity at the same time.

The storage capacity is relatively large. For example, if the memory is 512 MB, the occupied space is also considerable. So we can set the virtual Intranet

Basic memory value: if the memory capacity is below 1.5 MB, it is set to 256 times. If the memory capacity is above MB, it is set to half of the memory capacity;

The value between MB and MB is set to the same as the memory capacity.

2. Precise setting

Because it is impossible for everyone to operate the same application, for example, some people need to run large programs such as 3 DMAX and Photoshop.

And some people may just type and play some games, so the virtual memory requirements are not the same, so we need to adapt to local conditions

Set the value of virtual memory space.

① Set the "initial size" and "maximum value" customized for the virtual memory to two identical values, such as 500 MB;

② Open "Control Panel> Management Tools> performance" in sequence. In the displayed "performance" dialog box, expand"

Performance Logs and alarms, select "counter logs" under it, right-click in the blank area on the right, and choose "New" from the context menu

Create Log Settings "option;

③ Fill in any name in the pop-up dialog box "name", such as "virtual memory test ". In the displayed window, click "add ".

Counter button to enter the next window;

④ In this window, open the "performance object" drop-down list, select "Paging File", and select "select from List"

Digit, and select "% Usage" in the column below

Peak, select "select example from list", select "_ Total" in the column below, and click "add> close" to end

.

⑤ To facilitate viewing log files, open the "Log Files" tab and select "log file type" as "text file"

Click "OK" to return to the "performance" main interface;

⑥ A "virtual memory test" project can be found in the column on the right. If the project is red, it indicates that it has not been started,

Click this item and right-click the "Start" option in the menu.


Next, run some frequently-used applications. After running for a period of time, enter the default directory"

Perflogs”, find the dig Virtual Memory Test _000001.csv "and open it with the Notepad program. In this content, we can view each column

The second-to-last value in. This value is the ratio of the virtual memory usage. Find the maximum value of this value. For the ratio of "46", use 46

% Multiplied by 500 MB (the previously set virtual memory value), the resulting value is 230 MB.


This value can be used to set the initial size to 230 MB, and the maximum value can be set based on the disk space size. It is generally recommended to set this value.

It is 2 to 3 times the minimum value. In this way, we can make the virtual memory more accurate and make our machine run more smoothly and efficiently.

.

Author: bigblock

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.