Cache Memory Part 1

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/16

flashcard set

Earn XP

Description and Tags

Flashcards covering key terminology and concepts related to Cache Memory.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

Cache Memory

Small, fast storage used to improve average access time to slow memory.

2
New cards

Cache Controller

The hardware that controls access to cache or generates requests to memory.

3
New cards

Cache Miss

Occurs when the requested data is not found in the cache.

4
New cards

Hit Rate

Number of memory accesses that find the data in the upper level with respect to the total number of memory accesses.

5
New cards

Miss Rate

Number of memory accesses not finding the data in the upper level with respect to the total number of memory accesses.

6
New cards

Miss Penalty

Time needed to access the lower level and to replace the block in the upper level.

7
New cards

Direct Mapped Cache

A type of cache mapping where each memory block is mapped to exactly one block in the cache.

8
New cards

Associative Cache

A type of cache where a block can be placed in any entry in the cache.

9
New cards

Least Recently Used (LRU)

A replacement policy that chooses the block unused for the longest time.

10
New cards

Write-Through Policy

Writes information to both the block in the cache and to the block in the lower level memory.

11
New cards

Write-Back Policy

Writes information only to the cache and to lower-level memory only when the cache block is replaced.

12
New cards

Valid Bit

Indicates if a cache position contains valid data (Y = valid, N = invalid).

13
New cards

Cache Block Size

The fixed size collection of data retrieved from memory and placed into the cache.

14
New cards

Hit Time

Time to access the data in the upper level of the hierarchy.

15
New cards

Average Memory Access Time (AMAT)

Calculated as AMAT = Hit Rate * Hit Time + Miss Rate * Miss Time.

16
New cards

Cache Tag

Contains the value that uniquely identifies the memory address corresponding to the stored data.

17
New cards

n-way Set Associative Cache

Allows each block to be placed in a fixed number of locations, each containing multiple entries.