UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept Kernel or MicroKernel Concept: An OS architecture-design.

Slides:



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

Threads, SMP, and Microkernels
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
Operating Systems High Level View Chapter 1,2. Who is the User? End Users Application Programmers System Programmers Administrators.
Course Overview Introduction Computer System Structures
1/28/2004CSCI 315 Operating Systems Design1 Operating System Structures & Processes Notice: The slides for this lecture have been largely based on those.
Figure 1.1 Interaction between applications and the operating system.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Common System Components
Silberschatz, Galvin and Gagne  Operating System Concepts Common OS Components Process Management Memory Management File Management I/O System.
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 2: Operating-System Structures Modified from the text book.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 Operating System Organization.
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
Computer System Architectures Computer System Software
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
N-Tier Client/Server Architectures Chapter 4 Server - RAID Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept RAID – Redundant Array.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 14, 2005 Operating System.
Fall 2000M.B. Ibáñez Lecture 01 Introduction What is an Operating System? The Evolution of Operating Systems Course Outline.
April 2000Dr Milan Simic1 Network Operating Systems Windows NT.
Lecture 3 Process Concepts. What is a Process? A process is the dynamic execution context of an executing program. Several processes may run concurrently,
E X C E E D I N G E X P E C T A T I O N S OP SYS Linux System Administration Dr. Hoganson Kennesaw State University Operating Systems Functions of an operating.
Threads, SMP, and Microkernels Chapter 4. Process Resource ownership - process is allocated a virtual address space to hold the process image Scheduling/execution-
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Computers Operating System Essentials. Operating Systems PROGRAM HARDWARE OPERATING SYSTEM.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
PART II OPERATING SYSTEMS LECTURE 8 SO TAXONOMY Ştefan Stăncescu 1.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
3.1 Operating System Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual.
OSes: 3. OS Structs 1 Operating Systems v Objectives –summarise OSes from several perspectives Certificate Program in Software Development CSE-TC and CSIM,
Processes Introduction to Operating Systems: Module 3.
The Mach System Abraham Silberschatz, Peter Baer Galvin, Greg Gagne Presentation By: Agnimitra Roy.
CS533 - Concepts of Operating Systems 1 The Mach System Presented by Catherine Vilhauer.
UNIX Unit 1- Architecture of Unix - By Pratima.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
The Mach System Silberschatz et al Presented By Anjana Venkat.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
2.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition System Programs (p73) System programs provide a convenient environment.
Concepts and Structures. Main difficulties with OS design synchronization ensure a program waiting for an I/O device receives the signal mutual exclusion.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services.
Background Computer System Architectures Computer System Software.
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.
Chapter 2 Operating System Overview Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
Introduction to Operating Systems Concepts
Module 3: Operating-System Structures
The Mach System Sri Ramkrishna.
Operating System Structure
KERNEL ARCHITECTURE.
What is an Operating System?
Mach Kernel Kris Ambrose Kris Ambrose 2003.
Threads, SMP, and Microkernels
Chapter 2: System Structures
Chapter 3: Operating-System Structures
Lecture 4- Threads, SMP, and Microkernels
Operating Systems : Overview
Outline Chapter 2 (cont) OS Design OS structure
Operating Systems : Overview
Operating Systems : Overview
Operating Systems: A Modern Perspective, Chapter 3
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Outline Operating System Organization Operating System Examples
System calls….. C-program->POSIX call
Presentation transcript:

UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. OS Kernel Concept Kernel or MicroKernel Concept: An OS architecture-design concept/philosophy Identify and create a minimal set of OS functions that are hardware/platform dependent: –Interface with the hardware –For speed: continuously needed OS functions that are always running and available –The kernel must be modified for different HW platforms The remaining OS functions and facilities are grouped as service or sub- system packages –Interface though the kernel –Hardware platform INDEPENDENT –Consist programming interface on different hardware platforms Pg 100+ Goldman

UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. Kernel Functions CPU Time management/Process Management: –Scheduler/dispatcher/context-switch code –Overhead – needs to be very fast –Register set dependent Memory Management –Virtual Memory –Allocating and Freeing memory programming interface Interrupt and Exception Handling: –Hardware dependent – bus, interrupt structure –Must be very fast Inter-process Communication –Processes/threads communicate on same machine through message passing –Communicate to other machines through a network interface Interface to hardware-specific Device Drivers

UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. Kernel OS Structure CPU Memory I/O Bus Time & Process Mem & V.M. Device Drivers Kernel Sub- Systems Users & Security File System Disk & Storage App. Mngt. Command Line GUI Account Config & Pref Application Layer(s) User Interface

UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. This layered kernel OS architecture promotes: Portability: only the kernel needs to be modified for each HW system Software Engineering: compartmentalizes complexity, resulting in more modifiable and reliable code, with less effort Multiple OS “Personalities”: the user interface module can be customized, configured, and replaced Different vendors can create/package an OS built around a standard OS kernel: LINUX flavors and vendors Promotes standardization Promotes interoperability Pg Goldman

UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. PROCESS OR TASK: A program that is loaded in the computer’s memory and is available for execution. A process has a unique address space and resources. Processes are managed by the OS. THREAD: A separate “thread of execution”, or subset of a PROCESS that can execute independently in conjunction with other threads. Threads share address space and resources. Threads are often managed through code in a language library, in this case, the thread is “invisible” to the OS, which sees only the parent PROCESS PORT: A communication interface (software function) that allows processes to communicate using message-passing. Processes on the same host or different hosts can communicate through ports.

UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. Communication Strategies: Message Passing –Requires a message frame/structure, addressing, packet management –Transferred using “store-and-forward” or “worm-hole-routing” –Overhead processing & time delay Shared Memory; –Requires semaphores/concurrency management to coordinate contention and shared access –Less overhead, no frames. –Harder to do on separate hosts

UNIX System Administration OS Kernal Copyright 2002, Dr. Ken Hoganson All rights reserved. Multi-processor: more than one processor available –Different processes on different processors –Same process on different processors, perhaps divided into threads for parallel processing Symmetric Multi-processing: multiple identical processors Multi-threaded: supports multiple threads per process Virtual Machine: another OS software layer inserted below the kernel –Supports HW level ‘aliasing’ –Supports multiple copies of OS running –Great for upgrades, testing, development Analysis and comparison of operating systems: Pg 108 – go over in class