Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Direct-mapped, set-associative, fully associative?

También llamado: direct-mapped cache · set-associative cache · fully associative cache

Definition 12.5 University Computer Science — Year 2 · Capítulo 12 — Caches and the Memory Hierarchy

A cache is direct-mapped when each set holds one line, so that a line can be in one place only; AA-way set-associative when each set holds AA lines, any of which may receive a line of that set; and fully associative when there is one set, so that any line can go anywhere.

The fields of a 32-bit address for a direct-mapped cache of 512 bytes with 32-byte lines: 16 sets, so 4 index bits and 5 offset bits. The same address cut for another cache gives other fields.
The fields of a 32-bit address for a direct-mapped cache of 512 bytes with 32-byte lines: 16 sets, so 4 index bits and 5 offset bits. The same address cut for another cache gives other fields.
The cache after the trace of . Only two of its sixteen sets were ever used; the valid bit tells an empty set from a set holding tag 0.
The cache after the trace of Output 12.3. Only two of its sixteen sets were ever used; the valid bit tells an empty set from a set holding tag 0.
Leer en el capítulo →