Win 7 memory usage is not equal to the system speed is slow

  

For the use of Windows Vista and Windows 7 memory, many people have misunderstandings. Most users upgrading from XP believe that the more free memory should be available when the system is idle. In the era of 7 (more precisely, after Vista), this concept of change should be left in everyone's memory. So here is the Windows7 new memory management mechanism "Superfetch" introduced to everyone, let everyone understand the reason why Windows7 memory is large.

What is the difference between Windows 7 memory management

"Superfetch" is not a new technology, it has been adopted in the era of Vista, but the number of people who have used Vista is relatively small, and the XP era The various computer skills are still deeply rooted in the hearts of the people, so many people are wondering why Windows 7 memory is so large.

Superfetch memory management mechanism will pre-load the application page that the user may use with the available memory space; avoid the system from calling the page of the hard disk as much as possible; let the application open at the fastest speed; The computer is idle for a long time and the sudden use becomes responsive; after exiting the large application, the page that was previously forced to transfer to the virtual memory is actively reloaded into the memory. This seems to be a bit more professional, so looking down, it will be a good understanding of these features.

Why does it feel slow to start the program for the first time?

I believe everyone has had a similar experience. When I boot up, the first time I run a program, for example, Word, it may take 5 seconds to start. When I turn it off and then turn it on, it may take only 2 seconds. If I don't close it, just open another Word file, it's faster. What is the cause of this?

When we booted up, there was no Word employee (page) in the working set, and he was still at home (hard disk). So when I summoned him, it went from home to the office (working set). This process is called hard paging, and of course it takes a long time. When we closed Word, he was sent to another room in the building, but I immediately summoned him again. At this time, the data in the other room has not been cleared, so he does not have to come from home. It is straightforward to introduce directly from the data structure. When you don't close the program Word, he doesn't have to make way for other programs. It still exists in the office (working set), and it will be faster when he summons him. Such a process of "re-recalling data from the hard disk, but re-attaching pages in the data structure to the working set" is called soft paging. Everyone knows that the memory speed is much faster than the hard disk, so the use of "soft paging" is the reason why the second time the program is running very fast.

Windows 7 memory is a big reason

Now we know that when there is a program page in memory, it will make the program start faster. The "Superfetch" in Windows7 already has the learning function. Since the first use of Windows 7, Superfetch has started to record our usage habits, and the pages of the programs we use often are loaded in advance after booting, then when we The first time you open the program, you get the same speed as the second one. So these preloaded pages will make our memory footprint more. Simply put, let all the program operations in memory, avoid using hard disk hard paging space, which is why Windows 7 takes up a lot of memory.

View preloaded memory

In the XP era, you may have had a similar experience: when you started using some programs, you left because of something. When I came back, I found that the system responded very slowly, especially bad. This is due to the very inefficient memory management mode of XP.

When we leave, the program is not in use. At this time, some background programs of the system, such as defragmentation and anti-virus software, will run at full speed, causing some of the program pages we use to be squeezed into the virtual memory of the hard disk. However, when these daemons complete the task, the XP system does not import the pages that were previously pushed into virtual memory back into memory. So when you use the computer again, the system will be busy with the temporary deployment, or even hard page. The program response is extremely slow. So it seems that XP has a lot of free memory, and in fact it doesn't make much difference.

Copyright © Windows knowledge All Rights Reserved