-
Increasing the memory can increase the speed of the computer, i.e. the speed of program loading and scheduling on the run, but only if the current RAM memory is insufficient or too small.
Because when the memory is insufficient, the default operating system will move part of the program A in the memory to a virtual memory area on the hard disk, that is, the physical location is moved from the memory to the hard disk, so that a piece of space can be freed up in the RAM memory, so that the newly run program B can be loaded into the RAM memory to run.
If program B does not need to be used temporarily, but it is not closed, and the user needs to run program A at this time, but at this time, program A is in the virtual memory area of the hard disk, and needs to be reloaded into the RAM memory to run, so that the operating system will continue to move the program in the RAM memory to the virtual memory area of the hard disk according to the algorithm, and then move program A to the RAM memory, so that program A can resume normal operation.
In this process, because of the lack of RAM memory, the program is repeatedly moved from RAM memory to the hard disk (virtual memory area), and then moved back to memory from the hard disk, which is bound to increase the read and write time of the hard disk in the program running, and the hard disk reading and writing is the slowest link in the computer operation link, so that the time of program running must be increased, and the computer program running speed will inevitably slow down, that is, the computer speed will slow down.
Increasing the memory can reduce or even eliminate this "exchange of programs in the RAM memory and the virtual memory area of the hard disk", which can improve the speed of the computer.
-
There are two types of RAM, static (SRAM) and dynamic (DRAM). Now the computer memory is made of dram, and the dynamic is that it can refresh the data in it at certain intervals, because the data in the dram structure needs capacitors to be saved, and the data will be wrong due to leakage for a long time. DRAM is simple in structure and inexpensive.
The structure of SRAM is much more complex, and the first-level and second-level caches in the CPU are made of SRAM, because of the limitation of CPU size and the complex structure of SRAM, so the integrated cache is not large. But the caching speed is fast. It can work at the same frequency as the CPU core (generally on GHz, and the frequency on the memory does not seem to be yet).
PS: Although the main frequency is on GHz. However, the working frequency of the cache should be the same as the external frequency of the CPU, that is, several hundred MHz.
The CPU also has an external frequency! Oh, I forgot! )
-
Whether increasing memory can speed up the computer requires two scenarios.
With the popularization of computers, computer operating systems are also increasingly affecting people's lives and work. However, with the continuous development of computer technology and the popularization of the Internet, computer systems are also facing more and more security threats. For users, ensuring the security of the computer operating system has become an important task. >>>More
Ability to learn: The curriculum at university is very practical, and even if you work so hard to design it, you will find it worthless a year after you graduate. Your job will have knowledge that you need to learn, both professional and practical, especially in the area of programming. >>>More
1. Core memory:
It is the main form of random access computer memory. This type of memory is often referred to as core memory, or informally as core memory. >>>More
Computer ports are actually represented by a 16-bit integer, so theoretically the maximum number of ports is 2 16 = 65536 >>>More
ROMs are read-only memory.
read-only memory), which can only read out the data stored in advance. It is characterized by the fact that once the information is stored, it cannot be changed or deleted. It is usually used in electronic or computer systems that do not require frequent data changes. >>>More