Slide 19-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19.

Slides:



Advertisements
Similar presentations
Chapter 3 Memory Management
Advertisements

Threads, SMP, and Microkernels
OS Components and Structure
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Operating System Architecture and Distributed Systems
More on Processes Chapter 3. Process image _the physical representation of a process in the OS _an address space consisting of code, data and stack segments.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 3 Operating System Organization.
Slide 2-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 2 Using the Operating System 2.
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-
Computer Systems/Operating Systems - Class 8
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6 Implementing Processes, Threads, and Resources.
Process Management. External View of the OS Hardware fork() CreateProcess() CreateThread() close() CloseHandle() sleep() semctl() signal() SetWaitableTimer()
Figure 1.1 Interaction between applications and the operating system.
Chapter 6 Implementing Processes, Threads, and Resources.
OS Organization. OS Requirements Provide resource abstractions –Process abstraction of CPU/memory use Address space Concurrency Thread abstraction of.
The Design of Robust and Efficient Microkernel ManRiX, The Design of Robust and Efficient Microkernel Presented by: Manish Regmi
Operating System Organization
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 Operating System Organization.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3.
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6.
Computer Organization Review and OS Introduction CS550 Operating Systems.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Operating System A program that controls the execution of application programs An interface between applications and hardware 1.
UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept Kernel or MicroKernel Concept: An OS architecture-design.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 14, 2005 Operating System.
Kernel, processes and threads Windows and Linux. Windows Architecture Operating system design Modified microkernel Layered Components HAL Interacts with.
Chapter 4 Threads, SMP, and Microkernels Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design.
 Create an abstract machine environment  A nicer environment than bare hardware  Consists of multiple, autonomous abstract components  Components.
Processes and Threads Processes have two characteristics: – Resource ownership - process includes a virtual address space to hold the process image – Scheduling/execution.
Copyright © George Coulouris, Jean Dollimore, Tim Kindberg This material is made available for private study and for direct.
Hardware process When the computer is powered up, it begins to execute fetch-execute cycle for the program that is stored in memory at the boot strap entry.
Threads, SMP, and Microkernels Chapter 4. Process Resource ownership - process is allocated a virtual address space to hold the process image Scheduling/execution-
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
LINUX System : Lecture 7 Bong-Soo Sohn Lecture notes acknowledgement : The design of UNIX Operating System.
The Mach System Abraham Silberschatz, Peter Baer Galvin, Greg Gagne Presentation By: Agnimitra Roy.
1 Threads, SMP, and Microkernels Chapter Multithreading Operating system supports multiple threads of execution within a single process MS-DOS.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
1.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Lecture 2: OS Structures (Chapter 2.7)
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.
Hardware process When the computer is powered up, it begins to execute fetch-execute cycle for the program that is stored in memory at the boot strap entry.
2 Processor(s)Main MemoryDevices Process, Thread & Resource Manager Memory Manager Device Manager File Manager.
CENG334 Introduction to Operating Systems 1 Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
What is a Process ? A program in execution.
Threads, SMP, and Microkernels Chapter 4. Processes and Threads Operating systems use processes for two purposes - Resource allocation and resource ownership.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Introduction to Operating Systems Concepts
Kernel Design & Implementation
The Mach System Sri Ramkrishna.
Chapter 5: Threads Overview Multithreading Models Threading Issues
Operating Systems: A Modern Perspective, Chapter 6
Operating System Structure
KERNEL ARCHITECTURE.
Mach Kernel Kris Ambrose Kris Ambrose 2003.
OS Organization.
Threads, SMP, and Microkernels
Chapter 1 Introduction to Operating System Part 5
Lecture 4- Threads, SMP, and Microkernels
B.Ramamurthy Chapter 2 : Appendix
LINUX System : Lecture 7 Lecture notes acknowledgement : The design of UNIX Operating System.
Operating Systems: A Modern Perspective, Chapter 3
OS Organization.
Implementing Processes, Threads, and Resources
Outline Operating System Organization Operating System Examples
Operating Systems Structure
Operating Systems Structure
Presentation transcript:

Slide 19-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19

Slide 19-2 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter Design Strategies

Slide 19-3 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19 Software Organization Application Software Application Software Other System Software Other System Software Other OS Functions Kernel Functions Application Software Application Software Other System Software Other System Software Other OS Functions Nucleus Functions Application Software Application Software Other System Software Other System Software Other OS Functions Nucleus Functions Application Software Application Software Other System Software Other System Software Other OS Functions Skeletal Nucleus Nucleus Functions (a) Monolithic (b) Modular (c) Extensible(d) Layered

Slide 19-4 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19 Figure 19 2: OS Function Organization Processor(s)Main MemoryDevices Process & Resource Manager Memory Manager Device Manager File Manager

Slide 19-5 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19 Function Interactions Scheduler IPC Process/Thread Admin Synchronization Memory Allocation Virtual Memory File Management Device Management Resource Management Deadlock Management Protection Mechanisms Interrupt Handler

Slide 19-6 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19 Multiple OS Policies on a Single Hardware Architecture OS Policy Implementation OS Policy Implementation OS Policy Implementation OS Policy Implementation OS Policy Implementation OS Policy Implementation … Extensible Kernel Hardware Virtual Machine Interface Popularized in IBM VM Approach is used in Windows NT Subsystems

Slide 19-7 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19 OS Policy Implementation OS Policy Implementation Porting an OS to Different Architectures Hardware Architecture 1 Hardware Architecture 1 Hardware Architecture 2 Hardware Architecture 2 Hardware Architecture N Hardware Architecture N … Extensible Kernel Architecture Adaptor Used in Windows NT Technology Used in Linux (sort of …)

Slide 19-8 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19 Mach Microkernel-based OS BSD 4.3 Implementation BSD 4.3 Implementation OSF/1 Implementation OSF/1 Implementation OS Policy Implementation OS Policy Implementation … Mach Microkernel (Tasks, Threads, Ports, …) Mach Microkernel (Tasks, Threads, Ports, …) Hardware Mach Kernel Interface RT-Mach Implementation RT-Mach Implementation

Slide 19-9 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19 Transferring Large Messages in Accent Sender … Senders Page Table Receiver … Receivers Page Table Message Object Message Object send(receiver, …);

Slide Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19 Kernel-Based Page Replacement Page Replacement Page Replacement Fault Handler Fault Handler MMU Processor Secondary Memory Page Frame 0 Page Frame 1 … … Kernel Space New Page Load page Page Fault Update Map Virtual Address Physical Address Primary Memory

Slide Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19 Mach Memory Page Replacement Page Replacement Page Replacement Fault Handler Fault Handler MMU Processor Secondary Memory Page Frame 0 Page Frame 1 … … New Page Kernel Space Load page Page Fault Update Map Virtual Address Physical Address Primary Memory The replacement policy can be specified by a user space program

Slide Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19 Binding Memory Objects Mem Obj Manager Mem Obj Manager Kernel Mem Obj Mgr Kernel Mem Obj Mgr Kernel Space Conventional Page Objects User Space Application User Space Application Virtual Address Arbitrary Object

Slide Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 19 The CHORUS Microkernel and Servers Sys V UNIX Implementation Sys V UNIX Implementation COOL Implementation COOL Implementation OS Policy Implementation OS Policy Implementation … Chorus Microkernel (Actors, Threads, Ports, …) Chorus Microkernel (Actors, Threads, Ports, …) Hardware CHORUS Kernel Interface RT-OS Implementation RT-OS Implementation