Section 10: Last section! Final review.

Slides:



Advertisements
Similar presentations
Operating Systems ECE344 Midterm review Ding Yuan
Advertisements

More on Processes Chapter 3. Process image _the physical representation of a process in the OS _an address space consisting of code, data and stack segments.
Basic Operating System Concepts
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.
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.
1 CS318 Project #3 Preemptive Kernel. 2 Continuing from Project 2 Project 2 involved: Context Switch Stack Manipulation Saving State Moving between threads,
Operating Systems Review. Questions What are two functions of an OS? What “layer” is above the OS? What “layer” is below the OS?
CMPT 300: Operating Systems Review THIS REIVEW SHOULD NOT BE USED AS PREDICTORS OF THE ACTUAL QUESTIONS APPEARING ON THE FINAL EXAM.
CMPT 300: Final Review Chapters 8 – Memory Management: Ch. 8, 9 Address spaces Logical (virtual): generated by the CPU Physical: seen by the memory.
Tanenbaum, Structured Computer Organization, Fifth Edition, (c) 2006 Pearson Education, Inc. All rights reserved The Operating System Machine.
Operating Systems Review. Questions What are two functions of an OS? What “layer” is above the OS? What “layer” is below the OS?
1 CSE451 - Section Last section! Project 4 due tomorrow Today: Some practice for the exam “Big picture” review tomorrow Evaluations Project 3 +
CS 153 Design of Operating Systems Spring 2015 Midterm 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.
CSE 451: Operating Systems Autumn 2013 Module 28 Course Review Ed Lazowska Allen Center 570 © 2013 Gribble, Lazowska, Levy,
30 October Agenda for Today Introduction and purpose of the course Introduction and purpose of the course Organization of a computer system Organization.
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.
Processes, Threads, and Process States. Programs and Processes  Program: an executable file (before/after compilation)  Process: an instance of a program.
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.
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.
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.
Processes and Threads Chapter 3 and 4 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Section 10: Last section! Final review.
CSE 451: Operating Systems Spring 2012 Module 28 Course Review
Copyright ©: Nahrstedt, Angrave, Abdelzaher
Process Management Process Concept Why only the global variables?
Sarah Diesburg Operating Systems COP 4610
Operating System (OS) QUESTIONS AND ANSWERS
Process management Information maintained by OS for process management
Operating Systems Review.
Chapter 15 – Part 1 The Internal Operating System
CSE 451: Operating Systems Winter 2007 Module 24 Course Review
Chapter 9: Virtual Memory
Andy Wang Operating Systems COP 4610 / CGS 5675
Midterm review: closed book multiple choice chapters 1 to 9
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 Autumn 2010 Module 27 Course Review
CSE 451: Operating Systems Spring 2005 Module 23 Course Review
CSE 451: Operating Systems
CSE451 - Section 10.
Operating Systems Lecture 1.
Andy Wang Operating Systems COP 4610 / CGS 5675
Major Topics in Operating Systems
CSE 451: Operating Systems Autumn 2009 Module 26 Course Review
CSE 451: Operating Systems Winter 2003 Lecture 6 Scheduling
February 5, 2004 Adrienne Noble
CSE 451: Operating Systems Winter 2006 Module 24 Course Review
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 153 Design of Operating Systems Winter 2019
Andy Wang Operating Systems COP 4610 / CGS 5765
Sarah Diesburg Operating Systems COP 4610
Andy Wang Operating Systems COP 4610 / CGS 5675
CSE 542: Operating Systems
CSE 451: Operating Systems Winter 2001 Lecture 6 Scheduling
Sarah Diesburg Operating Systems CS 3430
Presentation transcript:

Section 10: Last section! Final review

Processes What is a process? What does it virtualize? differences between process, thread? what is contained in process? what does PCB contain? state queues? which states, what transitions are possible? when do transitions happen? Process manipulation what does fork() do? how about exec()?

Threads What is a thread? why are they useful? user-level vs. kernel-level threads? performance implications functionality implications How does thread scheduling differ from process scheduling? what operations do threads support? what happens on a thread context switch? what is saved in TCB? preemptive vs. non-preemptive scheduling?

Scheduling Long term vs. short term When does scheduling happen? job changes state, interrupts, exceptions, job creation Scheduling goals? maximize CPU utilization maximize job throughput minimize {turnaround time | waiting time | response time} batch vs. interactive: what are their goals? What is starvation? what causes it? FCFS/FIFO, SPT, SRPT, priority, RR, …

Synchronization Why do we need it? What is mutual exclusion? data coordination? execution coordination? what are race conditions? when do they occur? when are resources shared? (variables, heap objects, …) What is mutual exclusion? what is a critical section? what are the requirements of critical sections? mutex, progress, bounded waiting, performance what are mechanisms for programming critical sections? locks, semaphores, monitors, condition variables

Semaphores and Monitors Semaphores and Condition Variables basic operations: wait vs. signal? difference between semaphore and CV? when and how do threads block on semaphores? CVs? when do they wake? bounded buffers problem producer/consumer readers/writers problem how is all of this implemented Moving descriptors on and off queues Monitors the operations and their implementation

Memory Management Mechanisms for implementing memory management physical vs. virtual addressing base/limit registers partitioning, paging, segmentation Internal and external fragmentation

Review: virtual memory What is paging? What is segmentation? How are both used? How does copy-on-write work? What is it used for? What is the Optimal Page Replacement Algorithm? What is Belady's anomaly? Is LRU Page Replacement the most practical algorithm? Why Not? 8 8

Review: virtual memory Linux uses both paging and segmentation Paging allows independent address spaces for each process. Segmentation sets up “kernel memory” and “user memory” segments – limited use in linux. How does copy-on-write work? What is it used for? Writeable page mapped into multiple address spaces as one copy until first write. Useful for fork – why? What is The OPT algorithm? Optimal page replacement – evict page the won’t be needed longest into the future What is Belady's anomaly? Bad property of FIFO – fault rate can increase with more allocated frames LRU has great performance but is inefficient in practice. 9 9

Review: Consider a modern desktop computer on which the hard disk is spinning. What is the most significant delay in reading from a 4K byte file that has not been accessed in a long time? 10 10

Review: Disks Consider a modern desktop computer on which the hard disk is spinning. What is the most significant delay in reading from a 4K byte file that has not been accessed in a long time? latency awaiting disk rotation and arm movement 11 11

Windows File System File Allocation Table Dirents What is contained in the FAT? What is contained in an entry in the FAT? Dirents 8.3 and long file names

Unix File System Source: wikipedia

JFS What issues was JFS addressing? What improvements were made?