Windows 7 memory is a big reason - Superfetch memory management

  

For the use of Windows Vista, Windows7 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 know 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.

The Superfetch memory management mechanism preloads the application pages that users may use with memory free space; avoids system calls from the hard disk as much as possible; allows the application to open as fast as possible; 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?

Tips: What is a working set

We can simply understand memory as "data structure" "+“working set” A combination, in simple terms, the working space in the memory occupied by the process during the running process of the application is called the working set.

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-calling data from the hard disk, but re-attaching the pages in the data structure to the working set, is called soft-tuning. Everyone knows that the memory speed is much faster than the hard disk, so the use of "soft-keying" 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. And "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. The first time we open the program, we 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.

7 Reasons for large memory usage - Superfetch memory management" name=image_operate_73001271051144737 alt="Windows 7 memory usage is large - Superfetch memory management" src="http://s8.sinaimg. Cn/middle/4560b80bt7399f867fb37&690" width=500 height=288 real_src="http://s8.sinaimg.cn/middle/4560b80bt7399f867fb37&690">

When we left, the program was at No status is used. 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.

Windows7 Usage Suggestions

Anyone wants to optimize their computer to run at the optimal speed, and memory is a very important factor affecting the speed of the computer. Understand the memory management mechanism of Windows 7, and then introduce which methods can accelerate the system.

1, use more sleep and sleep

Because SuperFetch is preloaded after booting, it is recommended that you do not shut down. Try to use “hibernate" or "sleep", so that SuperFetch's preloaded content will be preserved. Thereby increasing speed and efficiency.

2, use ReadyBoost

Many users who have been upgraded from XP cannot fully play SuperFetch because the system's memory is not big enough. We can use the “ReadyBoost” function to help us solve this problem.

As long as the qualifying flash memory can speed up our system. The ReadyBoost feature uses the capacity of the flash memory as the storage space for SuperFetch preloaded pages. However, because Microsoft uses a special algorithm, it does not affect the life of the flash. Also, the flash memory for ReadyBoost is preferably 1 to 2.5 times the physical memory size. If the system's physical memory is large enough, there is no need to use ReadyBoost. Right click on the U disk drive to select the attribute and switch to the readyboost column. This function can be enabled on a standard USB flash drive.

Copyright © Windows knowledge All Rights Reserved