Mac OS X Panther Operating System

Slides:



Advertisements
Similar presentations
Secure Operating Systems Lesson 2: OS Fundamentals.
Advertisements

G Robert Grimm New York University Virtual Memory.
MACHINE-INDEPENDENT VIRTUAL MEMORY MANAGEMENT FOR PAGED UNIPROCESSOR AND MULTIPROCESSOR ARCHITECTURES R. Rashid, A. Tevanian, M. Young, D. Golub, R. Baron,
14 Macintosh OS X Internals. © 2005 Pearson Addison-Wesley. All rights reserved The Macintosh Platform 1984 – first affordable GUI Based on Motorola 32-bit.
Operating Systems ECE344 Ding Yuan Final Review Lecture 13: Final Review.
OS Fall’02 Virtual Memory Operating Systems Fall 2002.
Chap 2 System Structures.
Threads, SMP, and Microkernels Chapter 4. Process Resource ownership - process is allocated a virtual address space to hold the process image Scheduling/execution-
Computer Systems/Operating Systems - Class 8
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)
Operating System Support Focus on Architecture
By: Richard Rashid, Avadis Tevanian, Michael Young, David Golub, Robert Baronn, David Black, William Bolosky, and Jonathan Chew, October 1987 Presented.
CMPT 300: Operating Systems Review THIS REIVEW SHOULD NOT BE USED AS PREDICTORS OF THE ACTUAL QUESTIONS APPEARING ON THE FINAL EXAM.
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.
Chapter 11 Operating Systems
Computer Organization and Architecture
OPERATING SYSTEMS Introduction
CS533 Concepts of Operating Systems Class 14 Extensible Virtual Memory Management.
CS364 CH08 Operating System Support TECH Computer Science Operating System Overview Scheduling Memory Management Pentium II and PowerPC Memory Management.
Basics of Operating Systems March 4, 2001 Adapted from Operating Systems Lecture Notes, Copyright 1997 Martin C. Rinard.
Operating Systems Sameer Mahajan. Overview Process management Interrupts Memory management File system Device drivers Networking (TCP/IP, UDP) Security.
Memory Management ◦ Operating Systems ◦ CS550. Paging and Segmentation  Non-contiguous memory allocation  Fragmentation is a serious problem with contiguous.
Week 6 Operating Systems.
Ceng Operating Systems
Mac OS X Stephen Ayers David Der Nathan Henkel Dan Hodos William Hunt.
CS 153 Design of Operating Systems Spring 2015 Final Review.
Operating Systems Chapter 8
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.
The Structure of Processes (Chap 6 in the book “The Design of the UNIX Operating System”)
Windows NT Operating System. Windows NT Models Layered Model Client/Server Model Object Model Symmetric Multiprocessing.
Threads, SMP, and Microkernels Chapter 4. Process Resource ownership - process is allocated a virtual address space to hold the process image Scheduling/execution-
The IBM VM CS450/550 Section 2 Stephen Kam. IBM VM - Origins Originally an experimental OS called “CP-67” Designed to run on the IBM System/360 Model.
30 October Agenda for Today Introduction and purpose of the course Introduction and purpose of the course Organization of a computer system Organization.
Scott Ferguson Section 1
A summary by Nick Rayner for PSU CS533, Spring 2006
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 10: Virtual Memory Background Demand Paging Page Replacement Allocation of.
Operating Systems Structure what is the organizational principle?
CS533 - Concepts of Operating Systems 1 The Mach System Presented by Catherine Vilhauer.
Mac OS X December 5, 2005 Fall 2005 Term Project CS450 Operating Systems (Section 2) Darrell Hall, Ryan Lanman, Chris Sanford, John Suarez {halldl, lanmanrm,
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
1 Unix Architecture. 2 Operating Systems Concepts 1. Process 2. Memory management 3. Information protection & security 4. Scheduling and resource management.
Chapter 11: Operating System Support Dr Mohamed Menacer Taibah University
Operating Systems ECE344 Ding Yuan Final Review Lecture 13: Final Review.
Operating Systems ECE344 Ashvin Goel ECE University of Toronto Demand Paging.
M a c O S X CS-450-1: Operating Systems Fall 2005 Matt Grady – Mike O’Connor – Justin Rains.
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.
What is an Operating System? Various systems and their pros and cons –E.g. multi-tasking vs. Batch OS definitions –Resource allocator –Control program.
Mac OS X Cate Wardell Tim Miller Tina Han Kenan Shifflett Zach Debord.
The VMS Operating System CS 351: Operating Systems Spring 2001 Section 1 Chad Cruys, Joshua Krug, William Menke, Matt Stehle, Kenneth Ward.
1 Contents Memory types & memory hierarchy Virtual memory (VM) Page replacement algorithms in case of VM.
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.
UNIT–IV: Memory Management
Unit OS4: Scheduling and Dispatch
Operating System Structure
Review.
Chapter 9: Virtual-Memory Management
Chapter 2: The Linux System Part 3
Operating Systems Lecture 1.
Major Topics in Operating Systems
Contents Memory types & memory hierarchy Virtual memory (VM)
Computer Architecture
Lecture 3: Main Memory.
The VMS Operating System
CS533 Concepts of Operating Systems Class 14
CSE 542: Operating Systems
Virtual Memory Use main memory as a “cache” for secondary (disk) storage Managed jointly by CPU hardware and the operating system (OS) Programs share main.
CSE 153 Design of Operating Systems Winter 2019
Presentation transcript:

Mac OS X Panther Operating System Tomomi Kotera CS 550 Section 3 Fall 2003

Presentation Overview Overview of Mac OS X System Architecture Key technologies CPU scheduling Symmetric Multiprocessing Memory Management Conclusion

Overview of Mac OS X UNIX-based Operating System with the intuitive user interface called Aqua “Classic” Mac OS vs. Newer Mac OS Four major successes of Mac OS X Preemptive Multitasking Symmetric Multiprocessing Memory Protection Virtual Memory

System Architecture Four layers of system software Application Environments Application Services Core Services Kernel Environments

Preemptive Multiprocessing Cooperative multitasking (Classic Mac OS) vs. Preemptive Multiprocessing (Mac OS X) Preemptive Multiprocessing Multilevel Feedback Queue Scheduling Algorithm Round Robin Scheduling Algorithm

Preemptive Multiprocessing (cont.) Multilevel Feedback Queue Scheduling Algorithm 128 priority levels are divided into four bands Normal (0-51) System High Priority (52-79) Kernel Mode Only (80-95) Real-Time Threads (96-127) Real-Time Threads are treated differently Avoid Starvation Threads migrate within a given band

Symmetric Multiprocessing Dual processor capabilities Share Memory and I/O bus Kernel can execute on any processor

Memory Protection Crush Resistant Processes are isolated in own memory spaces Cannot interfere one another If one applications crashes, the system, and other applications are unaffected - no restarts

Virtual Memory Classic Mac OS uses Segmentation Mac OS X adopts Demand Paging Large, sparse virtual address spaces Mapping a page reference to a physical address pager application Address space Function call Page fault resume

Virtual Memory (cont.) VM Object (Virtual Memory Object) Object-oriented nature of Mach Contiguous repository for data indexed by byte All data in an address space is provided through VM objects Track and manage the resident and nonresident pages Memory Sharing Inheritance (shared, copy, none) Copy-on-Write

Virtual Memory (cont.) Content of a VM object Field Description Resident pages List of resident pages in physical memory Size The size of the region, in bytes Pager The pager responsible for tracking and handling the pages of this region in backing store Shadow Used for copy-on-write optimizations Copy Attributes Flags indicating the state of various implementation details

Virtual Memory (cont.) Second-chance first in, first out (FIFO) Algorithm Three lists of physical memory pages List Description Active list pages that are currently mapped into memory and have been recently accessed Inactive list pages that are currently resident in physical memory Free list pages of physical memory that are not associated with any address space of the page table

Virtual Memory (cont.) Continuously check the free list When the number of pages in the free list dips below this threshold, remove pages from the inactive list to place them on the free list Always maintains a few pages on the inactive list Once the free list size exceeds the target threshold, the pager rests FIFO-like page replacement The inactive list serves as a second chance

Conclusion Technical Success of Mac OS X Marriage of stability, reliability and security of UNIX, with the ease of use of the Macintosh GUI Benefits from UNIX features Preemptive Scheduling Symmetric Multiprocessing Memory Management Target both home users and IT professionals