1 Review for Final Exam Memory management Three central questions File system I/O system Network Protection Security.

Slides:



Advertisements
Similar presentations
Background Virtual memory – separation of user logical memory from physical memory. Only part of the program needs to be in memory for execution. Logical.
Advertisements

Operating Systems ECE344 Ding Yuan Final Review Lecture 13: Final Review.
Caching and Virtual Memory. Main Points Cache concept – Hardware vs. software caches When caches work and when they don’t – Spatial/temporal locality.
9.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Virtual Memory OSC: Chapter 9. Demand Paging Copy-on-Write Page Replacement.
Chapter 8 Virtual Memory Operating Systems: Internals and Design Principles, 6/E William Stallings Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice.
 Exam Date: Next Tuesday, December 15 th  This room, Same time.
Memory/Storage Architecture Lab Computer Architecture 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.
Chapter 101 Virtual Memory Chapter 10 Sections and plus (Skip:10.3.2, 10.7, rest of 10.8)
OS Spring ‘04 Paging and Virtual Memory Operating Systems Spring 2004.
Virtual Memory Chapter 8.
Virtual Memory Chapter 8. Hardware and Control Structures Memory references are dynamically translated into physical addresses at run time –A process.
Paging and Virtual Memory. Memory management: Review  Fixed partitioning, dynamic partitioning  Problems Internal/external fragmentation A process can.
CS 104 Introduction to Computer Science and Graphics Problems
Operating Systems Final Exam Review. Topics F Virtual Memory F File Systems F I/O Devices F Project 3: Macro Shell.
Chapter 11 – Virtual Memory Management Outline 11.1 Introduction 11.2Locality 11.3Demand Paging 11.4Anticipatory Paging 11.5Page Replacement 11.6Page Replacement.
CMPT 300: Final Review Chapters 8 – Memory Management: Ch. 8, 9 Address spaces Logical (virtual): generated by the CPU Physical: seen by the memory.
Virtual Memory Chapter 8.
1 Virtual Memory Chapter 8. 2 Hardware and Control Structures Memory references are dynamically translated into physical addresses at run time –A process.
CS-3013 & CS-502, Summer 2006 Review Topics1 CS-3013 & CS-502 Operating Systems.
1 Lecture 9: Virtual Memory Operating System I Spring 2007.
Virtual Memory Chapter 8.
Operating Systems Final Exam Review. Topics Paging Virtual Memory File Systems I/O Devices Project 3: Macro Shell.
OS Spring’04 Virtual Memory: Page Replacement Operating Systems Spring 2004.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts, Amherst Operating Systems CMPSCI 377 Lecture.
1 Last Time: Paging Motivation Page Tables Hardware Support Benefits.
Memory Management ◦ Operating Systems ◦ CS550. Paging and Segmentation  Non-contiguous memory allocation  Fragmentation is a serious problem with contiguous.
Caching and Virtual Memory. Main Points Cache concept – Hardware vs. software caches When caches work and when they don’t – Spatial/temporal locality.
Rensselaer Polytechnic Institute CSC 432 – Operating Systems David Goldschmidt, Ph.D.
Silberschatz and Galvin  Chapters 3 and 5 Possible questions –Tracing a given program involving fork, exec, semaphores, and share memory –Wring.
Operating Systems (CS 340 D) Dr. Abeer Mahmoud Princess Nora University Faculty of Computer & Information Systems Computer science Department.
CS 153 Design of Operating Systems Spring 2015 Final Review.
CSE 451: Operating Systems Section 10 Project 3 wrap-up, final exam review.
Virtual Memory Chapter 8. Hardware and Control Structures Memory references are dynamically translated into physical addresses at run time –A process.
1 Virtual Memory Chapter 8. 2 Hardware and Control Structures Memory references are dynamically translated into physical addresses at run time –A process.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Virtual Memory.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 10: Virtual Memory Background Demand Paging Page Replacement Allocation of.
1 CMSC421: Principles of Operating Systems Nilanjan Banerjee Principles of Operating Systems Acknowledgments: Some of the slides are adapted from Prof.
Virtual Memory Chapter 8. Hardware and Control Structures Memory references are dynamically translated into physical addresses at run time –A process.
Lecture Topics: 11/24 Sharing Pages Demand Paging (and alternative) Page Replacement –optimal algorithm –implementable algorithms.
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.
Windows XP Memory Management Aaron Lanoy and Jason Farnsworth.
1 Lecture 8: Virtual Memory Operating System Fall 2006.
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.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 9: Virtual Memory.
Virtual Memory Chapter 8.
Chapters 3 and 5 Possible questions
Review.
Chapter 9: Virtual-Memory Management
Final Review CSE 421/521 B.Ramamurthy 11/18/2018 B.Ramamurthy.
Final Review CSE 421/521 B.Ramamurthy 11/20/2018 B.Ramamurthy.
Final Review CSE 421/521 B.Ramamurthy 11/20/2018 B.Ramamurthy.
ICS Principles of Operating Systems
Final Review CSE 421/521 B.Ramamurthy 12/5/2018 B.Ramamurthy.
Virtual Memory فصل هشتم.
Final Review CSE 421/521 B.Ramamurthy 12/8/2018 B.Ramamurthy.
Final Review CSE 421/521 B.Ramamurthy 2/19/2019 B.Ramamurthy.
Final Review CSE 421/521 B.Ramamurthy 2/25/2019 B.Ramamurthy.
Computer Architecture
Review for final Anything’s fair game, but emphasis on more recent stuff.
Database Systems (資料庫系統)
Exercise (11).
CSE 542: Operating Systems
Lecture 9: Caching and Demand-Paged Virtual Memory
CSE 542: Operating Systems
Virtual Memory.
CSE 542: Operating Systems
Clock Algorithm Example
Presentation transcript:

1 Review for Final Exam Memory management Three central questions File system I/O system Network Protection Security

2 Memory management: three central questions Where in memory is executing process? How do we allow multiple processes to share main memory? (protection) What’s an address and how is one interpreted?

3 Three central questions: depend on schemes Contiguous memory allocation Process placement Protection Address interpretation Paging Process placement Protection Address interpretation

4 Paging address interpretation: w/o TLB

5 Paging address interpretation: w/ TLB v = valid bit: entry is up-to-date

6 Other topics Page replacement algorithms MIN, OPT (optimal) RANDOM evict random page FIFO (first-in, first-out) give every page equal residency LRU (least-recently used) MRU (most-recently used) Approximate LRU in practice Thrashing

7 File systems File layout on disk Contiguous files Linked files Indexed files Free-Space Management Bitmap/bitvector Linked list

8 I/O systems Programmed I/O Polling Interrupt DMA RAIDs Bit-level/block-level striping Redundancy

9 Network, protection & security Read book and slides