RAM代表随机存取存储器(RAM stands for Random Access Memory),它是计算机运行所需的非常重要的电子元件,RAM是CPU用来临时存储当前工作数据的一种存储形式。它可以在各种计算设备中找到,例如智能手机、PC、平板电脑、服务器等。
由于信息或数据是随机访问的,因此与其他存储介质(如CD-ROM(CD-ROM)或硬盘驱动(Hard Disk)器)相比,数据是按顺序存储或检索的,读取和写入时间要快得多,因此检索过程要慢得多即使是存储在序列中间的少量数据,我们也必须遍历整个序列。
RAM需要电源才能工作,因此一旦计算机关闭,存储在RAM中的信息就会被删除。(RAM)因此(Hence),它也被称为易失性内存(Volatile Memory)或临时存储。
一块主板(Motherboard)可以有不同数量的内存插槽,普通消费者主板(Motherboard)会有 2 到 4 个。
为了在计算机上执行数据(Data)或程序,需要先将其加载到 ram 中。
因此,数据或程序首先存储在硬盘驱动器上,然后从硬盘驱动器中检索并加载到RAM中。加载后,CPU现在可以访问数据或运行程序。
有很多信息或数据比其他人更频繁地访问,如果内存太低,它可能无法保存CPU需要的所有数据。发生这种情况时,一些多余的数据会存储在硬盘驱动器上,以补偿内存不足。
另请阅读:(Also Read:) 什么是 Windows 注册表及其工作原理?(What is the Windows Registry & How it Works?)
因此,不是直接从RAM到CPU的数据,它必须从访问速度非常慢的硬盘驱动器中检索它,这个过程显着降低了计算机的速度。这可以通过增加可供计算机使用的RAM量轻松解决。(RAM)
两种不同类型的 RAM
i) DRAM 或动态 RAM( DRAM or Dynamic RAM)
Dram是一个包含电容器的存储器,它就像一个储存电力的小水桶,它在这些电容器中保存着信息。因为 DRAM 的电容器需要不断地用电来刷新,所以它们不会长时间保持电荷。因为电容器必须动态刷新,所以这就是它们得名的地方。由于我们将在前面讨论的效率更高、速度更快的RAM技术的发展,这种形式的RAM技术不再被积极使用。
ii) SDRAM 或同步 DRAM(SDRAM or Synchronous DRAM)
这是我们现在电子产品中广泛使用的RAM技术。(RAM)SDRAM也有类似DRAM的电容,但是SDRAM 和 DRAM 的区别在于(difference between SDRAM and DRAM)速度,旧的DRAM技术运行速度比CPU慢或异步操作,这使得传输速度滞后,因为信号不协调。
SDRAM与系统时钟同步运行,这就是它比DRAM快的原因。所有信号都与系统时钟相关联,以便更好地控制时序。
RAM以用户可拆卸模块的形式插入主板,这些模块称为SIMM(单列直插式内存模块)和 DIMM(双列直插式内存模块)(SIMMs (Single in-line memory modules) and DIMMs (dual in-line memory modules))。之所以称为DIMM(DIMMs) ,是因为它在每一侧都有两排独立的这些引脚,而SIMM(SIMMs)在一侧只有一排引脚。模块的每一侧都有 168、184、240 或 288 个引脚。
SIMM(SIMMs)的使用现在已经过时,因为RAM的内存容量是(RAM)DIMM(DIMMs)的两倍。
这些DIMM(DIMMs)具有不同的内存容量,范围在 128 MB 到 2 TB 之间。DIMM(DIMMs)一次传输 64 位数据(Data),而SIMM(SIMMs)一次传输 32 位数据(Data)。
SDRAM 的额定速度也不同,但在深入研究之前,让我们了解什么是数据路径。
CPU的速度是以时钟周期来衡量的,因此在一个时钟周期内,32 位或 64 位数据在CPU和RAM之间传输,这种传输称为数据路径。
因此, CPU(CPU)的时钟速度越高,计算机的速度就越快。
推荐:(Recommended:) 提高计算机速度的 15 个技巧(15 Tips To Increase Your Computer Speed)
同样,即使SDRAM也具有可以进行读写的时钟速度。因此,RAM的时钟速度越快,操作发生的速度就越快,从而提高了处理器性能。这是以它可以执行的周期数来衡量的,以兆赫为单位。因此,如果RAM的额定频率为 1600 MHz,它每秒执行 16 亿个周期。
因此,我们希望这能帮助您了解RAM和不同类型的RAM技术的工作原理。
What is RAM? | Random Access Memory Definition
RAM stands for Random Access Memory, it is a very crucial electronic component that is required for a computer to run, RAM is a form of storage that CPU uses to store the current working data temporarily. It can be found in all kinds of computing devices such as Smartphones, PCs, tablets, servers, etc.
Since the information or data is randomly accessed, the read and write times are much faster compared to other storage mediums such as CD-ROM or Hard Disk Drives where the data is stored or retrieved sequentially which is far slower a process as a result to retrieve even a small amount of data stored in the middle of the sequence we will have to go through the entire sequence.
RAM requires power to work, so the information stored in RAM gets erased as soon as the computer is switched off. Hence, it is also known as Volatile Memory or Temporary Storage.
A Motherboard can have a various number of memory slots, the average consumer Motherboard will have between 2 and 4 of them.
In order for Data or programs to be executed on a computer, it needs to be loaded into ram first.
So the data or program is first stored on to the hard drive then from the hard drive, it is retrieved and loaded into RAM. Once it’s loaded, the CPU can now access the data or run the program now.
There is a lot of information or data that gets accessed more frequently than others, if the memory is too low it might not be able to hold all the data that the CPU needs. When this happens then some of the excess data gets stored on the hard drive to compensate for the low memory.
Also Read: What is the Windows Registry & How it Works?
So instead of the data directly going from RAM to the CPU, it has to retrieve it from the hard drive that has very slow access speed, this process significantly slows down the computer. This can be easily tackled by increasing the amount of RAM available for the computer to use.
Two Different types of RAM
i) DRAM or Dynamic RAM
Dram is a memory that contains capacitors, which is like a small bucket that stores electricity, and it’s in these capacitors it holds the information. Because dram has capacitors that require to be refreshed with electricity constantly, they do not hold a charge for very long. Because the capacitors have to be dynamically refreshed, that’s where they get the name from. This form of RAM technology is no longer being actively used due to the development of far efficient and faster RAM technology which we will discuss ahead.
ii) SDRAM or Synchronous DRAM
This is the RAM technology that is widely used in our electronics now. SDRAM also has capacitors similar to DRAM, however, the difference between SDRAM and DRAM is the speed, the older DRAM technology runs slower or operates asynchronously than the CPU, this makes the transfer speed to lag because the signals are not coordinated.
SDRAM runs in sync with the system clock, which is why it is faster than DRAM. All the signals are tied to the system clock for a better-controlled timing.
RAM is plugged into the motherboard in the form of user-removable modules that are called SIMMs (Single in-line memory modules) and DIMMs (dual in-line memory modules). It is called DIMMs because it has two independent rows of these pins one on each side whereas SIMMs only have one row of pins on one side. Each side of the module has either 168, 184, 240 or 288 pins.
The usage of SIMMs is now obsolete since the memory capacity of the RAM doubled with DIMMs.
These DIMMs come in different memory capacities, that range anywhere between 128 MB to 2 TB. DIMMs transfer 64 bits of Data at a time compared to SIMMs which transfer 32 bits of Data at a time.
SDRAM is also rated at different speeds, but before we delve into that, let us understand what data path is.
The speed of CPU is measured in clock cycles, so in one clock cycle, either 32 or 64 bits of data get transferred between the CPU and RAM, this transfer is known as data path.
So the higher the clock speed of a CPU the faster the computer will be.
Recommended: 15 Tips To Increase Your Computer Speed
Similarly, even SDRAM has a clock speed at which the read and write can take place. So the faster the RAM’s clock speed the faster the operations occur boosting the processor performance. This is measured in the number of cycles it can perform counted in megahertz. So, if RAM is rated at 1600 MHz, it performs 1.6 billion cycles per second.
So, we hope this helped you understand how RAM and different types of RAM technologies work.