Figure 1.1 Interaction between applications and the operating system.

Slides:



Advertisements
Similar presentations
Chapter 2 Operating System Overview
Advertisements

Threads, SMP, and Microkernels
WHAT IS AN OPERATING SYSTEM? An interface between users and hardware - an environment "architecture ” Allows convenient usage; hides the tedious stuff.
Chorus and other Microkernels Presented by: Jonathan Tanner and Brian Doyle Articles By: Jon Udell Peter D. Varhol Dick Pountain.
1 OS Structure, Processes & Process Management. 2 Recap OS functions  Coordinator  Protection  Communication  Resource management  Service provider.
CMPT 300: Operating Systems I Dr. Mohamed Hefeeda
Lecture 1: History of Operating System
 2004 Deitel & Associates, Inc. All rights reserved. Chapter 2 – Hardware and Software Concepts Outline 2.1 Introduction 2.2Evolution of Hardware Devices.
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
1: Operating Systems Overview
OPERATING SYSTEM OVERVIEW
OS Spring’03 Introduction Operating Systems Spring 2003.
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.
1 Operating Systems Ch An Overview. Architecture of Computer Hardware and Systems Software Irv Englander, John Wiley, Bare Bones Computer.
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
1 I/O Management in Representative Operating Systems.
1 What is an operating system? CSC330Patricia Van Hise.
Chapter 1: IntroductionDhamdhere: Operating Systems— A Concept-Based Approach Slide No: 1 Copyright ©2005 Overview of Operating Systems Chapters 1 and.
What do operating systems do? manage processes manage memory and computer resources provide security features execute user programs make solving user.
General System Architecture and I/O.  I/O devices and the CPU can execute concurrently.  Each device controller is in charge of a particular device.
CS212: OPERATING SYSTEM Lecture 1: Introduction 1.
 2004 Deitel & Associates, Inc. All rights reserved. 1 Chapter 2 – Hardware and Software Concepts Outline 2.1 Introduction 2.2Evolution of Hardware Devices.
Operating System Overview
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.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
1 Operating System Overview Chapter 2 Advanced Operating System.
Chapter 1. Introduction What is an Operating System? Mainframe Systems
Operating System Review September 10, 2012Introduction to Computer Security ©2004 Matt Bishop Slide #1-1.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
4 Linking the Components. © 2005 Pearson Addison-Wesley. All rights reserved Figure 4.1 This chapter focuses on how the hardware layer components are.
Three fundamental concepts in computer security: Reference Monitors: An access control concept that refers to an abstract machine that mediates all accesses.
Kernel, processes and threads Windows and Linux. Windows Architecture Operating system design Modified microkernel Layered Components HAL Interacts with.
Architecture Support for OS CSCI 444/544 Operating Systems Fall 2008.
Introduction to Operating Systems Chapter 1. cs431 -cotter2 Lecture Objectives Understand the relationship between computing hardware, operating system,
Fall 2000M.B. Ibáñez Lecture 01 Introduction What is an Operating System? The Evolution of Operating Systems Course Outline.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 1: Introduction What Operating Systems Do Computer-System.
Chapter 2 Operating System Overview
Advanced Design and System Patterns The Microkernel Pattern.
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.
LINUX System : Lecture 7 Bong-Soo Sohn Lecture notes acknowledgement : The design of UNIX Operating System.
OSes: 3. OS Structs 1 Operating Systems v Objectives –summarise OSes from several perspectives Certificate Program in Software Development CSE-TC and CSIM,
1: Operating Systems Overview 1 Jerry Breecher Fall, 2004 CLARK UNIVERSITY CS215 OPERATING SYSTEMS OVERVIEW.
UNIX Unit 1- Architecture of Unix - By Pratima.
1 Lecture 1: Computer System Structures We go over the aspects of computer architecture relevant to OS design  overview  input and output (I/O) organization.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Computer and Operating Systems
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
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
Computer System Structures
Chapter 13: I/O Systems Modified by Dr. Neerja Mhaskar for CS 3SH3.
Operating Systems •The kernel is a program that constitutes the central core of a computer operating system. It has complete control over everything that.
Chapter 2 – Hardware and Software Concepts
Chapter 1: Introduction
Chapter 3: Windows7 Part 2.
Computer-System Architecture
Chapter 3: Windows7 Part 2.
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
LINUX System : Lecture 7 Lecture notes acknowledgement : The design of UNIX Operating System.
Operating Systems : Overview
CS 143A Principles of Operating Systems
Operating Systems Structure
Presentation transcript:

Figure 1.1 Interaction between applications and the operating system. 1.10 Application Bases Figure 1.1 Interaction between applications and the operating system.

1.12.1 Core Operating System Components User interaction with operating system Often, through special application called a shell Kernel Software that contains core components of operating system Typical operating system components include: Processor scheduler Memory manager I/O manager Interprocess communication (IPC) manager File system manager

1.12.2 Operating System Goals Users expect certain properties of operating systems Efficiency Robustness Scalability Extensibility Portability Security Protection Interactivity Usability

1.13.1 Monolithic Architecture Figure 1.3 Monolithic operating system kernel architecture.

Figure 1.4 Layers of the THE operating system. 1.13.2 Layered Architecture Figure 1.4 Layers of the THE operating system.

1.13.3 Microkernel Architecture Figure 1.5 Microkernel operating system architecture.

1.13.4 Networked and Distributed Operating Systems Figure 1.6 Client/server networked operating system model.

What is the difference between a purely layered architecture and a microkernel architecture? Which of the OS goals correspond to the following characteristics? Users can’t access services or information w/o authorization OS run on a variety of hardware configurations System performance increases steadily when additional MEM and processors are added. The OS supports devices that were not available when it was designed. Hardware failure does not necessarily cause the system to fail.

Chapter 2 – Hardware and Software Concepts Outline 2.1 Introduction 2.2 Evolution of Hardware Devices 2.3 Hardware Components 2.3.1 Mainboards 2.3.2 Processors 2.3.3 Clocks 2.3.4 Memory Hierarchy 2.3.5 Main Memory 2.3.6 Secondary Storage 2.3.7 Buses 2.3.8 Direct Memory Access (DMA) 2.3.9 Peripheral Devices 2.4 Hardware Support for Operating Systems 2.4.1 Processor 2.4.2 Timers and Clocks

Chapter 2 – Hardware and Software Concepts Outline (continued) 2.4.3 Bootstrapping 2.4.4 Plug and Play 2.5 Caching and Buffering 2.6 Software overview 2.7 Application Programming Interfaces (APIs) 2.8 Compiling, Linking and Loading 2.9 Firmware 2.10 Middleware

Objectives After reading this chapter, you should understand: hardware components that must be managed by an operating system. how hardware has evolved to support operating system functions. how to optimize performance of various hardware devices. the notion of an application programming interface (API). the process of compilation, linking and loading.

T/F? 1. OS is a resource manager, it can manage the following resources: processors memory secondary storage (such as hard disks) other I/O devices processes threads files databases 2. Most operating systems are independent from the hardware configurations, because they use device drivers to perform device-specific I/O operations. 3. Registers are high-speed memory located on processors. Data need to be loaded to registers before processors can operate on them. 4. What is a port ? What is an I/O channel?

2.3.8 Direct Memory Access (DMA) DMA improves data transfer between memory and I/O devices Devices and controllers transfer data to and from main memory directly Processor is free to execute software instructions DMA channel uses an I/O controller to manage data transfer Notifies processor when I/O operation is complete Improves performance in systems that perform large numbers of I/O operations (e.g., mainframes and servers)

2.3.8 Direct Memory Access (DMA) Figure 2.4 Direct memory access (DMA).

2.4 Hardware Support for Operating Systems What can a processor do to enforce protection? Execution modes Bound registers Interrupts and exceptions

2.4.1 Processor A processor implements operating system protection mechanisms Prevents processes from accessing privileged instructions or memory Computer systems generally have several different execution modes: User mode (user state or problem state) User may execute only a subset of instructions Kernel mode (supervisor state) Processor may access privileged instructions and resources on behalf of processes

2.4.1 Processor Memory protection and management Prevents processes from accessing memory that has not been assigned to them Implemented using processor registers modified only by privileged instructions Interrupts and Exceptions Most devices send a signal called an interrupt to the processor when an event occurs Exceptions are interrupts generated in response to errors The OS can respond to an interrupt by notifying processes that are waiting on such events

2.7 Application Programming Interfaces (APIs) Figure 2.7 Application programming interface (API).