Analysis of the memory usage of Win7 operating system

  
Superfetch is not a new technology, it has been adopted in the era of Vista, but given the small number of people who have used Vista, and the various computer skills of the XP era 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 be turned on at the fastest speed; it does not cause the computer to be idle for a long time. Sudden use becomes sluggish; after exiting a large application, the pages that were previously forced into virtual memory are actively reloaded into 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. This process of re-attaching the data in the data structure to the working set without re-invoking the data from the hard disk is called soft paging. Everyone knows that the memory speed is much faster than the hard disk, so the use of soft-tuning pages 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 the memory, the program will start faster. Superfetch in Windows 7 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 first When you open the program once, 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 left, the program was not in use. At this time, some background programs of the system, such as defragmentation and anti-virus software, will run at full speed, and some of the program pages we use have 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. Windows 7 use recommendations 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, we understand the memory management mechanism of Windows 7, and then introduce Which methods can speed up 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 SuperFetch's preloaded content will be preserved. Thereby increasing speed and efficiency. 2, using ReadyBoost Many users who have been upgraded from XP, because the system's memory is not big enough, so can not fully play the SuperFetch function. We can use the ReadyBoost feature to help us solve this problem. As long as the eligible flash can accelerate our system. The ReadyBoost feature uses the capacity of the flash memory as the storage space for SuperFetch preloaded pages. However, since the soft algorithm uses a special algorithm, it does not affect the life of the flash memory. 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 for the U disk with the standard speed. Not all U disk can be used Through the understanding of SuperFetch, I hope more friends will enter the team using Windows 7. In fact, the same as Windows, where can you go? It is not a habit to be a temporary one. After all, after Vista's tempering, Windows 7 will become more mature! Tips: What is a working set? We can simply understand memory as a combination of data structure working sets. Simply put, the application is running. The workspace in memory occupied by a process is called a working set.
Copyright © Windows knowledge All Rights Reserved