Material to be Covered in Exam 2
Exam 2 will cover the topics listed below along with material from Chapters 3 and 4 H&P covered in the last exam. The exam will also cover material in chapter 4.3 on branch prediction schemes.
Chapter 5
Section 5.2
- Associative, set associative, direct mapped caches
- Replacement policies
- Write through, write back
- Write buffer for write through cache
- Dirty bits
- Write allocate, no-write allocate
Section 5.3
- Cache misses - compulsory, capacity, conflict
- Approaches for reducing cache misses - block size, associativity,
- Victim caches, hardware prefetching, compiler controlled prefetching,
- Restructuring programs improve temporal or spatial locality
5.4 Reducing cache miss penalty
- Checking write buffer
- Send critical word to CPU first, or at least restart CPU when data shows up
- Nonblocking caches
- Second level caches
5.6 Main memory
- wider main memory
- interleaved memory
- independent memory banks (or parallel machines)
- avoiding memory bank conflicts
5.7 Virtual memory
- Address translation (as covered in class)
- Relationship between address space, page size, page table entry size, number of levels of page tables, etc.
- TLB
- Segments