Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

If you speed up the window computer to reduce the waste of memory

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, the editor will bring you about how to speed up the window computer so as to reduce the waste of memory. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

The larger the memory, the faster the machine? I think most people's answer is yes, the hint from 256m to 512m is obvious, so take it for granted that the improvement from 512m to 1G will also be obvious. But I'll tell you from my own experience that 1 gigabyte of memory is slower than 512 megabytes of memory, as long as you don't set anything.

A few days ago, I expanded my Compaq N410c to 1G of memory, 2 × 512m pc133 SD, the result of the expansion found that the machine is not only the same as before, a bit stuck, and dormancy time has become longer, this is for sure, hibernation is to copy the things in memory to the hard disk, the larger the memory, the longer the dormancy time, which makes me very depressed, did I spend more than 500 upgrade my machine, but slower than the original.

I use memstate to monitor my memory in real time and find that there are more than 600 megabytes of free memory all the time, which shows that the memory of the machine is very sufficient, and even a lot of it is wasted, but why is the machine still so slow? So I went to google to find the reason, only to find that many people have found this problem, and there has been an authoritative explanation. Here I extract the key parts and share them with you with my own experience. Note: the modifications and usage here are for the XP system.

Modify the registry to take advantage of large memory

Now open the registry editor, find [HKEY_LOCAL_MACHINE\ System\ CurrentControlSet\ Control\ Session Manager\ MomoryManagement], and modify the key values in the right pane. (note that the premise for making a setting is that memory is preferably more than 512MB and is limited to Windows 2000/XP).

(1) "LargeSystemCache" (start a large system cache): open up a large memory space in memory for the pre-read operation of the disk file system. When the data continuously requested by the program increases, Windows automatically pre-reads through the system cache, so that the program can obtain the required data as quickly as possible. Because enabling this system buffer takes up more physical memory, the available physical memory that can be used by the program is reduced. Set its value to 1. In this way, the system cache increases from 4MB to 8MB.

(2) "SecondLevelDataCache" (improve cpu performance): the processing speed of CPU is much faster than the access speed of memory, and memory is much faster than hard disk. In this way, a bottleneck effect affecting performance is formed between CPU and memory, and between memory and disk. The previous "LargeSystemCache" is designed to alleviate memory and disk bottlenecks, while CPU also sets up a buffer mechanism L2 Cache (second-level cache) in order to quickly obtain and process data from memory. Adjusting this key value can make Windows better cooperate with CPU to obtain higher data pre-read hit rate by using this cache mechanism. It is recommended to set it to 512.

(3) DisablePagingExecutive (disable pagefile): change its value to 1 (hexadecimal), which will force all programs and data to run in physical memory instead of virtual memory. Obviously, when there is enough physical memory to complete the required tasks, doing so will result in a huge improvement in system performance. Enabling it may be a disaster for users with only 64MB memory-the system goes wrong frequently until it crashes.

(4) "IOPageLockLimit" (Custom input / output buffer size): the input / output system is the channel for transferring data between the device and the microprocessor, and the data transfer will be smoother when the buffer size is expanded. By the same token, the size of the specific setting depends on the size of physical memory and how many tasks you are running. Generally speaking, if you have 64MB in memory, you can set the hexadecimal value of the double byte key to 400 (1MB), 800 (2MB) or 1000 (4MB) 128MB memory can be set to 1000 (4MB), 2000 (8MB) or 4000 (16MB); 256MB memory 4000 (16MB) or 8000 (32MB). Of course, if you have more memory, you can set it to 10000 (64MB) or more. When set to 0, Windows is automatically configured.

After setting up these, restart the system. In fact, the effect of modifying these is not very obvious, but there is always a psychological comfort, the following is the place where you feel a qualitative leap.

Using virtual hard disk software

Here to introduce you to a software, RAMDisk Plus, this software is to divide part of the memory as a disk partition, you can transfer some temporary folders to this partition, such as the temporary folder of IE, which will greatly improve your speed of browsing the web. I think we all know the difference between the transmission speed of memory and the transmission speed of hard disk. Using a part of memory as a hard disk is equivalent to adding a hard disk of hundreds of thousands of revolutions, and the speed increase can be imagined. This is my personal experience. I delimited the 100m in my memory as a partition, and then moved the temporary folder of IE to it. After restarting, I opened the web page for a moment. In the past, even in the middle of the night, it was not so fast. It seems that most of the time the Internet speed is not the bottleneck, but the machine is the bottleneck, especially those pages with more pictures that need to be cached. You can try. After delimiting this 100m memory, my normal available memory is still above 500m, and there is still a lot of space. Fortunately, RAMDISK plus can add multiple partitions, I can draw out a few more partitions, and then put some commonly used programs in it. It must be much faster to run this way.

But remember, after the memory is powered off, everything is gone, but fortunately, Ramdisk plus provides an option to automatically save the virtual hard disk partition when you turn it off, that is, you can save the things in the virtual hard disk partition to the place you specify in the actual hard disk partition when you turn it off, and then load back when you turn it on, which is similar to the reason for dormancy, but this will lead to a long shutdown time and boot time. So I suggest only putting temporary files on the virtual hard disk partition, anyway, the temporary files will be emptied sooner or later, and putting them on the ramdisk saves the trouble of manual emptying.

The above is what the editor shares for you. If you speed up the window computer so as to reduce the waste of memory, if you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report