Skip to main content

What is RAM and Why is it Important?

 

What is RAM and Why is it Important?

Random access memory (RAM) is a computer's short-term memory. None of your programs, files, or Netflix streams would work without RAM, which is your computer’s working space. But what is RAM exactly? In this article, we explain what RAM means in computer terms and why it’s important.

What_is_RAM-Hero

What does RAM stand for?

RAM is short for “random access memory” and while it might sound mysterious, RAM is one of the most fundamental elements of computing. RAM is the super-fast and temporary data storage space that a computer needs to access right now or in the next few moments.

What is RAM and Why is it Important?

Random access memory (RAM) is a computer's short-term memory. None of your programs, files, or Netflix streams would work without RAM, which is your computer’s working space. But what is RAM exactly? In this article, we explain what RAM means in computer terms and why it’s important.

What_is_RAM-Hero

What does RAM stand for?

RAM is short for “random access memory” and while it might sound mysterious, RAM is one of the most fundamental elements of computing. RAM is the super-fast and temporary data storage space that a computer needs to access right now or in the next few moments.

Computers are always loading things in to work on — such as applications and data — and then setting them aside for later. RAM is your computer’s short-term memory. In contrast, a computer’s hard disk or SDD is its long-term memory, where things are stored more or less permanently.

Every computing device has RAM, whether it’s a desktop computer (running Windows, MacOS, or Linux), a tablet or smartphone, or even a special-purpose computing device (such as a smart TV). Nearly all computers also have some way to store information for longer-term access, too. But the working processes are done in RAM.

What does RAM do, exactly?

RAM is temporary storage that goes away when the power turns off. So what is RAM used for, then? It’s very fast, which makes it ideal for things the computer is actively working on, such as applications that are currently running (for example, the web browser in which you’re reading this article) and the data those applications work on or with (such as this article).

It can help to think about RAM with the analogy of a physical desktop. Your working space — where you scribble on something immediately — is the top of the desk, where you want everything within arm’s reach and you want no delay in finding anything. That’s RAM. In contrast, if you want to keep anything to work on later, you put it into a desk drawer — or store it on a hard disk, either locally or in the cloud.

What_is_RAM

Ultimately, RAM allows you to access multiple programs at once with speed and efficiency.

RAM is significantly faster than a hard disk — twenty to a hundred times faster, depending on the specific hardware type and task. Because of its speed, RAM is used to process information immediately. When you want to accomplish a specific task, computer operating systems load data from the hard disk into RAM to process it, such as to sort a spreadsheet or to display it on screen. When it’s done actively “doing something,” the computer (sometimes at your instruction) saves it into long term storage.

So, for example, let’s say you want to work with a spreadsheet. When you start Excel, your computer loads the application into RAM. If you load an existing spreadsheet (which is stored on your hard disk), the operating system copies that information into RAM, too. Then you can work with Excel, crunching numbers in your usual fashion. In most circumstances, the computer responds super-fast, because RAM is fast. When you’re done with the spreadsheet, you tell Excel to save it — which means that the data gets copied to the hard disk or other long-term storage. (If you forget to save and the power fails, all that work is gone, because RAM is temporary storage.) And when you close the application, the computer operating system takes it out of RAM and clears the deck so that the space is free for you to work on the next thing.

One extended use of RAM is to help previously-accessed information be available much more quickly. When you first turn on your computer and launch any application, such as PowerPoint or Spotify, it takes a while to load. However, if you close a program and then relaunch it, the software opens almost instantly (unless your PC isn’t optimized for performance). That’s because the app is loaded out of the significantly faster RAM, rather than the hard disk.

In short, RAM is used for any task that requires fast access to computing resources.

One notable example is the operating system’s own process. For example, if you use Windows, its key functions — such as the ability to display images on your screen — are copied into RAM, because the OS needs super-fast access to the devices you use all the time. Not every device driver is loaded into RAM immediately, but many of them are.

Another example is a Windows feature called SuperFetch, which records your usage patterns. Based on your existing behavior, it automatically pre-loads applications and files into RAM when you turn on your PC. This makes working with your computer significantly faster.

When an application needs a lot of RAM, it often gives you a progress bar or other status report. That’s common when you load a game or powerful application. When you launch a game, you may see a “loading” screen while the computer copies information into RAM, such as maps, character models, and objects. That “loading” message is displayed to ensure you know something is happening, when the developers cannot make the process instantaneous!

Comments

Popular posts from this blog

Multilevel Feedback queue scheduling (MFQ)

  Multilevel Feedback queue scheduling (MFQ) ·          Multilevel feedback queue scheduling is an enhancement of multi-levelqueue scheduling. In this scheme, processes can move between the different queue ·          The various processes are separates in different queue on the basis of their CPU Burst Char characteristics ·          If a process consumes a lot of CPU time , it is placed into a lower priority queue. Thus I/O bound and interactive process are placed in the higher priority queue and CPU bound pricesses are in lower priority ·          If a processes waits too long in a lower priority queue it is moved higher priority queue. Such an aging prevents starvation. ·          The top priority queue is given smallest CPU time Quantum ·      ...

ENTERPROCESS COMMUNICATION AND SYNCHRONIZATION

      ENTERPROCESS COMMUNICATION AND SYNCHRONIZATION ·          In multi programming environment multiple process co-exit . a single   program may be broken into number of processes. ·          The process are classified into two categories : independent processes and cooperating processes. ·          An independent process is a standalone process that does not share any data with any other process. It cannot affect or be affected by the other processes executing   in the system. In other words, the modification made to an independent process does not affect the functioning of other process. ·          A cooperating processes is a process that shares data with other processes in a system it can affect or be affectedly the other processes executing in the system ·      ...

Round Robin

   Round Robin ·          Round robin Scheduling is similar to FCFS but preemption is addede to switch between processes. ·          In RR scheduling, processes are dispatched in FIFO but given a small amount of CPU time. This small amount of CPU time this small amount of time is known as time quantum or time slice. A time quantum is generally from 10 to 100 milliseconds ·          If a process does not complete before its time slice expires, the CPU is time slice and is given to the next waiting process in ready queue. ·          The preempted process in then places at the   tail of the ready queue. ·          If a process is completed before its time slice expires, the process itself release the CPU. The scheduler then proceeds to the next process in ready queue. ...

Multi Level Queue Scheduling (MLQ)

  Multi Level Queue Scheduling (MLQ) ·          Multilevel queue scheduling classifies the processes according to their types for example, a multilevel queue scheduling algorithm makes a common. ·          In this scheduling ready queue is divided into various queue that are called sub queues. A subqueue is a distinct operational queue ·          The process are permanently assigned to subqueues, generally based on some property of the process such as memory size,priority or process type ·          Each subqueue has its process sucheduling algorithm. For example interactive process at the foreground may use round robin scheduling while batch jobs at the background may use the FCFS method ·          For example, consider a system with four different queues 1.   ...

Direct Communicationand Indirect communication

  Direct Communication ·          Direct communication establishes a link between two processes. A communication link is a unidirectional path along which information flows. ·          two processes use single communication link to share information. ·          In this   metod, there cannot be more that one link between two processes                                                     direct communication ·          Send and receive function used in direct communication are given below : ·          Send(process name , message ,(receive(process name , message)             Send(A, message...