Mac OS X Cate Wardell Tim Miller Tina Han Kenan Shifflett Zach Debord.

Slides:



Advertisements
Similar presentations
Mac OS X Anja Philipp MAC OS X Anja Philipp
Advertisements

Threads, SMP, and Microkernels
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.
IT Systems Multiprocessor System EN230-1 Justin Champion C208 –
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
1 Threads, SMP, and Microkernels Chapter 4. 2 Process: Some Info. Motivation for threads! Two fundamental aspects of a “process”: Resource ownership Scheduling.
Network+ Guide to Networks, Fourth Edition Chapter 10 Netware-Based Networking.
INTRODUCTION OS/2 was initially designed to extend the capabilities of DOS by IBM and Microsoft Corporations. To create a single industry-standard operating.
1 Chapter 2 Operating Systems: Software in the Background.
F2032 Fundamental of OS Chapter 1 Introduction to Operating System Part 4.
Windows 2000 Vs. Mac OS X Comparing Windows 2000 and Mac OS X on the following grounds: 1) Architecture 2) Design Goals 3) Programming Interface/ User.
Operating Systems.
Week 6 Operating Systems.
Mac OS X Ivan Ma Senior Systems Engineer Apple.
Ceng Operating Systems
Operating System A program that controls the execution of application programs An interface between applications and hardware 1.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
Mac OS X Stephen Ayers David Der Nathan Henkel Dan Hodos William Hunt.
Mac OS X Panther Operating System
1 Lecture 4: Threads Operating System Fall Contents Overview: Processes & Threads Benefits of Threads Thread State and Operations User Thread.
Chapter 4 Threads, SMP, and Microkernels Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design.
System Software CSCI-N 100 Department of Computer and Information Science.
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-
Chapter 7 Operating Systems. Define the purpose and functions of an operating system. Understand the components of an operating system. Understand the.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS.
1 Threads, SMP, and Microkernels Chapter 4. 2 Process Resource ownership: process includes a virtual address space to hold the process image (fig 3.16)
Scott Ferguson Section 1
PC Operating Systems section 6b. UNIX DOS The Macintosh Operating System Windows 3.x OS/2 Warp Windows NT Windows 95 and 98 Linux Windows 2000 This lesson.
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 CS-351 (Operating Systems), Spring 2001) Section 1 Term Project by Jonathan Chapin - - x7785 Brian Jones
Windows 2000 Michael Blinn Ben Hejl Jane McHugh Matthew VanMater.
M a c O S X CS-450-1: Operating Systems Fall 2005 Matt Grady – Mike O’Connor – Justin Rains.
SMP Basics KeyStone Training Multicore Applications Literature Number: SPRPxxx 1.
The VMS Operating System CS 351: Operating Systems Spring 2001 Section 1 Chad Cruys, Joshua Krug, William Menke, Matt Stehle, Kenneth Ward.
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 Process vs. thread: –Unit of resource ownership (process has virtual address space, memory, I/O channels, files) –Unit of.
CITA 171 Section 1 DOS/Windows Introduction. DOS Disk operating system (DOS) –Term most often associated with MS-DOS –Single-tasking operating system.
Operating System & Application Software
PC Operating Systems in Review
The Mach System Sri Ramkrishna.
Chapter 4 Threads.
Operating System Concepts
Chapter 3: Windows7 Part 1.
Threads, SMP, and Microkernels
Intro. To Operating Systems
Lecture 4- Threads, SMP, and Microkernels
B.Ramamurthy Chapter 2 : Appendix
Operating System 4 THREADS, SMP AND MICROKERNELS
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Mac OS X thread APIs Mach threads POSIX threads (pthreads)
PC Operating Systems in Review
Operating Systems : Overview
Operating Systems : Overview
- When you approach operating system concepts there might be several confusing terms that may look similar but in fact refer to different concepts:  multiprogramming, multiprocessing, multitasking,
Operating Systems : Overview
Operating Systems : Overview
The VMS Operating System
Outline Operating System Organization Operating System Examples
Operating System Overview
Michael Blinn Ben Hejl Jane McHugh Matthew VanMater
Presentation transcript:

Mac OS X Cate Wardell Tim Miller Tina Han Kenan Shifflett Zach Debord

Mac OS X Latest version in Apple’s line of operating systems –First “modern operating system” Apple’s goals with Mac OS X: –To provide “the power of UNIX with the simplicity and elegance of Macintosh.” –To be “the first major computer company to make open source development a key part of its ongoing software strategy.” –Maintain loyal customer base and develop new customer base –Attract both personal and professional users –Boost profits

Features Kernel –Darwin: supports protected memory architecture, symmetrical multiprocessing, preemptive multitasking and virtual memory management GUI –Aqua Development tools –Carbon, Cocoa Graphic levels –Open GL (3D), Quartz (2D), QuickTime (streaming) Internet capabilities – , browsing, publishing

Data Structures Managed by Carbon –set of programming interfaces –restricts access to data structures –reduces wasted memory

Data Structures Central to Apple Events –how processes interact –structures govern the Events –basis for Object Oriented Programming

Data Structures Process Manager –scheduling, efficiency File Manager –disk control, access Memory Manager –restricted rights

File Management Mac OS Extended file system (HFS+) –Preferred Standard file system (HFS) –Remains for compatibility

File Management Case sensitivity Multiple data streams Directory segregation –user –local –network –system

Memory Management Mach –Demand Paging Connects virtual address to physical location in memory –Built-in Pagers Default pager Vnode pager

Memory Management Sharing Memory –Through vnode paging –Through inheritance Copy-on-write = protected sharing

Process Management Information on Processes –Includes current state, address, size, type, creator, process serial number All processes must be either foreground or background –Can only have one process in foreground Process in current use by user –Can have multiple background processes Processes can be background-only

Process Management Switching –Major switch Foreground and background processes switch States – Suspended – Running – Sleeping

Threads Multithreaded processes POSIX threads (pThreads) Task –Provides resources to the threads Thread –The point of control

Scheduling Time-sharing Fixed-priority Flexible framework –Additional policies can be added in future versions

Symmetric Multiprocessing First time it has been supported since 1997 Made possible through use of the latest Mach kernel Kernel puts together standard virtual memory semantics with the abstraction of memory objects

SMP (cont.) Not supported in first release however Latest release has preemptive multitasking Protected Virtual Memory Other features: FTP & Telnet

Multitasking Previously cooperative –Applications shared the CPU –Starvation possible Now preemptive –Like Unix based systems –Tasks can be swapped out

Deadlock Prevention OS decides which process gets processor dedication Program fails: Like UNIX, system does not crash, memory is flushed Possibly less robust than preemptive multitasking

Facilities for mutual exclusion POSIX (Portable Operating System Interface) threads –mutexes: lock primitives that are used to control access to a shared resource –condition variables: variables that allow a thread to block its own execution until some shared data reaches a particular state

Success or Failure? +Open Source License +Development tools +Crash protection +Backwards compatible +Program bundling +Service support -Limited software applications -Lacks CD and DVD support -Different look and feel -High memory requirements -Pay for “open software”