Operating System Structures

Slides:



Advertisements
Similar presentations
W EEK S IX O PERATING S YSTEM S TRUCTURE. T HE C ONCEPT OF L OADING AND L INKING Loader – Loader is a utility program which takes object code as input,
Advertisements

3.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 3: Operating-System Structures System Components Operating System.
1/21/2008CSCI 315 Operating Systems Design1 Operating System Structures Notice: The slides for this lecture have been largely based on those accompanying.
Chapter 2: Operating-System Structures
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Operating System Structure. Announcements Make sure you are registered for CS 415 First CS 415 project is up –Initial design documents due next Friday,
1/28/2004CSCI 315 Operating Systems Design1 Operating System Structures & Processes Notice: The slides for this lecture have been largely based on those.
Common System Components
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 2: Operating-System Structures.
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.
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
Abhinav Kamra Computer Science, Columbia University 3.1 Operating System Concepts Silberschatz, Galvin and Gagne  2002 Chapter 3: Operating-System Structures.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 2: Operating-System Structures.
Operating Systems Lecture 4. Agenda for Today Review of previous lecture Operating system structures Operating system design and implementation UNIX/Linux.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 14, 2005 Operating System.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 2: Operating-System Structures T.Yang, 2012 Partially based on the.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 6 System Calls OS System.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: Operating-System Structures.
Silberschatz and Galvin  Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services System Calls.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 2: Operating-System Structures.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
3.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 3: Operating-System Structures System Components Operating System.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 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.
Processes Introduction to Operating Systems: Module 3.
Operating Systems Structure what is the organizational principle?
1 CSE Department MAITSandeep Tayal Operating-System Structures System Components Operating System Services System Calls System Programs System Structure.
Shan Gao Fall 2007 Department of Computer Science Georgia State University.
Silberschatz, Galvin and Gagne  Operating System Concepts UNIT II Operating System Services.
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 3 Operating-System Structures Slide 1 Chapter 3 Operating-System Structures.
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)
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
CENG334 Introduction to Operating Systems 1 Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
2.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition System Programs (p73) System programs provide a convenient environment.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Module 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
Chapter 2: Operating-System Structures
Topic 2 (Textbook - Chapter 2) Operating-System Structures
Chapter 2: Operating-System Structures
Computer System Structures
OPERATING SYSTEM CONCEPTS AND PRACTISE
OS Structures Simple Layered Microkernel Modular
Chapter 2: Operating-System Structures
Module 3: Operating-System Structures
Chapter 2: Operating-System Structures
Lecture 4: Operating System Structures
Chapter 2: Operating-System Structures
Operating System Structure
Chapter 2: Operating-System Structures
Chapter 2: Operating-System Structures
Chapter 2: Operating-System Structures
Introduction To OS (OS Structure, Modes and Services)
Ch 2 - Overview Interacting with services provided by the OS
Chapter 2: System Structures
Operating Systems Lecture 4.
Chapter 3: Operating-System Structures
Basic Concepts Protection: Security:
Chapter 2: Operating-System Structures
Operating Systems Lecture 3.
Outline Chapter 2 (cont) OS Design OS structure
Chapter 2: Operating-System Structures
Chapter 2: Operating-System Structures
System calls….. C-program->POSIX call
Chapter 2: Operating-System Structures
Chapter 2: Operating-System Structures
Operating Systems Structure
Presentation transcript:

Operating System Structures 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

Operating System Structures Operating System Services User Operating System Interface System Calls Types of System Calls System Programs Operating System Design and Implementation Operating System Structure Virtual Machines Operating System Generation System Boot 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

Ms.S.Saranya/ CS6401 / Operating system -Structure Objectives To describe the services an operating system provides to users, processes, and other systems To discuss the various ways of structuring an operating system To explain how operating systems are installed and customized and how they boot 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

Operating System Design and Implementation 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

Operating System Design and Implementation Some approaches to operating system design have proven successful Internal structure of different operating systems can vary widely Start by defining goals and specifications Affected by choice of hardware and type of system User goals and System goals User goals – operating system should be convenient to use, easy to learn, reliable, safe, and fast System goals – operating system should be easy to design, implement, and maintain, as well as flexible, reliable, error-free, and efficient 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

Operating System Design and Implementation (Cont.)‏ Important principle to separate Policy: What will be done? Mechanism: How to do it? The separation of policy from mechanism is a very important principle, it allows maximum flexibility if policy decisions are to be changed later 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

Operating System Structure 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

Ms.S.Saranya/ CS6401 / Operating system -Structure Simple Structure MS-DOS – written to provide the most functionality in the least space Not divided into modules Although MS-DOS has some structure, its interfaces and levels of functionality are not well separated 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

MS-DOS Layer Structure 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

Ms.S.Saranya/ CS6401 / Operating system -Structure Layered Approach In a layered approach, the operating system is divided into a number of layers (levels), each built on top of lower layers. The bottom layer (layer 0), is the hardware; the highest (layer N) is the user interface. With modularity, layers are selected such that each uses functions (operations) and services of only lower-level layers 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

Layered Operating System 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

Ms.S.Saranya/ CS6401 / Operating system -Structure UNIX Limited by hardware functionality, the original UNIX operating system had limited structuring. The UNIX OS consists of two separable parts The kernel Consists of everything below the system-call interface and above the physical hardware Provides the file system, CPU scheduling, memory management, and other operating-system functions; a large number of functions for one level Systems programs 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

Ms.S.Saranya/ CS6401 / Operating system -Structure UNIX System Structure 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

Microkernel System Structure Moves as much from the kernel into “user” space Communication takes place between user modules using message passing Benefits: Easier to extend a microkernel Easier to port the operating system to new architectures More reliable (less code is running in kernel mode)‏ More secure Detriments: Performance overhead of user space to kernel space communication 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

Ms.S.Saranya/ CS6401 / Operating system -Structure Mac OS X Structure 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

Ms.S.Saranya/ CS6401 / Operating system -Structure Modules Most modern operating systems implement kernel modules Uses object-oriented approach Each core component is separate Each talks to the others over known interfaces Each is loadable as needed within the kernel Overall, similar to layers but more flexible 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure

The Java Virtual Machine 19/01/2017 Ms.S.Saranya/ CS6401 / Operating system -Structure