The Write-Through Cache

Introduction

A cache can be designed either as a Write-Through (WT) cache or as a Write Back (WB) cache. The following subsections provide a description of a WT cache's basic operation.

On a Load Miss

When a load is executed, the processor takes the following actions (this example assumes that the cache lookup results in a cache miss):

  1. The load cannot be completed until the requested data has been obtained and placed in the specified target register.

  2. The processor submits the start memory address specified by the load to the on-die cache for a lookup. This example assumes that the lookup results in a cache miss.

  3. The cache forwards the load request upstream to the next level of memory. In an IA32 processor that only implemented ...

Get The Unabridged Pentium 4 IA32 Processor Genealogy now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.