Preview

Cache Coherence

Better Essays
Open Document
Open Document
2233 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Cache Coherence
Computer Organization & Architecture
Cache Memory
1. Introduction
Computer memory is organized into a hierarchy. At the highest level (closest to the processor) are the processor registers. Next comes one or more levels of cache. When multiple levels are used, they are denoted L1, L2, etc… Next comes main memory, which is usually made out of a dynamic random-access memory (DRAM). All of these are considered internal to the computer system.
The hierarchy continues with external memory, with the next level typically being a fixed hard disk, and one or more levels below that consisting of removable media such as ZIP cartridges(خراطيش), optical disks, and tape. As one goes down the memory hierarchy, one finds decreasing cost/bit, increasing capacity, and slower access time. It would be nice to use only the fastest memory, but because that is the most expensive memory, we trade off access time and cost by using more of the slower memory. The trick is to organize the data and programs in memory so that the memory words needed are usually in the fastest memory. In general, it is likely that most future accesses to main memory by the processor will be to locations recently accesses. So the cache automatically retains a copy of some of the recently used words from the DRAM. If the cache is designed properly, then most of the time the processor will request memory words that are already in the cache.
2. Computer Memory System Overview
Characteristics of Memory Systems Location | • Processor• Internal – main memory• External – secondary memory | Capacity | * Word size – natural unit or organization * Number of words – number of bytes | Unit of Transfer | • Internalo Usually governed by bus width• Externalo Usually a block which is much larger than a word• Addressable unito Smallest location which can be uniquely addressedo Cluster on external disk | Access Methods | • Sequential – tapeo Start at the beginning and read through in ordero Access time

You May Also Find These Documents Helpful

  • Satisfactory Essays

    SD1230 Lab 1

    • 239 Words
    • 2 Pages

    1. Rank the areas of memory from highest speed to lowest? – Processors registers, Processors cache and RAM and hard drives.…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • 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
  • Good Essays

    A. the CPU tells the RAM which address holds the data that the CPU wants to read…

    • 957 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Nt1210 Chapter 1 Review

    • 1315 Words
    • 6 Pages

    A.The CPU tells the RAM which address holds data that the CPU wants to read.…

    • 1315 Words
    • 6 Pages
    Good 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

    |File – Is a place where data is stored on a computer, there are many different types of files and most if not all data is stored in a file. |…

    • 829 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    It 240 Appendix F

    • 301 Words
    • 2 Pages

    |RAM |RAM is short for Random Access Memory and is a type of memory that is accessed |…

    • 301 Words
    • 2 Pages
    Satisfactory 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
  • Powerful Essays

    Ict Unit 30

    • 2076 Words
    • 9 Pages

    Internal Memory - Cache memory is a added memory system that temporarily stores frequently used instructions and data for quicker processing by the central processor of a computer.…

    • 2076 Words
    • 9 Pages
    Powerful 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
  • Good Essays

    First thing that comes to mind is memory or RAM. When you think of memory, you need to think of paging files.…

    • 854 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    In computer science, a buffer is a region of a physical memory storage used to temporarily store data while it is being moved from one place to another. Typically, the data is stored in a buffer as it is retrieved from an input device (such as a microphone) or just before it is sent to an output device (such as speakers). However, a buffer may be used when moving data between processeswithin a computer. This is comparable to buffers in telecommunication. Buffers can be implemented in a fixed memory location in hardware—or by using a virtual data buffer in software, pointing at a location in the physical memory. In all cases, the data stored in a data buffer are stored on a physical storage medium. A majority of buffers are implemented in software, which typically use the faster RAM to store temporary data, due to the much faster access time compared with hard disk drives. Buffers are typically used when there is a difference between the rate at which data is received and the rate at which it can be processed, or in the case that these rates are variable, for example in a printer spooler or in online video streaming.…

    • 559 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    operating system

    • 364 Words
    • 2 Pages

    Caching is an important principle, performed at many levels in a computer and an information in use copied from slower to faster storage temporarily. There are Hardware cache and Software-controlled cache.…

    • 364 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    memory management

    • 500 Words
    • 2 Pages

    Memory organization allows for modules and coding to be broken down into segments allowing the segments to have their own location in the memory. This allows for segments to be used individually and even place only the needed parts because everything may not fit into the ram itself. This paging falls in line with virtual memory that allows for segments to be moved into the virtual memory.…

    • 500 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Memory Management

    • 1097 Words
    • 5 Pages

    Memory Management is the most highly used resource on your computer; different operating systems all have a different approach on how to use memory and common factors when using memory. Every process needs it to process a code or function. More so memory management allow the operating system to reserve parts of memory to programs when they are requested and complete as many processes into memory. Memory Management has gotten more complicated throughout the years with advancement of operating systems and hardware to be able to provide faster computing of processes and applications that demand a lot of memory along with speed and also the improvement of just how the memory is allocated. Operating Systems utilized the ability use memory located on RAM chips, cache chips, and including the hard drive with the use of page file or sometimes called Swap files. Single Partition mono programming was an earlier example of memory management utilized by MS-DOS where only a single program would be running and keep its process in memory, and the other portion of memory reserved for the operating system and device drivers. Of course with advancement of faster hardware and the eventual progression of technology having just one program running at a time was efficient or fast even though it was stable so another method of management was adopted. Multiprogramming is the process run multiple programs simultaneously, and swaps between processes as the user chooses. The Major reason programs would be loaded to memory when they were in use for the simple fact memory is faster and located closer to the CPU and performed dramatically faster than the hard drive trying to perform the process of memory management. Most processes all go according to time-blocks where every process waits in memory for their turn to occur to process their request or process, more programs in line in memory the more CPU utilization is…

    • 1097 Words
    • 5 Pages
    Good Essays