final exam review
play

Final Exam Review CS 351: Systems Programing Michael Saelee - PowerPoint PPT Presentation

Final Exam Review CS 351: Systems Programing Michael Saelee <lee@iit.edu> Coverage - Memory hierarchy - Caching - Virtual Memory - Dynamic Memory Allocation - Garbage Collection - I/O Memory Hierarchy - types & relative speeds


  1. Final Exam Review CS 351: Systems Programing Michael Saelee <lee@iit.edu>

  2. Coverage - Memory hierarchy - Caching - Virtual Memory - Dynamic Memory Allocation - Garbage Collection - I/O

  3. Memory Hierarchy - types & relative speeds of memory - motivation for hierarchical design - temporal & spatial locality - registers vs. cache (code vs. hardware memory optimization)

  4. Caching - Direct-mapped / Fully-associative / Set-associative - Hit/Miss rates - Write policies: write-through/back; write-around/allocate - Multi-level caching - Cache optimization

  5. Virtual Memory - Roles of MMU & OS - Impls: Simple relocation / Segmentation / Paging (pros/cons) - Motivation for TLB - Multi-level paging - Page size / Page table size computations

  6. Dynamic Memory Allocation - Basic (C) API - Role of OS vs. User in memory/heap management - “Self-describing” block features: metadata + payload - Impls: Implicit list / Explicit list / Segmented fits (pros/cons) - Metrics: throughput & utilization

  7. Garbage Collection - Motivation - Impls: reference counting vs. garbage collection (pros/cons) - Conservative GC in C (why?) - Mark & Sweep implementation

  8. I/O - Unix FS as namespace architecture - V-node → OFD → FD breakdown: architecture & motive - I/O buffering: motive & effects

  9. Written Problems - Cache hit/miss rate computation (i.e., cache simulation) - VM → PM translation & Cache lookup - Malloc/Free implementation (based on implicit list) - Garbage collection (mark & sweep)

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend