Final Exam Review

Tom Kelliher, CS 240

May 3, 2002

Administrivia

Return, collect homework.

Announcements

Assignment

From Last Time

Virtual memory.

Outline

  1. Course evaluation.

  2. Review for final.

Coming Up

Final.

Review for Final

  1. Pipelining:
    1. Changes to datapath, control

    2. Hazards: structural, data, control. Penalties, solutions.

  2. Superscalar execution:
    1. IPC

    2. Widening the entire datapath.

    3. Applicability.

    4. Types of data dependencies. True, false dependencies. Removal of false dependencies: register renaming.

    5. Out-of-order execution, in-order completion.

  3. Caches:
    1. The memory hierarchy.

    2. Exploiting program locality properties. Advantages of using caches.

    3. Cache types: direct mapped, set-associative, fully-associative.

    4. Address partitioning: tag, offsets.

    5. Ideas behind direct-mapped caches. Analysis of direct mapped caches.

  4. Virtual memory:
    1. Mapping between virtual address space and physical address space (memory and paging device).

    2. Locality, advantages.

    3. Requirements:
      1. Kernel support: page fault handler, page placement and page replacement policies.

      2. 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.

      3. CPU support: Instructions must be re-startable.

    4. Page fault sequence (memorize all 147 steps).

    5. Demand paging performance: effective access time.



Thomas P. Kelliher
Fri May 3 07:33:02 EDT 2002
Tom Kelliher