Scott Ferguson Section 1

Slides:



Advertisements
Similar presentations
Threads, SMP, and Microkernels
Advertisements

14 Macintosh OS X Internals. © 2005 Pearson Addison-Wesley. All rights reserved The Macintosh Platform 1984 – first affordable GUI Based on Motorola 32-bit.
OS/2 Warp Chris Ashworth Cameron Davis John Weatherley.
Chorus and other Microkernels Presented by: Jonathan Tanner and Brian Doyle Articles By: Jon Udell Peter D. Varhol Dick Pountain.
Threads, SMP, and Microkernels Chapter 4. Process Resource ownership - process is allocated a virtual address space to hold the process image Scheduling/execution-
Chapter 4 Threads, SMP, and Microkernels Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design.
Computer Systems/Operating Systems - Class 8
INTRODUCTION OS/2 was initially designed to extend the capabilities of DOS by IBM and Microsoft Corporations. To create a single industry-standard operating.
Figure 1.1 Interaction between applications and the operating system.
PRASHANTHI NARAYAN NETTEM.
Case study 2 Android – Mobile OS.
 Introduction Introduction  Definition of Operating System Definition of Operating System  Abstract View of OperatingSystem Abstract View of OperatingSystem.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Chapter 8 Windows Outline Programming Windows 2000 System structure Processes and threads in Windows 2000 Memory management The Windows 2000 file.
Ceng Operating Systems
Operating System A program that controls the execution of application programs An interface between applications and hardware 1.
Chapter 4 Threads, SMP, and Microkernels Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
Mac OS X Panther Operating System
 What is an operating system? What is an operating system?  Where does the OS fit in? Where does the OS fit in?  Services provided by an OS Services.
Operating System 4 THREADS, SMP AND MICROKERNELS
Chapter 4 Threads, SMP, and Microkernels Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design.
Fall 2000M.B. Ibáñez Lecture 01 Introduction What is an Operating System? The Evolution of Operating Systems Course Outline.
Group 1 Members: SMU CSE 8343 Wael Faheem Professor:Dr.M.KHALIL. Hazem Morsy Date: Poramate Ongsakorn Payal H Patel Samatha Devi Malka.
1 Threads, SMP, and Microkernels Chapter 4. 2 Focus and Subtopics Focus: More advanced concepts related to process management : Resource ownership vs.
المحاضرة الاولى Operating Systems. The general objectives of this decision explain the concepts and the importance of operating systems and development.
April 2000Dr Milan Simic1 Network Operating Systems Windows NT.
IBM OS/2 Warp Mike Storck Matt Kerster Mike Roe Patrick Caldwell.
Processes and Threads Processes have two characteristics: – Resource ownership - process includes a virtual address space to hold the process image – Scheduling/execution.
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-
2002 Networking Operating Systems (CO32010) 1. Operating Systems 2. Processes and scheduling 3.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
1 Threads, SMP, and Microkernels Chapter Multithreading Operating system supports multiple threads of execution within a single process MS-DOS.
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,
Silberschatz, Galvin and Gagne  Operating System Concepts Operating Systems 1. Overview 2. Process Management 3. Storage Management 4. I/O Systems.
UNIX Unit 1- Architecture of Unix - By Pratima.
System Components ● There are three main protected modules of the System  The Hardware Abstraction Layer ● A virtual machine to configure all devices.
Operating System 4 THREADS, SMP AND MICROKERNELS.
M. Accetta, R. Baron, W. Bolosky, D. Golub, R. Rashid, A. Tevanian, and M. Young MACH: A New Kernel Foundation for UNIX Development Presenter: Wei-Lwun.
The Mach System Silberschatz et al Presented By Anjana Venkat.
M a c O S X CS-450-1: Operating Systems Fall 2005 Matt Grady – Mike O’Connor – Justin Rains.
CS1253- OPERATING SYSTEMS. SYLLABUS UNIT I PROCESSES AND THREADS 9 Introduction to operating systems – Review of computer organization – Operating.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Mac OS X Cate Wardell Tim Miller Tina Han Kenan Shifflett Zach Debord.
1 Threads, SMP, and Microkernels Chapter 4. 2 Process Resource ownership - process includes a virtual address space to hold the process image Scheduling/execution-
Threads, SMP, and Microkernels Chapter 4. Processes and Threads Operating systems use processes for two purposes - Resource allocation and resource ownership.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
1.3 Operating system services An operating system provide services to programs and to the users of the program. It provides an environment for the execution.
Chapter 2 Operating System Overview Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
Computer System Structures
The Mach Operating System
The Mach System Sri Ramkrishna.
Unit OS4: Scheduling and Dispatch
Operating System Structure
Unit OS2: Operating System Principles
CS490 Windows Internals Quiz 2 09/27/2013.
Mach Kernel Kris Ambrose Kris Ambrose 2003.
Threads, SMP, and Microkernels
Chapter 2: System Structures
Lecture 4- Threads, SMP, and Microkernels
Operating System 4 THREADS, SMP AND MICROKERNELS
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Outline Operating System Organization Operating System Examples
Chapter 2 Operating System Overview
Introduction to Operating Systems
Operating System Overview
Presentation transcript:

Scott Ferguson Section 1 Mac OS X Scott Ferguson Section 1

Introduction Background information on OS X Description of the OS X Architecture Mach Kernel Multithread Scheduling Memory Management Multiprocessing BSD-UNIX Components Networking File Systems Unix Security I/O Kit

OS X Overview 1997 Apple acquired NeXT, Inc. and their NextStep OS Apple wanted to create an operating system with the power and efficiency of UNIX and the ease of use of the current Mac OS. Apple release first version of OS X in 2001

OS X Overview In what environment is this OS designed to work? Designed to be used only with Apple computers Supports single and multiprocessor systems Did this OS advance the state of the art? Replaced “classic” Mac OS Succeeded in making UNIX system easy to use

OS X Overview Is it commercially successful? Mac OS holds about 3% of the current market share What was done right/wrong? High Quality Product Frequent Updates

OS X Architecture The kernel is the core that provides basic services for the other parts of the operating system. The Mac OS X kernel environment includes the Mach kernel, BSD-UNIX, the I/O Kit, file systems, and networking components.

Kernel Environment

Mach Mach manages processor resources such as CPU usage, handles scheduling, provides memory protection, and provides a messaging-centered infrastructure to the rest of the operating-system layers. The Mach component provides: Inter-process communication (IPC) remote procedure calls (RPC) scheduler support for symmetric multiprocessing (SMP) support for real-time services virtual memory support

Mach Scheduling Mach scheduling is based on a system of run queues at various priorities that are handled in different ways. The priority levels are divided into four bands according to their characteristics Priority Band Characteristics Normal normal application thread priorities System high priority threads whose priority has been raised above normal threads Kernel mode only reserved for threads created inside the kernel that need to run at a higher priority than all user space threads Real-time threads threads whose priority is based on getting a defined fraction of total clock cycles, regardless of other activity

Memory Management Dynamically assigns memory to applications Includes a fully-integrated virtual memory system that you cannot turn off OS X does not use a pre-allocated swap partition for virtual memory. Instead, it uses all of the available space on the machine’s boot partition Memory assigned to applications are protected from other memory segments, preventing conflicts and crashes

Multiprocessing OS X implements Multiprocessing by using SMP Handles multiprocessor-ready applications by splitting the application into multiple independent threads, which the underlying operating system then schedules to run on multiple processors. Automatically assigns threads/tasks to available processors in a way meant to maximize overall execution speed. Uses “critical regions” to restrict access to a given shared memory range to one thread/task at a time. Also, OS X provides semaphores for use as a synchronization mechanism among cooperating threads/tasks

BSD Above the Mach layer, the BSD layer provides advanced networking, security, and compatibility features The BSD component provides File systems networking services UNIX security model (user IDs and Permissions) BSD Application Program Interfaces (APIs) The system framework for exporting APIs to the application layers Multi-user Access

I/O Kit The I/O Kit provides a framework for simplified driver development, that supports many categories of devices. The I/O Kit component provides dynamic device management dynamic (“on-demand”) loading of drivers power management for desktop systems as well as portables multiprocessor capabilities

Conclusions Mac OS X provides a powerful UNIX-based operating system with an easy to use interface The Kernel environment, which includes the Mach Kernel, the BSD-UNIX components, and the I/O kit, provide all of the needed services to the operating system (CPU, Memory Management, VM, Networking, Security) The real success in OS X is that its Aqua GUI has managed to “hide” the UNIX from the user

END