CHAPTER 15: Operating Systems: An Overview



Similar documents
Multiprogramming. IT 3123 Hardware and Software Concepts. Program Dispatching. Multiprogramming. Program Dispatching. Program Dispatching

CHAPTER 17: File Management

Operating Systems 4 th Class

Chapter 5: System Software: Operating Systems and Utility Programs

Computers: Tools for an Information Age

Kernel. What is an Operating System? Systems Software and Application Software. The core of an OS is called kernel, which. Module 9: Operating Systems

Chapter 3. Operating Systems

How To Understand The History Of An Operating System

OPERATING SYSTEM SERVICES

Chapter 1: Introduction. What is an Operating System?

Introduction to Operating Systems. Perspective of the Computer. System Software. Indiana University Chen Yu

Star System Deitel & Associates, Inc. All rights reserved.

Review from last time. CS 537 Lecture 3 OS Structure. OS structure. What you should learn from this lecture

Example of Standard API

Chapter 3: Operating-System Structures. Common System Components

CSE 120 Principles of Operating Systems. Modules, Interfaces, Structure

ELEC 377. Operating Systems. Week 1 Class 3

Operating Systems OBJECTIVES 7.1 DEFINITION. Chapter 7. Note:

Chapter 8 Objectives. Chapter 8 Operating Systems and Utility Programs. Operating Systems. Operating Systems. Operating Systems.

E-Business Technologies

CS 3530 Operating Systems. L02 OS Intro Part 1 Dr. Ken Hoganson

Deciding which process to run. (Deciding which thread to run) Deciding how long the chosen process can run

Chapter 2: OS Overview

Chapter 2 System Structures

Click to view Web Link, click Chapter 8, Click Web Link from left navigation, then click BIOS below Chapter 8 p. 395 Fig. 8-4.

Operating System Software

Upon completion of this chapter, you will able to answer the following questions:

OPERATING SYSTEMS STRUCTURES

Programming for GCSE Topic H: Operating Systems

Cisco Networking Academy Program Curriculum Scope & Sequence. Fundamentals of UNIX version 2.0 (July, 2002)

theguard! ApplicationManager System Windows Data Collector

3 - Introduction to Operating Systems

Operating Systems Overview

EUCIP IT Administrator - Module 2 Operating Systems Syllabus Version 3.0

Chapter 4. System Software. What You Will Learn... Computers Are Your Future. System Software. What You Will Learn... Starting the Computer

Introduction. What is an Operating System?

Operating Systems Overview As we have learned in working model of a computer we require a software system to control all the equipment that are

Operating System Structures

Technology in Action. Alan Evans Kendall Martin Mary Anne Poatsy. Eleventh Edition. Copyright 2015 Pearson Education, Inc.

Chapter 3 Operating-System Structures

Weighted Total Mark. Weighted Exam Mark

Components of a Computer System

Learning Objectives. Chapter 1: Networking with Microsoft Windows 2000 Server. Basic Network Concepts. Learning Objectives (continued)

EUCIP - IT Administrator. Module 2 Operating Systems. Version 2.0

Overview and History of Operating Systems

Unit 4 Objectives. System Software. Component 4: Introduction to Information and Computer Science. Unit 4: Application and System Software Lecture 2

1/5/2013. Technology in Action

Operating Systems. Notice that, before you can run programs that you write in JavaScript, you need to jump through a few hoops first

Networking Operating Systems (CO32010)

Operating System Tutorial

Software: Systems and Application Software

Chapter Contents. Operating System Activities. Operating System Basics. Operating System Activities. Operating System Activities 25/03/2014

4.1 Introduction 4.2 Explain the purpose of an operating system Describe characteristics of modern operating systems Control Hardware Access

Lecture 6: Operating Systems and Utility Programs

Objectives. Chapter 2: Operating-System Structures. Operating System Services (Cont.) Operating System Services. Operating System Services (Cont.

CS420: Operating Systems OS Services & System Calls

Outline: Operating Systems

Page 1 of 5. IS 335: Information Technology in Business Lecture Outline Operating Systems

Contents. Chapter 1. Introduction

Integrated and reliable the heart of your iseries system. i5/os the next generation iseries operating system

Chapter 7A. Functions of Operating Systems. Types of Operating Systems. Operating System Basics

Chapter 8 Operating Systems and Utility Programs

Virtual Machines.

Operating System Structures

Operating System Components and Services

Operating System Components

Chapter 5 System Software: Operating Systems and Utility Programs

Chapter 3: Operating Systems

Operating System Organization. Purpose of an OS

Overview of Operating Systems Instructor: Dr. Tongping Liu

LSKA 2010 Survey Report Job Scheduler

Operating Systems: Basic Concepts and History

Chapter 4. Operating Systems and File Management


Lesson Objectives. To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization

CS 377: Operating Systems. Outline. A review of what you ve learned, and how it applies to a real operating system. Lecture 25 - Linux Case Study

How do Users and Processes interact with the Operating System? Services for Processes. OS Structure with Services. Services for the OS Itself

Components of a Computing System. What is an Operating System? Resources. Abstract Resources. Goals of an OS. System Software

Process Description and Control william stallings, maurizio pizzonia - sistemi operativi

Course Description and Outline. IT Essential II: Network Operating Systems V2.0

Fall Lecture 1. Operating Systems: Configuration & Use CIS345. Introduction to Operating Systems. Mostafa Z. Ali. mzali@just.edu.

Operating Systems. and Windows

Principles of Operating Systems CS 446/646

Network operating systems typically are used to run computers that act as servers. They provide the capabilities required for network operation.

Operating System Structure

& Data Processing 2. Exercise 1: Introduction to Operating System Concepts. Dipl.-Ing. Bogdan Marin. Universität Duisburg-Essen

Operating System Fundamentals Robert Power & Robert Ford

System i and System p. Customer service, support, and troubleshooting

Chap-02, Hardware and Software. Hardware Model

Chapter 5: Fundamental Operating Systems

Last Class: OS and Computer Architecture. Last Class: OS and Computer Architecture

OPERATING SYSTEMS Software in the Background. Chapter 2

Functions of NOS Overview of NOS Characteristics Differences Between PC and a NOS Multiuser, Multitasking, and Multiprocessor Systems NOS Server

STUDY GUIDE CHAPTER 4

LSN 10 Linux Overview

Chapter 3: Operating-System Structures. System Components Operating System Services System Calls System Programs System Structure Virtual Machines

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS

CPS221 Lecture: Operating System Structure; Virtual Machines

Chapter 8 Types of Utility Programs and Operating Systems. Discovering Computers Your Interactive Guide to the Digital World

Operating Systems for Parallel Processing Assistent Lecturer Alecu Felician Economic Informatics Department Academy of Economic Studies Bucharest

Transcription:

CHAPTER 15: Operating Systems: An Overview The Architecture of Computer Hardware, Systems Software & Networking: An Information Technology Approach 4th Edition, Irv Englander John Wiley and Sons 2010 PowerPoint slides authored by Wilson Wong, Bentley University PowerPoint slides for the 3 rd edition were co-authored with Lynne Senne, Bentley College

Without an Operating System Program instructions must be loaded into memory by hand No user interface except for I/O routines provided with executing program System is idle when waiting for user input No facility to store, retrieve, or manipulate files No ability to control peripheral devices Can run only one program at a time; computer halts at end of each program 15-2

Integrated Computer Environment 15-3

Definition of an Operating System A collection of computer programs that integrate the hardware resources of the computer and make those resources available to a user and the user s programs, in a way that allows the user access to the computer in a productive, timely, and efficient manner. 15-4

Operating System Basic Services Accepts commands and requests from users and users programs and responds with appropriate output results Manages, loads, and executes programs Manages hardware resources of the computer including interfaces to networks and other external parts of the system Note: The operating system itself consists of hundreds or thousands of programs, each specialized for particular OS tasks. 15-5

Concurrent Operations Multitasking (multiprogramming) Use of concurrent processing to simulate simultaneous execution of multiple programs even when using only a single CPU Supports multiuser systems Multiprocessing Actual simultaneous processing of multiple programs using either multiple CPUs or multiple CPU cores 15-6

Operating System Additional Services Provides interfaces for the user and the user s programs File management and support services I/O support services Means of starting the computer Bootstrapping or booting the computer or Initial Program Load (IPL) Handles all interrupt processing Network services Services to allocate resources such as memory, CPU time, and I/O devices Security and protection services Systems administration 15-7

Operating System Components Memory Resident Always loaded in memory Commonly called the kernel Contains essential services required by other parts of the operating system and applications. Typically responsible for managing memory management, processes and tasks, and secondary storage Memory Non-resident Infrequently used programs Software tools Commands Bootstrap program 15-8

Simplified Diagram of Operating System Services 15-9

General Purpose Computing Systems Categories Single-user, single tasking (essentially obsolete) Single-user, multitasking Mainframes Network servers Distributed systems Real-time systems Operating systems for mobile devices Embedded systems 15-10

OS Degree of Activity Interactive Also known as conversational systems Batch processing User submits programs or jobs for processing Little to no user interaction Event driven Interrupts or service requests 15-11

Hardware and the OS A hardware platform may support a variety of operating systems An operating system may work on a variety of platforms A standard operating system that works on different hardware Provides program and file portability Enables user efficiency through recognizable interface Is implemented through a systems programming language like C++ or Java as opposed to assembly language 15-12

Services and Facilities Command processor File management system I/O control system Process control management and interprocess communication Memory management Scheduling system Secondary storage management Network management, communication support, and communication interfaces System protection management and security System administration 15-13

User Interface and Command Execution Services Types of user interfaces CLI - Command Line Interface GUI - Graphical User Interface Shell User interface and command processor that interacts with the kernel UNIX/Linux: C, Bourne, bash and Korn shells Command Languages IBM Mainframes JCL MS Windows.BAT files, Windows Powershell UNIX/Linux shell scripts 15-14

File Management File - logical unit of storage Basic file management system provides Directory structures for each I/O device Tools to copy, move, store, retrieve and manipulate files Information about each file in the system and the tools to access that information Security mechanisms to protects files and control access Additional file management features Backup, emergency retrieval and recovery File compression Journaling Transparent network file access Auditing 15-15

I/O Services Startup configuration IBM-type PCs use BIOS (basic input/output system) Device drives that implement interrupts and provide other techniques for handling I/O Plug and play 15-16

Process Control Management A process is an executing program Interprocess messaging services Example: a pipe in UNIX or Windows that is a temporary software connection between two programs or commands Thread An individually executable part of a process Shares memory and other resources with other threads of the same process 15-17

Memory Management Keeps track of memory Identifies programs loaded into memory Amount of space each program uses Available remaining space Prevents programs from reading and writing memory outside of their allocated space Maintains queues of waiting programs Allocates memory to programs to be loaded Deallocates a program s memory space upon program completion Usually implemented with virtual storage 15-18

Scheduling High-level scheduling Placed in queue based on level of priority and eventually executed Dispatching Actual selection of process(es) that will be executed at any given time Nonpreemptive: program voluntarily gives up control Preemptive: uses clock interrupt for multitasking Context switching Transfer control to the process that is being dispatched Processing requirements: CPU vs. I/O bound 15-19

Achieving Multitasking While one program is waiting for I/O to take place, another program is using the CPU to execute instructions. Time-slicing The CPU may be switched rapidly back and forth between different programs Dispatcher is activated by I/O operation or real time clock interrupt selects next process to run 15-20

Sharing the CPU during I/O Breaks I/O represents a large percentage of a typical program s execution 15-21

Time-sharing the CPU Time slicing 15-22

Secondary Storage and Security Secondary storage management Optimizes completion of I/O tasks for efficient disk usage Combination of hardware and software Security and protection services Protect OS from users Protect users from other users Prevent unauthorized entry to system Prevent unauthorized system use by authorized users 15-23

Network and Communication Services TCP-IP protocol suite Locate and connect to other computers Pass application data in packets to other systems Access files, I/O devices, and programs from remote systems Support distributed processing Network Applications Email, remote login, Web services, streaming multimedia, voice over IP telephony, VPN Communication services Interface between communication software and OS I/O control system that provides network access 15-24

System Administration Support System configuration and setting group configuration policies Adding and deleting users Controlling and modifying user privileges System security Files systems management Network administration Backups Software installations and upgrades OS installations (system generation), patches, and upgrades System tuning and optimization Monitoring performance Recovering lost data 15-25

Systems Tools Examples IBM z/os sysgen: reconfiguration to incorporate new equipment Workload Manager: optimize system resources automatically Unix/Linux superuser: system administrator account with privileges to override all restrictions and security built into the system adduser: administer user accounts mount/umount: mount and unmount a file system fsck: check and repair a file system ufsdump/ufsrestore: create and restore backups Windows Control panel Task manager (Ctrl-Alt-Del menu) 15-26

Typical System Status Report 15-27

OS Configurations Three main configurations for the organization of an operating system 1. Monolithic configuration Unix/Linux 2. Hierarchical (layered) configuration Multics Windows 2000 and later versions (approximately hierarchical) 3. Microkernel Macintosh OS X 15-28

Monolithic Kernel Drawback: stability and integrity must be managed carefully Examples: UNIX, Linux 15-29

Hierarchical Model of an OS Each layer is independent of the other layers Requests are passed down to the layer immediately below it 15-30

Microkernel Minimum essential functionality Client-server system on same system Clients request services from microkernel which passes message onto appropriate server 15-31

8 Types of Operating Systems 1. Single user, single tasking (obsolete) 2. Single-user systems and workstations Predominant systems in use Macintosh OSX, versions of Windows, Linux and Sun Solaris 3. Mainframe systems Designed to manage large scale computing resources Extensive I/O capability to handle large numbers of transactions Support batch data processing operations Consist of clusters made up of multiprocessor units 4. Network servers Focused on supporting clients connected to the server Improved security, high reliability, backup facilities 15-32

8 Types of Operating Systems 5. Mobile operating systems Designed for small hand-held devices such as PDAs and smart phones Features of single-user multitasking systems but with constraints on memory, storage, CPU execution speed and electrical power Special keyboard handling 6. Real-time systems One or more processes must be able to access the operating system immediately Multitasking system where the real-time program s interrupts have very high priority Examples Air controller systems, rocket propulsion control systems, car brakes 15-33

8 Types of Operating Systems 7. Embedded control systems Specialized systems designed to control a single piece of equipment such as an automobile or a microwave oven Software is usually provided in ROM Real-time system dedicated to the particular application Example: General Motors Delphi system 8. Distributed systems Processing power distributed among computers in a cluster or network Example: Distributed Computing Environment (DCE) 15-34

Copyright 2010 John Wiley & Sons All rights reserved. Reproduction or translation of this work beyond that permitted in section 117 of the 1976 United States Copyright Act without express permission of the copyright owner is unlawful. Request for further information should be addressed to the Permissions Department, John Wiley & Sons, Inc. The purchaser may make back-up copies for his/her own use only and not for distribution or resale. The Publisher assumes no responsibility for errors, omissions, or damages caused by the use of these programs or from the use of the information contained herein. 15-35