Final Exam Review
Tom Kelliher, CS 240
May 3, 2002
Return, collect homework.
Virtual memory.
- Course evaluation.
- Review for final.
Final.
- Chapters covered: 2--7.
- Refer to previous reviews for earlier material.
- Slight bias toward more recent material, but coverage will be fairly
even.
- Final exam format:
- 12 short answer questions. Each 10 points.
- Two ``essay'' questions. Each 40 points.
- Pipelining:
- Changes to datapath, control
- Hazards: structural, data, control. Penalties, solutions.
- Superscalar execution:
- IPC
- Widening the entire datapath.
- Applicability.
- Types of data dependencies. True, false dependencies. Removal of
false dependencies: register renaming.
- Out-of-order execution, in-order completion.
- Caches:
- The memory hierarchy.
- Exploiting program locality properties. Advantages of using
caches.
- Cache types: direct mapped, set-associative, fully-associative.
- Address partitioning: tag, offsets.
- Ideas behind direct-mapped caches. Analysis of direct mapped
caches.
-
- Virtual memory:
- Mapping between virtual address space and physical address space
(memory and paging device).
- Locality, advantages.
- Requirements:
- Kernel support: page fault handler, page placement and page
replacement policies.
- MMU support: valid/invalid bit, reference bit, dirty bit,
read/write bit.
Exceptions generated: memory fault (unmapped page), page fault (page
not in memory), write on read-only fault.
- CPU support: Instructions must be re-startable.
- Page fault sequence (memorize all 147 steps).
- Demand paging performance: effective access time.
Thomas P. Kelliher
Fri May 3 07:33:02 EDT 2002
Tom Kelliher