Compaq specifications Cache Coherency, 21264/EV68A-Supported Cache Block States

Models: EV68A

1 356
Download 356 pages 47.63 Kb
Page 97
Image 97

Cache Coherency

Figure 4–3 Cache Subset Hierarchy

System

Main Memory

Bcache

Dcache

Icache

FM-05824.AI4

The following tasks must be performed to maintain cache coherency:

Istream data from memory spaces may be cached in the Icache and Bcache. Icache

coherence is not maintained by hardware—it must be ma intained by software using the CALL_PAL IMB instruction.

The 21264/EV68A maintains the Dcache as a subset of the Bcache. The Dcache is set-associative but is kept a subset of the larger externally implemented direct- mapped Bcache.

System logic must help the 21264/EV68A to keep the Bcache coherent with main memory and other caches in the system.

The 21264/EV68A requires the system to allow only one change to a block at a time. This means that if the 21264/EV68A gains the bus to read or write a block, no other node on the bus should be allowed to access that block until the data has been moved.

The 21264/EV68A provides hardware mechanisms to support several cache coher- ency protocols. The protocols can be separated into two classes: write invalidate cache coherency protocol and flush cache coherency protocol.

4.5.2Cache Block States

Table 4–2lists the cache block states supported by the 21264/EV68A.

Table 4–2 21264/EV68A-Supported Cache Block States

State Name

Description

Invalid

The 21264/EV68A does not have a copy of the block.

Clean

This 21264/EV68A holds a read-only copy of the block, and no other agent in the system

 

holds a copy. Upon eviction, the block is not written to memory.

21264/EV68A Hardware Reference Manual

Cache and External Interfaces 4–9

Page 97
Image 97
Compaq specifications Cache Coherency, Cache Block States, 2lists the cache block states supported by the 21264/EV68A