Silberschatz and Galvin  1999 7.1 Chapters 3 and 5 Possible questions –Tracing a given program involving fork, exec, semaphores, and share memory –Wring.

Slides:



Advertisements
Similar presentations
Module 10: Virtual Memory
Advertisements

Chapter 10: Virtual Memory
Operating Systems Review.
Operating Systems ECE344 Ding Yuan Final Review Lecture 13: Final Review.
1 Virtual Memory Management B.Ramamurthy. 2 Demand Paging Main memory LAS 0 LAS 1 LAS 2 (Physical Address Space -PAS) LAS - Logical Address.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 10: Virtual Memory Background Demand Paging Process Creation Page Replacement.
Module 9: Virtual Memory
Module 10: Virtual Memory Background Demand Paging Performance of Demand Paging Page Replacement Page-Replacement Algorithms Allocation of Frames Thrashing.
Chapter 9: Virtual-Memory Management. 9.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 9: Virtual Memory Background Demand Paging.
Chapter 11: File System Implementation
CAS3SH3 Final Review. The Final Tue 28 th, 7pm, IWC3 closed book, closed note Non-comprehensive: memory management, storage & file system Types of questions:
CMPT 300: Final Review Chapters 8 – Memory Management: Ch. 8, 9 Address spaces Logical (virtual): generated by the CPU Physical: seen by the memory.
Memory Management Design & Implementation Segmentation Chapter 4.
03/26/2010CSCI 315 Operating Systems Design1 Virtual Memory Notice: The slides for this lecture have been largely based on those accompanying an earlier.
Chapter 12: File System Implementation
CMPT 300: Operating Systems Review THIS REIVEW SHOULD NOT BE USED AS PREDICTORS OF THE ACTUAL QUESTIONS APPEARING ON THE FINAL EXAM.
Chapter 9: Virtual Memory. 9.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Feb 22, 2005 Chapter 9: Virtual Memory Background.
Final Review Monday, May 5th. Functional Components Process Manager: creates/removes processes Scheduler: allocates processes to processors Memory Manager:
Chapter 10: Virtual Memory. 9.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Feb 22, 2005 Chapter 10: Virtual Memory.
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.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 9: Virtual Memory.
1 Virtual Memory Management B.Ramamurthy Chapter 10.
Operating Systems Review. Questions What are two functions of an OS? What “layer” is above the OS? What “layer” is below the OS?
Memory Management ◦ Operating Systems ◦ CS550. Paging and Segmentation  Non-contiguous memory allocation  Fragmentation is a serious problem with contiguous.
Chapter 3 Memory Management: Virtual Memory
Operating Systems CMPSC 473 I/O Management (4) December 09, Lecture 25 Instructor: Bhuvan Urgaonkar.
CS 153 Design of Operating Systems Spring 2015 Final Review.
Memory Management From Chapter 4, Modern Operating Systems, Andrew S. Tanenbaum.
CIS250 OPERATING SYSTEMS Memory Management Since we share memory, we need to manage it Memory manager only sees the address A program counter value indicates.
Chapter 11: File System Implementation Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005 File-System Structure.
CS414 Review Session.
30 October Agenda for Today Introduction and purpose of the course Introduction and purpose of the course Organization of a computer system Organization.
Silberschatz and Galvin  Operating System Concepts File-System Implementation File-System Structure Allocation Methods Free-Space Management.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 12: File System Implementation File System Structure File System Implementation.
OPERATING SYSTEMS - I. What is an Operating System OS is a program that manages the computer hardware It provides a basis for application programs and.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 10: Virtual Memory Background Demand Paging Page Replacement Allocation of.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 12: File System Implementation File System Structure File System Implementation.
Silberschatz and Galvin  Operating Systems Overview D. Manivannan Department of Computer Science University of Kentucky.
Silberschatz, Galvin and Gagne  Operating System Concepts Operating Systems 1. Overview 2. Process Management 3. Storage Management 4. I/O Systems.
Operating Systems ECE344 Ding Yuan Final Review Lecture 13: Final Review.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 12: File System Implementation File System Structure File System Implementation.
Memory Management & Virtual Memory © Dr. Aiman Hanna Department of Computer Science Concordia University Montreal, Canada.
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, Galvin and Gagne  Operating System Concepts Virtual Memory Virtual memory – separation of user logical memory from physical memory.
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.
Chapter 9: Virtual-Memory Management. 9.2 Silberschatz, Galvin and Gagne ©2005 Operating System Principles Chapter 9: Virtual-Memory Management 9.1 Background.
Week 10 March 10, 2004 Adrienne Noble. Important Dates Project 4 due tomorrow (Friday) Final Exam on Tuesday, March 16, 2:30- 4:20pm.
10.1 Chapter 10: Virtual Memory Background Demand Paging Process Creation Page Replacement Allocation of Frames Thrashing Operating System Examples.
CMPT 300: Operating Systems Course Summary THIS SUMMARY SHOULD NOT BE USED AS PREDICTORS OF THE ACTUAL QUESTIONS APPEARING ON THE FINAL EXAM.
1 Memory Management Adapted From Modern Operating Systems, Andrew S. Tanenbaum.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 9: Virtual Memory.
Chapter 9: Virtual Memory. 9.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Background Virtual memory – separation of user logical memory.
Chapters 3 and 5 Possible questions
Review.
Module 9: Virtual Memory
Lecture 42: Review for Final Exam
Chapter 9: Virtual-Memory Management
Operating Systems Review.
5: Virtual Memory Background Demand Paging
The Operating System Machine Level
CPSC 457 Operating Systems
CSE 451: Operating Systems Spring 2005 Module 23 Course Review
Operating Systems Lecture 1.
Major Topics in Operating Systems
CSE 542: Operating Systems
Module 9: Virtual Memory
Virtual Memory.
CSE 542: Operating Systems
Presentation transcript:

Silberschatz and Galvin  Chapters 3 and 5 Possible questions –Tracing a given program involving fork, exec, semaphores, and share memory –Wring a simple program using fork, exec, semaphores, and share memory –Solving a synchronization problem using semaphores or monitors.

Silberschatz and Galvin  Chapter 7: Deadlocks Necessary Conditions for deadlock Modeling deadlock using Resource allocation graph Methods for handling deadlock –Deadlock prevention  Methods for preventing deadlocks (preventing hold and wait, preventing no preemption, preventing circular wait) -- Section 7.4 –Deadlock avoidance  Methods for avoiding deadlocks (Resouce allocation graph algorithm, Banker’s algorithm) -- Section 7.5 –Deadlock detection and resolution  Methods detecting deadlocks (Single instance resource type, several instance resource type) -- Section 7.6

Silberschatz and Galvin  Chapter 8 – Main Memory Overlays, physical and logical address space Swapping Memory allocation for processes –Contiguous allocation – advantages and disadvantages – external and internal fragmentation –Paged allocation  Address translation under paged allocation  Page table implementation  Associative registers, Translation look aside buffers  Effective access time calculation  Two level paging scheme  Inverted page table architecture  Sharing pages between processes – adv. Disadv. –Segmentation-based allocation  Address translation under segmentation based allocation

Silberschatz and Galvin  Chapter 9: Virtual Memory What is virtual memory? Demand paging (an implementation of virtual memory) –Page faults, effective access time calculation –Page replacement algorithms  FIFO, Optimal algorithm, LRU, Additional reference bit algorithm, Second chance algorithm – comparison of these algorithms  Counting algorithms –LFU (least frequently used ) –MFU (most frequently used) –Allocation of frames  Issues that need to be taken into consideration for  Different allocation schemes –Fixed, priority-based, equal, proportionate –Thrashing  What is thrashing? Causes for thrashing  Working set model to solve the problem of thrashing  How can program structure contribute to thrashing?

Silberschatz and Galvin  Chapter 10: Mass-Storage Structure Disk Structure –Cylinders, tracks, sector(block) Disk Scheduling –Goal of a good scheduling algorithm –Various scheduling algorithms  FCFS, SSTF, SCAN, C-SCAN, C-LOOK  Performance of these algorithms Reliability –RAID Tertiary storage –Removable disks, WORM disks, Tapes, –Hierarchical storage management

Silberschatz and Galvin  Chapter 11: File System Interface File structures File attributes, operation, types, access methods Device directory Different directory structures –Single level –Two level –Tree Structured –Acyclic graph structured –General graph structured File access protection

Silberschatz and Galvin  Chapter 12: File System Implementation File system –Disk space allocation  Contiguous, linked, indirect,  Mapping under each allocation  UNIX allocation scheme –Free Space management  Bit vector, linked list approach, grouping, counting

Silberschatz and Galvin  Chapter 14 and 15: Protection and Security Domain of protection (14.3) Access Matrix (14.4 ) Implementation of access matrix ( to ) The security problem (15.1) Program threats: Trojan horse, Trap door, logic bomb, stack and buffer overflow, viruses(15.2) System and network threats: worms (15.3.1) Cryptography: Asymmetric key cryptosystem, Symmetric key cryptosystem, RSA cryptography, digital signature. (class notes and section 15.4)

Silberschatz and Galvin  Point distribution Approximate distribution of points for final exam –Chapters 3 and 5: processes, synchronization - 25 points –Chapter 7 : Deadlocks - 15 points –Chapter 8,9: Main memory, virtual memory : 25 points –Chapter 10,11, 12: File system, storage: 15 points –Chapter Security, protection : 20 points (You are allowed to bring in a cheat sheet of size 8 ½ X 11 in.)

Silberschatz and Galvin  Expected Learning Outcome Upon successful completion of the course, one would 1.Have understood the various components of the Operating system 2.Understood memory management 3.Understood process management 4.Understood basic mechanisms for protecting computer resources 5.Understood file system management 6.Understood and applied some OS interfaces for application development.