Compare the Difference Between Similar Terms

Difference Between

Home / Technology / IT / Systems /RAM缓存和内存之间的区别

RAM缓存和内存之间的区别

July 2, 2011Posted byIndika

RAM vs Cache Memory

Memory of a computer is organized in to a hierarchy and they are organized considering the time taken to access them, cost and capacity. RAM and cache memory are two members in this memory hierarchy. RAM (Random Access Memory) is the primary memory used in a computer. Its individual memory cells can be accessed in any sequence, and therefore it is called the random access memory. RAMs are divided in to two categories as Static RAM (SRAM) and Dynamic RAM (DRAM). Cache memory is a special memory used by the CPU (Central Processing Unit) of a computer for the purpose of decreasing the average time required to access memory.

什么is RAM?

RAM is also known as the main memory of a computer. It is a volatile memory in which the data that is stored in the memory is lost when the power is turned off. RAMs are divided in to two categories as Static RAM (SRAM) and Dynamic RAM (DRAM). SRAM uses transistors to store a single bit of data and it does not need to be periodically refreshed. DRAM uses a separate capacitor to store each bit of data and it needs to be periodically refreshed to maintain the charge in the capacitors. In modern computers, RAM is organized in to modules that can be upgraded. This would allow increasing the RAM capacity or fixing damages very easily.

什么is Cache Memory?

Cache memory is a special memory used by the CPU for the purpose of decreasing the average time taken for memory accesses. Cache memory is relatively a smaller and also a faster memory, which stores most frequently accessed data of the main memory. When there is request for a memory read, cache memory is checked to see whether that data exists in cache memory. If that data is in the cache memory, then there is no need to access the main memory (which takes longer time to be accessed), therefore making the average memory access time smaller. Typically, there are separate caches for data and instructions. Data cache is typically set up in a hierarchy of cache levels (sometimes called multilevel caches). L1 (Level 1) and L2 (Level 2) are the top most caches in this hierarchy of caches. L1 is the closest cache to the main memory and is the cache that is checked first. L2 cache is the next in line and is the second closest to main memory. L1 and L2 vary in access speeds, location, size and cost.

什么is the difference between RAM and Cache Memory?

In the memory hierarchy, cache memory is the closer memory to the CPU when compared with the RAM. Cache memory is much faster and also expensive when compared with the RAM. But the capacity of the RAM memory is larger than the capacity of the cache memory. Further, the cache memory is also organized as a hierarchy as L1, L2 and L3 caches that differ in speed, cost and capacity.

Related posts:

Difference Between Static RAM and Dynamic RAM Difference Between CPU and RAM Difference Between L1 and L2 Cache Difference Between Primary and Secondary Memory Difference Between DDR2 and DDR3

Filed Under:SystemsTagged With:cache,Cache Memory,Data cache,DRAM,Dynamic RAM,hierarchy of cache levels,L1,L1 cache,L2,L2 Cache,L3 cache,main memory,primary memory,RAM,RAMs,Random Access Memory,SRAM,Static RAM

About the Author:Indika

Indika, BSc.Eng, MSECE Computer Engineering, PhD. Computer Science, is an Assistant Professor and has research interests in the areas of Bioinformatics, Computational Biology, and Biomedical Natural Language Processing.

Comments

  1. Lalitsays

    May 27, 2019 at 6:28 pm

    Thanku..

    Reply

Leave a ReplyCancel reply

Your email address will not be published.Required fields are marked*

Request Article

Featured Posts

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and Cold Symptoms

Difference Between Coronavirus and SARS

Difference Between Coronavirus and SARS

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Influenza

Difference Between Coronavirus and Covid 19

Difference Between Coronavirus and Covid 19

You May Like

Difference Between EU and UN

Difference Between EU and UN

什么is the Difference Between Dew Point and Freezing Point

什么is the Difference Between Dew Point and Freezing Point

Difference Between Past Life and Present Life

Difference Between Azotobacter and Azospirillum

Difference Between Azotobacter and Azospirillum

Difference Between MAPP Gas and MAP-Pro

Difference Between MAPP Gas and MAP-Pro

Latest Posts

  • 什么is the Difference Between Fullerene and Carbon Nanotubes
  • 什么is the Difference Between Dialysis and Kidney Transplant
  • 什么is the Difference Between Kidney Stones and Appendicitis
  • 什么is the Difference Between Humic and Non-Humic Substances
  • 什么is the Difference Between Biopsy and Pap Smear
  • 什么is the Difference Between Cosmetics and Personal Care Products
  • Home
  • Vacancies
  • About
  • Request Article
  • Contact Us

Copyright © 2010-2018Difference Between. All rights reserved.Terms of Useand Privacy Policy:Legal.