Chapter 3 Operating System Organization

Slides:



Advertisements
Similar presentations
Computer-System Structures Er.Harsimran Singh
Advertisements

Threads, SMP, and Microkernels
Operating System Structures
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.
Operating Systems Operating system is the “executive manager” of all hardware and software.
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
System Software & Operating Systems Organization
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6 Implementing Processes, Threads, and Resources.
© 2004, D. J. Foreman 1 O/S Organization. © 2004, D. J. Foreman 2 Topics  Basic functions of an OS ■ Dev mgmt ■ Process & resource mgmt ■ Memory mgmt.
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.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Operating Systems CS208. What is Operating System? It is a program. It is the first piece of software to run after the system boots. It coordinates the.
CS4315A. Berrached:CMS:UHD1 Operating System Structures Chapter 3.
1 I/O Management in Representative Operating Systems.
OS Organization. OS Requirements Provide resource abstractions –Process abstraction of CPU/memory use Address space Concurrency Thread abstraction of.
Operating System Organization
Slide 6-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 6.
Chapter 6 - Implementing Processes, Threads and Resources Kris Hansen Shelby Davis Jeffery Brass 3/7/05 & 3/9/05 Kris Hansen Shelby Davis Jeffery Brass.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 Operating System Organization.
Part two. 3.2 operating system architecture  Software have two categories  Application software  System software  Application software: consists of.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3.
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 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
April 2000Dr Milan Simic1 Network Operating Systems Windows NT.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: Operating-System Structures.
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-
CE Operating Systems Lecture 3 Overview of OS functions and structure.
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.
Chapter 1: Introduction and History  Where does the operating system fit in a computing system?  What does the operating system achieve?  What are the.
Chapter 2 Introduction to OS Chien-Chung Shen CIS, UD
Operating System Organization Chapter 3 Michelle Grieco.
Operating System Principles And Multitasking
System Components ● There are three main protected modules of the System  The Hardware Abstraction Layer ● A virtual machine to configure all devices.
BABCA Software Operating Systems (OS) aka Systems Software A set of instructions that coordinate all the activities among computer hardware resources.
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.
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.
Introduction to Operating Systems Concepts
Operating Systems: A Modern Perspective, Chapter 6
Operating System Structure
OS Organization.
Threads, SMP, and Microkernels
System Calls.
Chapter 2: System Structures
Computer-System Architecture
Module 2: Computer-System Structures
Chapter 1 Introduction to Operating System Part 5
Unit 1: Introduction to Operating System
Lecture 4- Threads, SMP, and Microkernels
Operating Systems Lecture 3.
Operating Systems Tasks 17/02/2019.
Operating Systems: A Modern Perspective, Chapter 3
Operating Systems Tasks 04/04/2019.
OS Organization.
Outline Operating System Organization Operating System Examples
System calls….. C-program->POSIX call
O/S Organization © 2004, D. J. Foreman.
Operating Systems Structure
Chapter-1 Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions.
Module 2: Computer-System Structures
O/S Organization © 2004, D. J. Foreman.
Operating Systems Tasks 05/08/2019.
An Introduction to Operating Systems
In Today’s Class.. General Kernel Responsibilities Kernel Organization
Presentation transcript:

Chapter 3 Operating System Organization TOPICS: i. Factors in Operating System design ii. Basics OS function in computer iii. Basic Implementation consideration

Learning Objectives: OS design factors Essential and basic function for most operating system available Implementation consideration for developing OS Learning Outcomes Student know the factors that should be consider for OS design and its necessity.

OS mechanisms To enable process to create and destroy other process. To request and release resources To use resources To coordinate its own operation with the operations of related processes.

Application Integration Factors in OS Design Performance Protection & security Correctness Maintainability Commercial factors Standards and open systems Application Integration Portability Interoperability

Strategies for open system Explanation Portability Application programs could be build so that they can be moved easily from one type of hardware to another Application integrated All application programs could be built so that they present a common interface to users Interoperability Facilities could be provide in a network environment to standardize access to remote facilities

Basic Functions The OS provides mechanism for supporting an abstraction for computation for the process and for managing resources used by the community of processes. 4 categories OS functions: i. Device Management ii. Process and resource management iii. Memory Management iv. File Management

Process and Resource Management Device Management Refer to the way these generic devices are handled. Process and Resource Management Processes basic unit computation ,and resources are the elements of the computing environment needed by a process to execute. Most OS combine process and resource into a single module and define program execution Memory Management Memory manager administers the allocation and use primary memory resource. Every process request and uses memory according to the its program definition. Modern primary memory managers provide virtual memory.

File Management File are an abstract resource of storage devices. Information stored in the main memory will be overwritten as soon as the memory is deallocated from a process. Information must be copied to a storage device.eg. Disk.,magenetic disk

Basic System Operating Organization This section explains how the basic functions are combined to satisfy the requirements for an OS. Figure above shows the general organization for the basic OS modules (the lines between modules indicate interactions). This interaction is the basic rationale for a monolithic kernel OS design.

Basic Implementation Consideration 3 basic implementation mechanisms are used in every contemporary OS design: 1. Processor Modes. - The mode bit it used to distinguish between execution on behalf of an OS and execution on behalf of a user. 2. Kernels -. The kernel is designed as a trusted software module that supports the correct operation of all over other software. Supervisor mode User mode

3. Method of requesting system device This issue is concerned with the way user processes request services from the operating system: by calling a system function or message passing to a system.

i.Processor Mode 2 types of mode in processor: i. Supervisor mode: processor execute every instruction in hardware ii. User Mode: execute only a subset of the instructions. Supervisor mode also called supervisor, priviledged, protected The mode bit is set by the user mode trap instruction, also called supervisor call instruction

Supervisor and User Memory

ii.Kernels The critical part of the system software that executes in supervisor mode. All application program execute in user mode. Kernels=Nucleus. Operated as trusted software, means implement protection mechanisms that could not be changed actions of untrusted software executing in user mode.

iii. Requesting Services from the OS 2 techniques by which a program executing in user mode can request the kernel’s services: i. System call- a program that request a service from kernel and provide the interface between process and OS. ii.Message passing

Procedure Call & Message Passing Operating Systems