COA - Cache Write Policies

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/10

flashcard set

Earn XP

Description and Tags

Vocabulary review covering Computer Organization and Architecture (COA) cache policies: Write Through with No Write Allocate and Write Back with Write Allocate, including hit and miss handling for read and write operations.

11 Terms

1
New cards

Write Through

A cache write policy where the CPU performs a write in both cache and main memory simultaneously, keeping data values consistent between them.

2
New cards

No Write Allocate

A write miss policy where the block is modified directly in main memory and is not loaded or brought into the cache.

3
New cards

Write Back

A cache write policy where the CPU performs writes only in the cache and not in main memory, leading to inconsistent values between them until the block is replaced and written back into main memory.

4
New cards

Write Allocate

A write miss policy where the missed block is loaded from main memory into the cache before the CPU performs the write in the cache.

5
New cards

Dirty Block

A block in cache that has been modified by a write operation under a write-back policy, requiring it to be written back to main memory upon replacement.

6
New cards

Write Through Read Miss

An operation where the CPU reads from main memory and the missed block is copied into cache; any old replaced block is directly overwritten without a write back because memory and cache remain consistent.

7
New cards

Write Through Write Hit

An operation where the CPU simultaneously performs the write in both the cache and main memory.

8
New cards

Write Through Write Miss

An operation where the CPU performs the write directly in main memory and does not bring the missed block into the cache.

9
New cards

Write Back Write Hit

An operation where the CPU performs the write only in the cache and marks the modified block as a dirty block.

10
New cards

Write Back Write Miss

An operation where the CPU brings the missed block from main memory to cache, performs the write in cache, and marks the block as dirty.

11
New cards

Write Back Replacement Policy

The rule stating that when an old block is replaced from cache, it is only written back to main memory if it is designated as a dirty block.