is the one that enables us to execute our per day tasks such as loading a webpage, executing a code, internet browsing, and playing games. All this executes on the main memory of the system.
Here, we will take a brief introduction to RAM
and understand its working functionality.
Features of RAM
There are following points that best describes the features of RAM:
- RAM is a volatile memory, which means that it does not allow storing data permanently. It is a short term memory because it holds only that much amount of data a processor needs. For example, if playing a game, all necessary data get loaded to the RAM from the hard drive, and after closing the game, the processor switch to the other tasks.
- The time taken to read/write data depends on the physical location of the data in the RAM.
- It is an internal part of the CPU.
- The size of RAM is too small, physically as well as in storage space.
- We can access any memory cell randomly.
- It consists of multiplexing and demultiplexing circuitry that enables the connection of data lines to the addressed storage to read/write the data entry.
- A RAM is a build-up of Integrated Chips or ICs with metal-oxide-semiconductor memory cells.
Types of RAM
RAM is volatile in nature, but some data needs to be stored permanently that might never be lost even if the system crashes or the power turns off. For such a problem, non-volatile memories were also developed that have their own constraints. One such non-volatile memory includes ROM (Read Only Memory), which randomly reads the data but cannot write data.
Apart from this, there are the following types of volatile RAMs available:
DRAM: Shoots for Dynamic RAM, where the word 'Dynamic' indicates that the memory is dynamic. It means that all your data will be lost if the power of the system is lost, and thus it is required to constantly refresh the memory. One should know that in our system, DRAM is present as the main memory (i.e., it is the RAM) having 4GB or 8GB. What Does RAM Do In A Computer
A DRAM is a collection of memory cells that consists of one capacitor and one transistor. Thus, DRAM has a short lifetime and need to be refreshed millions of time. The physical size of RAM is also small, inexpensive and consumes very little power.
Functionality of RAM
RAM is volatile in nature, which disables it to store data permanently. When the RAM fills up fully, the processor of the computer moves to the hard disk repeatedly in order to overlay the old data with the new one, and it slows down the computer operations. In the case of a hard drive and RAM, a hard drive may run out of storage space but not in the case of RAM. A computer RAM never runs out of storage just slows down the operations. What Does RAM Do In A Computer
Above is the image that shows the memory organization of a computer system where it shows the connectivity of RAM with other components of the system.
The Random Access Memory is known for the concept that any location where data is stored can be accessed randomly. It distinguishes the regular core memory from the offline memory. An offline memory refers to a magnetic tape in which the specific data sets can be accessed by providing the address in a sequential manner from the beginning to its end. The organization of RAM is done in such a manner that data get stored and fetched to/from specific locations. A computer RAM is stored in microchips. To understand the working of RAM, consider it as a set of boxes that can carry value as 1 or 0 (i.e.. binary digits). In the set, each box carries its unique address, which can be identified by counting the boxes across the columns and down the rows. Thus, the set of boxes is known as an array, and the boxes are the cells within that array. Each row and column in an array (RAM array) carries its own address line where any data that is read move back on a separate data line. In order to find a specific cell, the column and row address is sent by the RAM Controller to a thin electrical line, which is etched into the chip. As the physical size of RAM is too small, it becomes easy to store it in a microchip. Also, the data holding capacity of RAM is also small, and thus, it can store less amount of data as compared to a hard drive which has the capacity to store upto 10 TB data. Now, after placing RAM into the microchips, these chips are put together into the memory modules. These memory modules are plugged into the slots on the motherboard of the computer. These slots of the motherboard are connected to the computer processor via a bus or set of electrical paths. In the case of a hard drive, the data is stored on the magnetized surface and an SSD stores data on a memory chip, which is non-volatile in nature. In this way, the working of computer RAM is performed.
But, we do not need to worry about RAM storage capacity because most computer systems allow us to add more RAM modules with the existing RAM but with some limits. The speed of a computer system is directly proportional to the RAM size, i.e., more size (data storage) of RAM leads to good and better speed of the computer processor. Thus, the execution and loading time of the data operations, as well as the applications, speeds up.