CMPT 300: Operating Systems Review THIS REIVEW SHOULD NOT BE USED AS PREDICTORS OF THE ACTUAL QUESTIONS APPEARING ON THE FINAL EXAM.

Slides:



Advertisements
Similar presentations
1 Interprocess Communication 1. Ways of passing information 2. Guarded critical activities (e.g. updating shared data) 3. Proper sequencing in case of.
Advertisements

Chapter 4 Memory Management Page Replacement 补充:什么叫页面抖动?
CAS3SH3 Midterm Review. The midterm 50 min, Friday, Feb 27 th Materials through CPU scheduling closed book, closed note Types of questions: True & False,
Operating Systems Review.
Operating Systems ECE344 Ding Yuan Final Review Lecture 13: Final Review.
Cpr E 308 Spring 2004 Recap for Midterm Introductory Material What belongs in the OS, what doesn’t? Basic Understanding of Hardware, Memory Hierarchy.
Review: Chapters 1 – Chapter 1: OS is a layer between user and hardware to make life easier for user and use hardware efficiently Control program.
CMPT 300: Final Review Chapters 8 – Memory Management: Ch. 8, 9 Address spaces Logical (virtual): generated by the CPU Physical: seen by the memory.
Chapter 2: Processes Topics –Processes –Threads –Process Scheduling –Inter Process Communication (IPC) Reference: Operating Systems Design and Implementation.
Operating System Support Focus on Architecture
Final Review Monday, May 5th. Functional Components Process Manager: creates/removes processes Scheduler: allocates processes to processors Memory Manager:
CMPT 300: Final Review Chapters 8 – Memory Management: Ch. 8, 9 Address spaces Logical (virtual): generated by the CPU Physical: seen by the memory.
CS-3013 & CS-502, Summer 2006 Review Topics1 CS-3013 & CS-502 Operating Systems.
Computer Organization and Architecture
Virtual Memory Management B.Ramamurthy. Paging (2) The relation between virtual addresses and physical memory addres- ses given by page table.
1 Virtual Memory Management B.Ramamurthy Chapter 10.
Chapter 4 Memory Management 4.1 Basic memory management 4.2 Swapping
Layers and Views of a Computer System Operating System Services Program creation Program execution Access to I/O devices Controlled access to files System.
1 Processes and Threads Chapter Processes 2.2 Threads 2.3 Interprocess communication 2.4 Classical IPC problems 2.5 Scheduling.
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.
General What is an OS? What do you get when you buy an OS? What does the OS do? What are the parts of an OS? What is the kernel? What is a device.
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.
Memory Management From Chapter 4, Modern Operating Systems, Andrew S. Tanenbaum.
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.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Introduction to Concurrency.
Cpr E 308 Spring 2004 Real-time Scheduling Provide time guarantees Upper bound on response times –Programmer’s job! –Every level of the system Soft versus.
Computers Operating System Essentials. Operating Systems PROGRAM HARDWARE OPERATING SYSTEM.
30 October Agenda for Today Introduction and purpose of the course Introduction and purpose of the course Organization of a computer system Organization.
Exam Study Guide. Chapter 5: Input/Output Must have a familiarity with the issues associated with I/O. –For example, why is so much attention paid to.
1 Memory Management. 2 Fixed Partitions Legend Free Space 0k 4k 16k 64k 128k Internal fragmentation (cannot be reallocated) Divide memory into n (possible.
Virtual Memory The memory space of a process is normally divided into blocks that are either pages or segments. Virtual memory management takes.
Silberschatz, Galvin and Gagne  Operating System Concepts Operating Systems 1. Overview 2. Process Management 3. Storage Management 4. I/O Systems.
OBJECTIVE: To learn about the various system calls. To perform the various CPU scheduling algorithms. To understand the concept of memory management schemes.
Operating Systems ECE344 Ding Yuan Final Review Lecture 13: Final Review.
1 Rutgers UniversityCS 416: Operating Systems Final exam details December 22, pm-3pm. Venue: SEC 118. Tips: Spend time reading the questions before.
CS1253- OPERATING SYSTEMS. SYLLABUS UNIT I PROCESSES AND THREADS 9 Introduction to operating systems – Review of computer organization – Operating.
Silberschatz and Galvin  Chapter 3:Processes Processes –State of a process, process control block, –Scheduling of processes  Long term scheduler,
CSE 153 Design of Operating Systems Winter 2015 Midterm Review.
1/31/20161 Final Exam Dec 10. Monday. 4-7pm. Phelp 1160 Similar to midterm The exam is closed book. You can bring 2 page of notes (double sided) Nachos.
IT 344: Operating Systems Winter 2010 Module 23 Course Review Chia-Chi Teng CTB 265.
What is an Operating System? Various systems and their pros and cons –E.g. multi-tasking vs. Batch OS definitions –Resource allocator –Control program.
Exam Review Andy Wang Operating Systems COP 4610 / CGS 5675.
1 Processes and Threads Part II Chapter Processes 2.2 Threads 2.3 Interprocess communication 2.4 Classical IPC problems 2.5 Scheduling.
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.
Chapters 3 and 5 Possible questions
Sarah Diesburg Operating Systems COP 4610
Operating System (OS) QUESTIONS AND ANSWERS
Section 10: Last section! Final review.
Lecture 42: Review for Final Exam
Chapter 9: Virtual-Memory Management
Operating Systems Review.
Chapter 15 – Part 1 The Internal Operating System
CSE 451: Operating Systems Winter 2007 Module 24 Course Review
Andy Wang Operating Systems COP 4610 / CGS 5675
Sarah Diesburg Operating Systems CS 3430
CSE 451: Operating Systems Spring 2005 Module 23 Course Review
Exam Review Mark Stanovich Operating Systems COP
CSE 451: Operating Systems Spring 2005 Module 23 Course Review
Operating Systems Lecture 1.
Andy Wang Operating Systems COP 4610 / CGS 5675
Major Topics in Operating Systems
CSE 451: Operating Systems Winter 2006 Module 24 Course Review
CSE 153 Design of Operating Systems Winter 2019
Sarah Diesburg Operating Systems COP 4610
Andy Wang Operating Systems COP 4610 / CGS 5675
CSE 542: Operating Systems
Presentation transcript:

CMPT 300: Operating Systems Review THIS REIVEW SHOULD NOT BE USED AS PREDICTORS OF THE ACTUAL QUESTIONS APPEARING ON THE FINAL EXAM.

2 What Will Be in The Final Exam? Concepts & Definitions E.g., working set, aging Conditions & Assumptions E.g., conditions of deadlocks? Pros & Cons E.g., contiguous allocation Vs. linked list Events E.g., interrupt, page fault Algorithms E.g., Peterson’s solution, scheduling algorithms Data structures E.g., page table, process table

3 How to Go Over the Materials? Read text book and lecture notes Reading lecture notes only may not be enough Understand the concepts and definitions Keep thinking Relation between concepts E.g., DMA Vs. paging Why does an algorithm work here? Extensions and implications of principles E.g., strict alternation, Peterson’s solution

4 Ch01: Overview of OS OS structures Hardware CPU, memory, disk, bus, DMA Basic concepts Process (thread), deadlock, I/O, file system Sections not covered in the final exam 1.2. History of operating systems 1.3. The operating system zoo

5 Ch02: Processes And Threads Processes Differences with programs? States and transitions Process table Fork() Threads Differences with processes? Pros & Cons? Kernel space Vs. user space implementation Typical applications ( I/O and CPU mixed task)

6 Ch02 (Cont.) Inter-process communication Race condition Critical region & Mutual exclusion Busy waiting Disable interrupts, lock variables, strict alternation, Peterson’s solution Sleep & wakeup calls, mutexes, semaphores, monitors, message passing Classical IPC problems How to apply mechanisms to solve problems?

7 Ch02 (Cont.) Scheduling Preemptive Vs. non-preemptive Benchmarks: turnaround time, throughput, response time FCFS, SJF, RR, MQ, etc Three-level scheduling Sections not covered in exam 2.5.4: real-time scheduling policy Vs. mechanism

8 Ch03: Deadlocks Conditions for deadlock Solutions for deadlock problem Ostrich algorithm Detection and recovery Avoidance Prevention Other issues Two-phase locking Starvation

9 Ch04: Memory Management Basic management Fixed partitions (single queue Vs. multiple queues) Degree of multi-programming Relocation and protection (base & limit registers) Bitmaps Vs. linked list Swapping Scenario: memory not enough External fragmentation (memory compaction) Virtual memory Paging: pages Vs. page frames, page faults MMU, TLB, page table, page table entry

10 Ch04 (Cont.) Page replacement algorithms NRU, FIFO, second chance, clock, LRU, NFU, aging Working set, WSClock algorithm Assumptions, relations Modeling Belady’s anomaly Stack algorithm Design issues Global Vs. local, page sizes, shared pages, copy- on-write

11 Ch04 (Cont.) Implementation Page fault handling, backing stores Segmentation Advantages Pure segmentation Vs. segmentation with paging Sections not covered in final exam 4.6.7, 4.7.3, 4.7.6, 4.8.3

12 Ch05: I/O Principles of I/O hardware Device controllers Memory-mapped I/O Vs. I/O port number DMA Vs. Interrupt Principles of I/O software Goals Three approaches I/O software layers Four layers Functions and relationship

13 Ch05 (Cont.) Disks Structure, format, layout Disk arm scheduling algorithms RAID Stable storage Clocks Basic work principle Sections not covered in the final exam In 5.4, CD-ROM, CD-R, DVD, , 5.5.3,

14 Ch06: File Systems Files Attributes, operations Memory-mapped files Directories Hierarchical directory Path name

15 Ch06 (Cont.) Implementations Files: contiguous Vs. linked list, i-nodes Directories: directory entry, long file name Shared files Disk space management Free list Vs. bitmap Reliability Backup: full dump Vs. incremental dump Consistency check: block Vs. directory check

16 Ch06 (Cont.) Performance Caching, block read ahead, reducing disk arm motion Sections not covered in final exam 6.3.8: log-structured file systems