SoFunction
Updated on 2025-04-14

Computer speed up memory

A few days ago, I expanded my Compaq N410c to 1G memory and 2×512M pc133 SD. After expansion, I found that the machine is not only the same as before, but also the sleep time has become longer. This is for sure. Hibernation means copying the things in the memory to the hard disk. The larger the memory, the longer the sleep time, which makes me very depressed. Did I spend more than 500 to upgrade my machine, which is slower than before.

I used memstate software to monitor my memory status in real time and found that there were always more than 600 megabytes of spare memory, which shows that the machine's memory is very sufficient, and many of them are even wasted, but why is the machine still so slow? So I went to Google to find the reason, and found that many people have discovered this problem and have authoritative explanations. Here I will excerpt the key parts and share them with you based on my experience of using them. Note: The modifications and usage methods here are for XP systems.

Modify the registry to give full play to the advantages of large memory

Now please open the registry editor, find [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\MomoryManagement], and modify the key value in the right pane (it should be noted that the prerequisite for setting is that the memory should be more than 512MB and is limited to Windows 2000/XP only).

(1) "LargeSystemCache" (start large system cache): open a large memory space in memory for pre-read operations of disk file system. When the data requested by the program increases continuously, Windows automatically pre-reads through the system cache, allowing the program to obtain the required data at the fastest speed. Since enabling this system buffering will consume more physical memory, the available physical memory that can be utilized by the program is reduced. Set its value to 1. In this way, the system cache is increased from 4MB to 8MB.

(2) "SecondLevelDataCache" (improving CPU performance): The CPU's processing speed is much greater than the memory access speed, and the memory is much faster than the hard disk. In this way, a performance-affecting bottleneck effect is formed between the CPU and memory and between the memory and disk. The previous "LargeSystemCache" was designed to alleviate the bottleneck of memory and disk. In order to quickly obtain processing data from memory, the CPU also sets up a buffering mechanism L2 Cache (level 2 cache). Adjusting this key value can enable Windows to better cooperate with the CPU to use this cache mechanism to obtain higher data pre-read hit rate. It is recommended to set it to 512.

(3) DisablePagingExecutive: Change its value to 1 (hexadecimal), which will force all programs and data to run in physical memory instead of using virtual memory. It is obvious that when there is enough physical memory to complete the required tasks, doing so will result in a huge improvement in system performance. For users with only 64MB of memory, it may be a disaster - the system makes frequent errors until it crashes.

(4) "IOPageLockLimit" (customized input/output buffer size): The input and output system is the channel for data transmission between the device and the microprocessor. When its buffer size is expanded, data transmission will be smoother. Similarly, the specific size of the setting depends on the size of the physical memory and the number of running tasks. Generally speaking, if the memory has 64MB, the hexadecimal value of the double-byte key can be set to 400 (1MB), 800 (2MB), or 1000 (4MB) and 128MB of memory can be set to 1000 (4MB), 2000 (8MB) or 4000 (16MB); 256MB of memory can be 4000 (16MB) or 8000 (32MB). Of course, if there is more memory, you can set it to 10000 (64MB) or even more. When set to 0, Windows will automatically configure it.

After setting 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 where you feel a qualitative leap.

Using virtual hard disk software

Here I want to introduce a software, RAMDisk Plus, which divides a part of the memory into a disk partition. You can transfer some temporary folders to this partition, such as IE's temporary folders, which will greatly improve your browsing speed of web pages. I think everyone knows the difference between the memory transmission speed and the hard disk. Using part of the memory as a hard disk is equivalent to adding a hard disk with hundreds of thousands of revolutions. The speed improvement can be imagined. This is my personal experience. I tied out 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 with good internet speed, it was not so fast. It seems that in many cases, internet speed is not the bottleneck, but the machine is the bottleneck, especially those web pages with more pictures and need to be cached. You can try it. After demarcating 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, and I can demarcate several partitions and put some common programs in it. This will definitely run much faster.

But remember, after the memory is powered off, everything inside is gone, but fortunately, Ramdisk plus provides the option of automatic saving of shutdown, that is, when shutting down, you can save the things in the virtual hard disk partition to the place you specified in the actual hard disk partition, and then load it back when booting up. The principle is similar to sleep. However, this will cause the shutdown time and boot time to become very long. Therefore, I suggest only putting temporary files on the virtual hard disk partition. Anyway, temporary files will be cleared sooner or later, and putting them on ramdisk also saves the trouble of manually clearing them.