A few days ago, I expanded my Compaq n1_c to 1 GB memory and 2 × 512 M pc1_sd. After the expansion, I found that the machine is not only the same as the original one, but also has a point card, and the sleep time is getting longer. This is for sure. Sleep means copying the content in the memory to the hard disk. The larger the memory, the longer the sleep time, which makes me very depressed, I spent more than 500 upgrading my machine, but it was slower than before.
I used the memstate software to monitor my memory in real time and found that there was always more than 600 mb of spare memory, which showed that the machine's memory was very adequate, even a lot of them are being wasted, but why is the machine still so slow? So I went to Google to find the cause, and found that many people had found this problem and had an authoritative explanation. Here I will extract the key parts, I will share with you my experiences. Note: The modifications and usage here are for the XP system.
Modify the Registry to take advantage of large memory
Open the Registry Editor, find [HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager \ momorymanagement], and modify the key value in the right pane (note that, the premise is that the memory should exceed 512 MB and be limited to Windows 2000/XP ).
(1) "largesystemcache" (enable a large system cache): opens up a large memory space in the memory for pre-read operations on the disk file system. WhenProgramWhen the number of consecutive requests increases, Windows uses the system cache to automatically pre-read the data so that the program can obtain the required data as quickly as possible. Enabling this system buffer will occupy a large amount of physical memory, reducing the available physical memory that can be used by the program. Set the value to 1. In this way, the system cache is increased from 4 MB to 8 Mb.
(2) "secondleveldatacache" (improves CPU performance): the CPU processing speed is much faster than the memory access speed, and the memory is much faster than the hard disk. In this way, the performance bottleneck is formed between the CPU and memory, and the memory and disk. The previous "largesystemcache" was designed to alleviate the memory and disk bottlenecks, in order to quickly obtain and process data from the memory, the CPU also sets a buffer mechanism L2 cache (second-level cache ). By adjusting this key value, Windows can better use the cache mechanism with the CPU to achieve a higher data pre-read hit rate. We recommend that you set it to 512.
(3) disablepagingexecutive (disable page files): change the value to 1 (hexadecimal), which will limit all programs and data to physical memory, instead of using virtual memory. Obviously, when there is enough physical memory to complete the required tasks, this will greatly improve the system performance. For users with only 64 MB of memory, enabling it may be a disaster-frequent system errors until they crash.
(4) "iopagelocklimit" (custom input/output buffer size): the input/output system is the channel for data transmission between the device and the microprocessor, data transmission is smoother when the buffer size is expanded. Similarly, the size of the specific settings depends on the size of the physical memory and the number of running tasks. Generally, if the memory has 64 MB, you can set the hexadecimal value of the double-byte key to 400 (1 MB), 800 (2 MB), or 1000 (4 MB) 1000 MB memory can be set to 2000 (4 MB), 4000 (8 Mb), or 4000 (16 Mb); 8000 (16 Mb) or (32 MB ). Of course, if you have more memory, you can set it to 10000 (64 MB) or more. If it is set to 0, Windows will automatically configure it.
After these settings, restart the system. In fact, the effect of modifying these changes is not very obvious, but there is always a psychological comfort. The following is what makes you feel a qualitative leap.
Using Virtual hard disk Software
Here we will introduce a software, ramdisk Plus, which is used to divide a part of the memory into a disk partition. You can transfer some temporary folders to this partition, for example, ie's Temporary Folder will greatly speed up your web browsing. The gap between the memory transmission speed and the hard disk transmission speed is clear to everyone. Using a portion of the memory as the hard disk is equivalent to adding a hard disk of several hundred to 100,000 rpm, and the speed improvement can be imagined. This is my personal experience. I used MB in my memory as a partition, and then moved the temporary ie folder to it. After restarting, it was just a moment to open the webpage, in the past, even in the middle of the night, the network speed was not so fast. It seems that many times the network speed is not a bottleneck, but the machine is a bottleneck, especially those webpages with many images that need to be cached, you can try it. After setting out the MB memory, I still keep the normal available memory above MB, and there is still a lot of space. Fortunately, ramdisk plus can add multiple partitions and I can draw out several more partitions, and then put some common programs in, so it will certainly be much faster to run.
But remember, everything in the memory will be gone after the power is down, but fortunately, ramdisk Plus provides the option to automatically save when shutdown, that is, when you shut down, you can save the items in the virtual hard disk partition to the place you specified in the actual hard disk partition, and load them back when you start the system, which is similar to sleep, this will lead to a long shutdown time and boot time. Therefore, we recommend that you only put temporary files on the virtual hard disk partition. The temporary files will be cleared sooner or later, putting it on ramdisk saves the trouble of manual clearing.