[an error occurred while processing this directive]
School of Computer Science & Engineering
University of New South Wales
Advanced Operating Systems
COMP9242 2002/S2
Next: Cache mapping
Up: 03-cache
Previous: Cache organisation
Subsections
- Virtually indexed:
- looked up by virtual address,
operates concurrently with address translation.
- Physically indexed:
- looked up by physical address
- Address is hashed to produce index of line set.
- Associative lookup of line within set
lines per set:
-way set associative cache.
- Typically
.
is called direct mapped.
is called fully associative, unusual for CPU caches.
- Hashing must be simple (complex hardware is slow)
==>
use least-significant bits of address.
- The tag is used to distinguish lines of set...
- ... consists of the address bits not used for indexing.
Gernot Heiser
2002-08-15
[an error occurred while processing this directive]