CSC 211: Exam 4

CSC 211 - Computer Organization and Architecture - Weinman

1  Learning Outcomes

At the end of this unit you should be able to:
  1. Distinguish between temporal and spatial locality
  2. Describe and explain the impact on miss rate as the cache block size changes
  3. Relate the size of the tag and index to cache size (i.e., number of lines ands block size) given the address size or memory size
  4. Explain the trade-offs between direct-mapped, set associative, and fully associative caches
  5. Explain the impact of miss rate, hit rate, hit time, and miss penalty on performance
  6. Given appropriate system information, calculate the
    1. average memory access time (AMAT),
    2. memory stall cycles, and
    3. total cycles per instruction (CPI),
    for a multi-level memory hierarchy
  7. Distinguish between compulsory, capacity, and conflict cache misses
  8. Simulate a working cache given a request stream and eviction policy
  9. Relate the address fields or size, memory size, page size, virtual page number, and physical page number
  10. Translate a virtual page number to a physical page number given a page table and/or TLB
  11. State the meaning of the valid bit in the TLB and the page table
  12. Appropriately place/locate each component of the memory hierarchy in a computer
  13. Use Amdahl's law to calculate the speedup or execution time due to a performance improvement
  14. Distinguish among sequential, serial, parallel, and concurrent tasks/execution
  15. Characterize the differences among parallel architectures (i.e., vector, superscalar, and multicore)
  16. State the trade-offs between different types of multithreading

2  Study Problems

The following exercises are from Patterson and Hennessy.
Fifth Edition
 
Chapter 5
1, 2.1-2.5, 3, 5, 6, 7.1-7.3, 11, 12.1, 13
Chapter 6
2, 6, 7, 9, 11, 19
Sixth Edition
 
Chapter 5
1-3, 5, 8, 9, 10, 12, 16
Chapter 6
2, 6, 7, 9, 11, 19