Exam Review Andy Wang Operating Systems COP 4610 / CGS 5675.

Slides:



Advertisements
Similar presentations
Operating Systems ECE344 Ding Yuan Final Review Lecture 13: Final Review.
Advertisements

Virtual Memory. The Limits of Physical Addressing CPU Memory A0-A31 D0-D31 “Physical addresses” of memory locations Data All programs share one address.
Caching and Virtual Memory. Main Points Cache concept – Hardware vs. software caches When caches work and when they don’t – Spatial/temporal locality.
Virtual Memory main memory can act as a cache for secondary storage motivation: Allow programs to use more memory that there is available transparent to.
1 Memory Systems Virtual Memory Lecture 25 Digital Design and Computer Architecture Harris & Harris Morgan Kaufmann / Elsevier, 2007.
Cs 325 virtualmemory.1 Accessing Caches in Virtual Memory Environment.
Chapter 101 Virtual Memory Chapter 10 Sections and plus (Skip:10.3.2, 10.7, rest of 10.8)
1 Lecture 20 – Caching and Virtual Memory  2004 Morgan Kaufmann Publishers Lecture 20 Caches and Virtual Memory.
CMPT 300: Operating Systems Review THIS REIVEW SHOULD NOT BE USED AS PREDICTORS OF THE ACTUAL QUESTIONS APPEARING ON THE FINAL EXAM.
Memory Management 2010.
CS-3013 & CS-502, Summer 2006 Review Topics1 CS-3013 & CS-502 Operating Systems.
Virtual Memory. Why do we need VM? Program address space: 0 – 2^32 bytes –4GB of space Physical memory available –256MB or so Multiprogramming systems.
Computer Organization and Architecture
Memory Management April 28, 2000 Instructor: Gary Kimura.
Basics of Operating Systems March 4, 2001 Adapted from Operating Systems Lecture Notes, Copyright 1997 Martin C. Rinard.
Caching and Virtual Memory. Main Points Cache concept – Hardware vs. software caches When caches work and when they don’t – Spatial/temporal locality.
Exam Review cs550 Operating Systems. Preliminary Information Exam will focus on new content, but old content is still fair game. Exam format will be the.
Silberschatz and Galvin  Chapters 3 and 5 Possible questions –Tracing a given program involving fork, exec, semaphores, and share memory –Wring.
CS 153 Design of Operating Systems Spring 2015 Final Review.
Chapter 5 Operating System Support. Outline Operating system - Objective and function - types of OS Scheduling - Long term scheduling - Medium term scheduling.
CSE 451: Operating Systems Section 10 Project 3 wrap-up, final exam review.
COS 598: Advanced Operating System. Operating System Review What are the two purposes of an OS? What are the two modes of execution? Why do we have two.
Lecture 19: Virtual Memory
Cosc 2150: Computer Organization Chapter 6, Part 2 Virtual Memory.
© 2004, D. J. Foreman 1 Virtual Memory. © 2004, D. J. Foreman 2 Objectives  Avoid copy/restore entire address space  Avoid unusable holes in memory.
30 October Agenda for Today Introduction and purpose of the course Introduction and purpose of the course Organization of a computer system Organization.
Silberschatz, Galvin and Gagne  Operating System Concepts Operating Systems 1. Overview 2. Process Management 3. Storage Management 4. I/O Systems.
4.3 Virtual Memory. Virtual memory  Want to run programs (code+stack+data) larger than available memory.  Overlays programmer divides program into pieces.
Operating Systems ECE344 Ding Yuan Final Review Lecture 13: Final Review.
Operating Systems: Wrap-Up Questions answered in this lecture: What is an Operating System? Why are operating systems so interesting? What techniques can.
Exam Review Andy Wang Operating Systems COP 4610 / CGS 5765.
1 Rutgers UniversityCS 416: Operating Systems Final exam details December 22, pm-3pm. Venue: SEC 118. Tips: Spend time reading the questions before.
Final Review Mark Stanovich Operating Systems COP 4610.
Memory Management. Why memory management? n Processes need to be loaded in memory to execute n Multiprogramming n The task of subdividing the user area.
1 Lecture 8: Virtual Memory Operating System Fall 2006.
Summary of caches: The Principle of Locality: –Program likely to access a relatively small portion of the address space at any instant of time. Temporal.
CMPT 300: Operating Systems Course Summary THIS SUMMARY SHOULD NOT BE USED AS PREDICTORS OF THE ACTUAL QUESTIONS APPEARING ON THE FINAL EXAM.
MIDTERM REVIEW CSCC69 Winter 2016 Kanwar Gill. What is an OS? What are processes and threads? Process states? Diagram showing the state changes What data.
Chapter 9 Memory Organization. 9.1 Hierarchical Memory Systems Figure 9.1.
Test 2 Preparation. General Information Close book, close notes Review online course notes and read the book. You may work on some exercise problems at.
Sarah Diesburg Operating Systems COP 4610
Memory Caches & TLB Virtual Memory
Section 10: Last section! Final review.
Virtual Memory © 2004, D. J. Foreman.
Virtual Memory Chapter 8.
Andy Wang Operating Systems COP 4610 / CGS 5675
CPSC 457 Operating Systems
Virtual Memory فصل هشتم.
Sarah Diesburg Operating Systems CS 3430
Exam Review Mark Stanovich Operating Systems COP
Andy Wang Operating Systems COP 4610 / CGS 5765
CSE451 - Section 10.
CSE 451: Operating Systems Autumn 2005 Memory Management
Andy Wang Operating Systems COP 4610 / CGS 5765
Virtual Memory Overcoming main memory size limitation
Operating Systems Lecture 1.
Andy Wang Operating Systems COP 4610 / CGS 5675
Major Topics in Operating Systems
CSE 451: Operating Systems Autumn 2003 Lecture 9 Memory Management
CSE 451: Operating Systems Autumn 2003 Lecture 9 Memory Management
Last section! Project 4 + EC due tomorrow Today: Project 4 questions
Andy Wang Operating Systems COP 4610 / CGS 5765
Andy Wang Operating Systems COP 4610 / CGS 5765
CSE451 - Section 10.
CSE 542: Operating Systems
BANKER’S ALGORITHM Prepared by, Prof
Andy Wang Operating Systems COP 4610 / CGS 5765
Andy Wang Operating Systems COP 4610 / CGS 5765
Sarah Diesburg Operating Systems COP 4610
Andy Wang Operating Systems COP 4610 / CGS 5675
Presentation transcript:

Exam Review Andy Wang Operating Systems COP 4610 / CGS 5675

Coverage Total: 50 points; 1 min / point 42 points based on lectures 16-23, assignments 5-7 and project 2 8 points based on your ability to apply various principles learned in the class

Monitors, Condition Variables, and Readers-Writers Definitions Monitor Lock Condition variable

Monitors, Condition Variables, and Readers-Writers Short answers Hoare vs. Mesa monitors Correct a broken solution (readers-writers) Semaphores vs. monitors

Deadlocks Definitions Deadlock Preemptable and nonpreemptable resources Starvation Checkpointing

Deadlocks Short answers Correct a broken solution (dining philosophers) Four conditions for deadlocks Deadlock prevention techniques Banker’s algorithm Deadlock recovery techniques

Memory Protection Definitions Interprocess communication System call

Memory Protection Short answers Hardware-supported mechanisms Software-supported mechanisms Steps to switch between kernel and user spaces Context switching between processes vs. threads

Address Translation Definitions Segment External fragmentation Internal fragmentation Translation lookaside buffers

Address Translation Short answers Base-and-bound translation Segmentation-based translation Paging-based translation Segmented-paging translation Paged page tables

Caching and TLBs Definition Caching Temporal locality Spatial locality Cache pollution Translation lookaside buffer Virtually addressed cache Physically addressed cache

Caching and TLBs Short answers Design issues of caching Four types of cache misses Ways to perform TLB lookups Write-through vs. write-back policies

Demand Paged Virtual Memory Definitions Demand paging Page fault Transparent Belady’s anomaly Thrashing Working set

Demand Paged Virtual Memory Short answers Steps to carry out a page fault Page replacement policies

Device Management Definitions Polling/interrupts/DMA/double buffering Device controller/device driver Memory-mapped I/O Disk-related terms Disk measurement metrics

Device Management Short answers Categories of I/O devices Ways to access a device Disk arm scheduling policies Latency and bandwidth computations

Project 2 Definition Kernel module Programming Steps to add a system call