levo

Computer Architecture and Processing Systems

Cache memory and the memory hierarchy

  • 3 things to know
  • AS Unit 2
Start revising · £5/month

Overview

Cache memory, cache hit and cache miss.

What you need to know

Answer each one before you reveal it.

Your recallNot started
Process

Why does a processor need cache at all?

Key term

What is a cache miss, and what follows one?

Key term

Explain why copying an item into cache usually pays off.

Questions from this subtopic

Each one with the model answer underneath.

  1. 1

    What is cache memory?

    Model answer

    Cache memory is a small block of very fast memory that holds copies of the instructions and values the processor has used most recently.

  2. 2

    Why does a processor need cache at all?

    Model answer

    A processor can work far faster than main memory can supply it, so without a nearer and quicker store it would spend much of its time waiting.

  3. 3

    What is a cache hit?

    Model answer

    A cache hit occurs when the item the processor asks for is already held in cache and can be supplied without any trip to main memory.

  4. 4

    What is a cache miss, and what follows one?

    Model answer

    A cache miss occurs when the required item is not in cache, so the item is fetched from main memory and a copy is placed in cache in case it is wanted again.

  5. 5

    Explain why copying an item into cache usually pays off.

    Model answer

    Programs reuse the same instructions in loops and work steadily through neighbouring addresses, so an item just used is very likely to be needed again shortly.

  6. 6

    Describe the difference between level 1 and level 2 cache.

    Model answer

    Level 1 cache is the smallest and fastest and sits on the processor core itself, while level 2 cache is larger and a little slower to reach.

Other ways to work this

The same content, four other ways.

Everything in your subscription

Runs, plus a mode for every other kind of session.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Systems Analysis and Development Approaches
Design, Development and Testing
Implementation and System Security
Programming

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

A check requires a value.
presencerangeformat

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

One byte is made up of 8 bits.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

Every question in Computer Architecture and Processing Systems, on a schedule.

Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.

Or £46 a year, about £3.83 a month. Cancel anytime.