当前位置:首页 > 内存 > 正文

16g内存虚拟内存要调多大(16g物理内存虚拟内存设置多少合适)

  • 内存
  • 2023-12-23 01:28:52
  • 9486
How much virtual memory should be set for 16g memory?

Under normal circumstances, Windows can automatically allocate and manage virtual memory. It can dynamically adjust the size of virtual memory based on actual memory usage.

Generally, the default virtual memory size is a range value. It is best to give it a fixed value, so that disk fragmentation is less likely to occur. The specific value is determined according to the size of your physical memory, usually 128MB physical The memory is set to 2-3 times, 256MB is set to 1.5-2 times, 512MB is set to 1-1.5 times, 1GB is set to 0.5 times or not set.

Common misunderstandings about virtual memory

Virtual memory should not be set on the C drive (i.e. the system disk). This statement is actually wrong. When there is sufficient remaining space, the system disk is the disk that reads and writes system files and page files most frequently on the hard disk.

The most time-consuming thing in this operation is head addressing and positioning, so if you set other disks, the cross-partition positioning time will definitely be longer than the local positioning time set on the C drive, so in fact, the virtual Setting the memory to the C drive is the fastest and most efficient.

What is the best virtual memory for 16G memory?

The optimal virtual memory for 16G memory is 24576MB. The specific operation steps are as follows:

Operating environment: Lenovo Y7000, win10, system settings 2.0.

1. Press the "win+r" key combination on the keyboard at the same time, click OK, then enter "" in the run window and click OK.

2. In the system properties, click "Advanced Options".

3. In performance, you can set the processor plan, memory usage, and virtual memory. Click the settings button as shown.

4. Then click the "Advanced" option in the Performance Options column.

5. In the virtual memory column below, click the "Change" button at the icon location.

6. For the virtual memory page, first uncheck the icon.

7. Check the custom size and set the virtual memory. Here it is set to 10G. You can set it according to your own needs.

8. After setting and pressing Enter, click the "Set" button in the picture above, and then the system will prompt that it will take effect after restarting.

How much virtual memory is set for 16g running memory?

For 16g running memory, set 24576MB virtual memory.

The set size of virtual memory is generally 1.5 times that of physical memory. For 16G memory, you can consider adjusting it to 24576MB. If it is only used for office use, then the running memory is greater than or equal to 4G, and there is no need to set virtual memory. If it is used for playing games or other work, you can set up virtual memory to prevent the system from freezing.

Windows' virtual memory settings page file can be placed on any hard drive connected to the system. The size of this virtual memory can be customized and changes dynamically. The initial size and maximum value need to be set.

You can also choose not to allocate manually and let the operating system automatically manage it; of course, you can also set it to no page file, so that the system will have no virtual memory and the operation of the system may be affected. Therefore, Normally don't set it up this way.

Key issues of virtual memory:

(1) Scheduling problem: deciding which programs and data should be transferred into main memory.

(2) Address mapping problem: when accessing the main memory, the virtual address is changed into the physical address of the main memory (this process is called internal address transformation); when the auxiliary memory is accessed, the virtual address is changed into the auxiliary memory. The physical address of the memory (this process is called external address translation) for page change. In addition, issues such as main memory allocation, storage protection and program relocation must be solved.

(3) Replacement problem: Decide which programs and data should be transferred out of main memory.

(4) Update issue: Ensure the consistency between main memory and auxiliary memory.

Under the control of the operating system, the hardware and system software solve the above problems for users, thus greatly simplifying application programming.

How much virtual memory should be set for 16g?

The 16g memory setting virtual memory is 24576MB.

The setting size of virtual memory is generally 1.5 times of physical memory. 16G memory can be considered to be adjusted to 24576MB. If it is only used for office use, then the running memory is greater than or equal to 4G. In any case, There is no need to set up virtual memory. If it is used for playing games or other work, set up virtual memory to prevent the system from crashing.

Virtual memory should be in C, D, E, F, G, H, etc., the earlier in the drive letter, the better, because the access speed of running memory is much greater than the access speed of any hard disk. Use a hard disk instead of running memory. Speed ​​is very important. Windows' virtual memory setting page file can be placed on any online hard drive in the system. The size of this virtual memory can be customized and changes dynamically. The initial size needs to be set. and maximum value.

Introduction to virtual memory

Virtual memory is a technology of computer system memory management that makes the application think that it has continuous available memory. In fact, it is usually divided into multiple physical memory fragments, and some are temporarily stored on external disk storage for data exchange when needed. Most operating systems use virtual memory, such as the virtual memory of the Windows family. Linux swap space, etc.

There are three scheduling methods: paging, segment, and segment page scheduling. Page scheduling divides the logical and physical address space into fixed-size pages. The main memory is numbered in page order, and each independently addressed program space has its own page number order. By scheduling each page of the program in the auxiliary memory, it can be discretely loaded into different page locations in the main memory, and can be calculated one by one according to the table. Corresponding to retrieval, the advantages of page scheduling are that the fraction in the page is small, the page table is transparent to the programmer, the address change is fast, and the transfer operation is simple.