Necessity of virtual memory in Win8

Source: Internet
Author: User


Analysis of the necessity of virtual memory in Win8 the current memory cabbage price, 4G is also 100, the mainstream configuration is 8G, 16G memory, with the new Win8 system, of course it is a variety of awesome! Many users will think that the current computer bottleneck is the hard disk. If I don't have enough physical memory, I heard that the virtual memory is a hard disk, isn't it slower? In the past, the virtual memory was not large enough. How can I set the best virtual memory for my computer? What about the virtual memory? Introduction to www.2cto.com virtual memory: virtual memory is a technology for memory management in computer systems. It makes the application think that it has continuous available memory (a continuous and complete address space). In fact, it is usually divided into multiple physical memory fragments, some of them are temporarily stored in external disk storage for data exchange as needed.

Compared with systems that do not use the virtual memory technology, systems that use this technology make it easier to write large programs and use real physical memory (such as RAM) more efficiently. The virtual memory doesn't just mean "using disk space to expand the physical memory"-it just expands the memory level to include the hard drive. Extending the memory to the disk is only the result of using the virtual memory technology, it can also be used to overwrite or swap all the inactive programs and their data to the disk. The definition of virtual memory is based on the definition of the address space, that is, the address space is defined as a "continuous Virtual Memory Address", in order to "cheat" the program, make them think they are using a large block of "continuous" addresses.
Based on the above introduction, we can find that the virtual memory used by hard disks on the Internet is not accurate, and a very clear statement is also given, using Virtual Memory will not slow down the speed of physical memory, but will make the physical memory more efficient! Www.2cto.com, then the second question in the first section will be clear. What if the virtual memory cannot be opened? Open! How much is the virtual memory available? Now the first question is left. How much is the virtual memory available? How to Set it? In the following example, the files used by Windows to implement virtual memory are stored in the form of pagefile. sys (with hidden and system attributes) in the root directory of the system partition. When the physical memory and page files are insufficient, the system automatically generates temppf. sys (meaning temporary pagefile, temporary page file) to supplement, temppf. the sys size is between the page file size and the maximum value. Because the virtual memory uses the hard disk, non-continuous Writing of files on the hard disk will produce disk fragments. Therefore, once the files or partitions used for implementing the virtual memory are too fragmented, the hard disk seek time will be extended, affects system performance.
If you mistakenly believe that the Windows system frequently reads and writes pagefile. sys, disk fragments are generated. Because once the pagefile. sys file is created, the continuous distribution in the partition is fixed, and the file read and write in the file does not increase or decrease the file size of pagefile. sys. The system creates temppf. sys only when the page file is exhausted, causing disk fragmentation. If you do not like the above section, you can take a look at my summary: www.2cto.com. If the virtual memory you set is not enough, a temporary virtual memory will be created, this temporary virtual memory will cause performance degradation and disk fragmentation. The virtual memory setting mainly depends on the configuration of your computer. 1. If your memory is less than 4 GB, we recommend that you set the virtual memory to 1.5 times or 2 times your physical memory. 2. If your memory is 4 GB to 8 GB, you can set it to 1 or 1.5 times your physical memory; 3 or 8 GB or above, you can set it to 1 or 8 GB virtual memory.

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.