Preview

Cache Memory

Good Essays
Open Document
Open Document
1138 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Cache Memory
CACHE
Memory

INTRODUCTION
A CPU cache is a cache used by the central processing unit (CPU) of a computer to reduce the average time to access memory. The cache is a smaller, faster memory which stores copies of the data from frequently used main memory locations. Most CPUs have different independent caches, including instruction and data caches, where the data cache is usually organized as a hierarchy of more cache levels (L1, L2 etc.)

When the processor needs to read from or write to a location in main memory, it first checks whether a copy of that data is in the cache. If so, the processor immediately reads from or writes to the cache, which is much faster than reading from or writing to main memory.

Most modern desktop and server CPUs have at least three independent caches: an instruction cache to speed up executable instruction fetch, a data cache to speed up data fetch and store, and a translation look aside buffer (TLB) used to speed up virtual-to-physical address translation for both executable instructions and data. The data cache is usually organized as a hierarchy of more cache levels (L1, L2, etc.; see Multi-level caches).

TYPES OF CACHE MEMORY

There are generally two types of cache memory:-
1. MEMORY CACHE
2. DISK CACHE

1. MEMORY CACHE : A Memory Cache, sometimes called cache store or a RAM cache, is a portion of memory made of high speed static RAM (SRAM) instead of slower and dynamic RAM (DRAM) used for main memory. Memory caching if effective because most programs access the same data or instruction over and over. By keeping as much of this information as possible in SRAM, the computer avoids the accessing the slower DRAM.

2. DISK CACHE : Disk caching under the same principle of memory caching, but instead of making use of high speed SRAM, a disk cache uses convectional main memory. The most recently accessed data from the disk is stored in the memory buffer. When the programs needs to access data from the disk,

You May Also Find These Documents Helpful

  • Satisfactory Essays

    RAM is the random access memory and it is volatile. It holds program instructions and data. The CPU can find…

    • 204 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Nt1310 Unit 1 Study Guide

    • 378 Words
    • 2 Pages

    multi-core is usually the term used to describe two or more CPUs working together on the ______ chip…

    • 378 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    5. This chapter describes the concepts behind how a CPU reads the contents from RAM. Which of…

    • 856 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Powerful central processing units (CPUs) demand large amounts of data, and they need that data fast. Otherwise, CPU performance is hindered by the lack of data storage support; therefore, computers have been designed to supply data through tiering memory and caches, which use the hard drive in combination with random access memory (RAM) to deliver massive amounts of data to the CPU. The speed of the RAM is crucial to the performance of data delivery; you want the most RAM at the fastest speed possible so the CPU is not waiting for information.…

    • 396 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    POS355 Week 1 Individual

    • 574 Words
    • 2 Pages

    While in the hardware, memory management includes elements that store data such as random access memory chips, and memory caches. In the operating system, memory management involves the distribution of precise memory blocks to programs as the user requests adjustments. While at the application and program level, memory management ensures the availability of sufficient memory for the objects and data structures at all times for each program that is running.…

    • 574 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Kroenke Emis3 Tif Ce06

    • 2239 Words
    • 12 Pages

    5) Which of the following enables the fast processing of data once the data resides in the main memory of a computer?…

    • 2239 Words
    • 12 Pages
    Satisfactory Essays
  • Powerful Essays

    Memory – Memory is the part of the computer that temporarily stores applications, documents, and stem operating information.…

    • 2127 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    BTEC ICT Unit 2 P1

    • 944 Words
    • 4 Pages

    There are two types of memory which we need and use on our computers one of them is RAM and the other one is cache.…

    • 944 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Random-access-memory (RAM) is a very important specification of the computer. By ensuring you have enough RAM, the faster your system processes, you can store more data, and allow more programs to run at the same time. As the OS allows the different task to complete for the processor, the RAM is used as temp storage, when the processor no longer needs them the OS clears it. Virtual memory is the hard drive space borrowed to use if there isn’t enough…

    • 580 Words
    • 3 Pages
    Good Essays
  • Better Essays

    DIcussions1

    • 1171 Words
    • 4 Pages

    1. When are caches useful? What problems do they solve? What problems do they cause? If a cache can be made as large as the device it is caching (for instance, a cache as large as a disk), why not do so and…

    • 1171 Words
    • 4 Pages
    Better Essays
  • Powerful Essays

    Nve Corporation

    • 3585 Words
    • 15 Pages

    * MRAM, which has been called the “ideal or universal memory” because it takes the best features of each type of RAM before it and combines them.…

    • 3585 Words
    • 15 Pages
    Powerful Essays
  • Satisfactory Essays

    Chapter6Memory

    • 267 Words
    • 1 Page

    There are several different models of how memory works, all of them involve the same three processes: getting the information into the memory system, storing it there, and getting it back out.…

    • 267 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    computer year 11 summary

    • 6894 Words
    • 29 Pages

    a. Memory - used to store program being run on the computer and data on which the program works.…

    • 6894 Words
    • 29 Pages
    Powerful Essays
  • Powerful Essays

    RAM memory – This holds recently accessed data so that the CPU can have quick access to it. RAM data can be changed at any time. It is read and write.…

    • 843 Words
    • 4 Pages
    Powerful Essays
  • Satisfactory Essays

    Feasibilty study

    • 263 Words
    • 2 Pages

    A computer has a cache, main memory, and a disk used for virtual memory. If a referenced…

    • 263 Words
    • 2 Pages
    Satisfactory Essays