Exam Review Mark Stanovich Operating Systems COP 4610 1.

Slides:



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

Caching and Virtual Memory. Main Points Cache concept – Hardware vs. software caches When caches work and when they don’t – Spatial/temporal locality.
Cpr E 308 Spring 2004 Recap for Midterm Introductory Material What belongs in the OS, what doesn’t? Basic Understanding of Hardware, Memory Hierarchy.
Chapter 101 Virtual Memory Chapter 10 Sections and plus (Skip:10.3.2, 10.7, rest of 10.8)
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.
Computer Organization and Architecture
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.
CS 153 Design of Operating Systems Spring 2015 Final 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.
Chapter 1 Computer System Overview Sections 1.1 to 1.6 Instruction exe cution Interrupt Memory hierarchy Cache memory Locality: spatial and temporal Problem.
© 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.
CS399 New Beginnings Jonathan Walpole. Virtual Memory (1)
1 Memory Management. 2 Fixed Partitions Legend Free Space 0k 4k 16k 64k 128k Internal fragmentation (cannot be reallocated) Divide memory into n (possible.
Operating Systems ECE344 Ding Yuan Final Review Lecture 13: Final Review.
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.
Silberschatz and Galvin  Chapter 3:Processes Processes –State of a process, process control block, –Scheduling of processes  Long term scheduler,
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.
Exam Review Andy Wang Operating Systems COP 4610 / CGS 5675.
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.
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.
Translation Lookaside Buffer
Memory COMPUTER ARCHITECTURE
Memory Management Paging (continued) Segmentation
Sarah Diesburg Operating Systems COP 4610
Memory Caches & TLB Virtual Memory
Lecture Topics: 11/19 Paging Page tables Memory protection, validation
Section 10: Last section! Final review.
Virtual Memory © 2004, D. J. Foreman.
CS510 Operating System Foundations
Virtual Memory Chapter 8.
FIGURE 12-1 Memory Hierarchy
Memory Management Paging (continued) Segmentation
Andy Wang Operating Systems COP 4610 / CGS 5675
Virtual Memory فصل هشتم.
COMS Prelim 1 Review Session
Sarah Diesburg Operating Systems CS 3430
Translation Lookaside Buffer
CSE451 - Section 10.
CSE 451: Operating Systems Autumn 2005 Memory Management
TLB Performance Seung Ki Lee.
Virtual Memory Overcoming main memory size limitation
Operating Systems Lecture 1.
Andy Wang Operating Systems COP 4610 / CGS 5675
CSE 451: Operating Systems Autumn 2003 Lecture 10 Paging & TLBs
Major Topics in Operating Systems
CSE451 Virtual Memory Paging Autumn 2002
February 5, 2004 Adrienne Noble
CSE 451: Operating Systems Autumn 2003 Lecture 9 Memory Management
CSE 451: Operating Systems Autumn 2003 Lecture 10 Paging & TLBs
CSE 451: Operating Systems Autumn 2003 Lecture 9 Memory Management
CSE 471 Autumn 1998 Virtual memory
CS703 - Advanced Operating Systems
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
Memory Management Paging (continued) Segmentation
Andy Wang Operating Systems COP 4610 / CGS 5765
Sarah Diesburg Operating Systems COP 4610
Review What are the advantages/disadvantages of pages versus segments?
Andy Wang Operating Systems COP 4610 / CGS 5675
4.3 Virtual Memory.
Sarah Diesburg Operating Systems CS 3430
Presentation transcript:

Exam Review Mark Stanovich Operating Systems COP 4610 1

Coverage Total: 50 points; 1 min / point 2

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

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

Deadlocks Definitions Deadlock Starvation Checkpointing 5

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

Memory Protection Definitions Interprocess communication System call 7

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

Address Translation Definitions Segment External fragmentation Internal fragmentation Translation lookaside buffers (abbreviated TLB) 9

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

Caching and TLBs Definition Caching Temporal locality Spatial locality Cache pollution Translation lookaside buffer 11

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 Effective access time 12

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

Demand Paged Virtual Memory Short answers Steps to carry out a page fault Page replacement policies 4 state bits for a page table entry 14

Project 2 Definition Programming Kernel module Interaction with user-space Locking Scheduling 15