ram refers to "random access memory"; random access memory is also called main memory, which is an internal memory that directly exchanges data with the CPU; it can be read and written at any time, and it is very fast. It is usually used as an operating system Or a temporary data storage medium for other running programs; RAM can write or read information from any specified address at any time when working.
#The operating environment of this tutorial: Windows 10 system, Dell G3 computer.
What is ram?
ram refers to "random access memory".
Random Access Memory (English: Random Access Memory, abbreviation: RAM), also called main memory, is an internal memory that directly exchanges data with the CPU. It can be read and written at any time (except when refreshing), is very fast, and is often used as a temporary data storage medium for the operating system or other running programs. When RAM is working, information can be written (stored) or read (retrieved) from any specified address at any time. The biggest difference between it and ROM is the volatility of data, that is, the stored data will be lost once the power is turned off. RAM is used in computers and digital systems to temporarily store programs, data, and intermediate results.
Features
Static Random Access Memory
The so-called "random access" means that when data in the memory is read or written, the time required has nothing to do with the location of the information or the location where it is written. In contrast, when reading or writing information in a Sequential Access storage device, the time and location required are related. It is mainly used to store the operating system, various applications, data, etc.
When RAM is working normally, data can be read from RAM or written to RAM. Compared with ROM, RAM has the advantages of easy reading/writing and flexible use. It is especially suitable for situations where data is frequently and quickly changed.
RAM cannot retain data when the power is turned off. If data needs to be saved, they must be written to a long-term storage device (such as a hard drive).
The working characteristic of RAM is that after power is turned on, data information can be accessed at any location at any time, and the internal information will disappear after power is turned off.
- Sensitive to static electricity
Like other delicate integrated circuits, random access memory is very sensitive to electrostatic charges in the environment. Static electricity can interfere with the charge of the capacitors in the memory, causing data loss or even burning out the circuit. Therefore, before touching the random access memory, you should first touch the metal ground with your hand.
Modern random access memory has almost the fastest writing and reading speeds among all access devices. Latency is also negligible compared to other storage devices that involve mechanical operations.
Modern random access memories rely on capacitors to store data. A fully charged capacitor represents a 1 (binary), and an uncharged capacitor represents a 0. Since capacitors have leakage to some extent, data will gradually be lost over time if no special treatment is taken. Refreshing means periodically reading the status of the capacitor and then recharging the capacitor according to its original status to make up for the lost charge. The need to refresh explains exactly the volatile nature of random access memory.
For more related knowledge, please visit the
FAQ column!
The above is the detailed content of what is ram. For more information, please follow other related articles on the PHP Chinese website!