Chapter 3. Operating Systems



Similar documents
Operating Systems OBJECTIVES 7.1 DEFINITION. Chapter 7. Note:

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

How To Understand The History Of An Operating System

Operating Systems 4 th Class

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

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

Operating System Structures

Chapter 1: Introduction. What is an Operating System?

CHAPTER 15: Operating Systems: An Overview

Chapter 2: OS Overview

Networking Operating Systems (CO32010)

Chapter 3: Operating Systems

Operating Systems. and Windows

Outline: Operating Systems

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

Computers: Tools for an Information Age

Types Of Operating Systems

Computer Engineering

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.

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

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

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

Introduction. What is an Operating System?

Overview and History of Operating Systems

Operating Systems: Basic Concepts and History

Chapter 3: Operating-System Structures. Common System Components

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

OPERATING SYSTEM SERVICES

Installing, upgrading and troubleshooting your CLIO system under the Windows environment.

Chapter 2 System Structures

Lecture 6: Operating Systems and Utility Programs

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

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

ELEC 377. Operating Systems. Week 1 Class 3

Chapter 8 Operating Systems and Utility Programs

lesson 1 An Overview of the Computer System

Operating System Tutorial

Software systems and issues

Chap-02, Hardware and Software. Hardware Model

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

OPERATING SYSTEMS Software in the Background. Chapter 2

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

Operating System Fundamentals Robert Power & Robert Ford

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

Operating System Software

Operating system Dr. Shroouq J.

Discovering Computers

Software: Systems and Application Software

Operating Systems Concepts: Chapter 7: Scheduling Strategies

Chapter 5: System Software: Operating Systems and Utility Programs

3 - Introduction to Operating Systems

Chapter 14 MS-DOS Operating System

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

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

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

2-Serial/1-Parallel Port PCI Adapter RC303 User Manual

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS

EUCIP IT Administrator - Module 2 Operating Systems Syllabus Version 3.0

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

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

VMWare Workstation 11 Installation MICROSOFT WINDOWS SERVER 2008 R2 STANDARD ENTERPRISE ED.

Obj: Sec 1.0, to describe the relationship between hardware and software HW: Read p.2 9. Do Now: Name 3 parts of the computer.

Components of a Computer System

Chapter 3 Operating-System Structures

Mid-Term #1 Solutions

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

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

Chapter 11 I/O Management and Disk Scheduling

Chapter 5: Fundamental Operating Systems

Running FileMaker Pro 5.0v3 on Windows 2000 Terminal Services

Contents. Chapter 1. Introduction

Example of Standard API

Quality Assurance Program for Windows

Chapter 1. The largest computers, used mainly for research, are called a. microcomputers. b. maxicomputers. c. supercomputers. d. mainframe computers.

Using Virtual PC 7.0 for Mac with GalleryPro

Test instructions & HW/SW specifications Contents

Embedded Software development Process and Tools: Lesson-3 Host and Target Machines

Chapter 2: Computer-System Structures. Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture

1/5/2013. Technology in Action

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

CS420: Operating Systems OS Services & System Calls

1 PERSONAL COMPUTERS

Operating Systems PART -A

Operating System Components and Services

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 Organization. Purpose of an OS

Virtualization. Pradipta De

Operating System Today s Operating Systems File Basics File Management Application Software

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

Operating Systems Overview

Lecture 1 Operating System Overview

A single user ran a single program ran on a single computer there was no need for Page 1 of 6 Copyright Virtual University of Pakistan

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

RPM2PRO: A Guide to Installing the New Control Panel

Installing a Second Operating System

Programming for GCSE Topic H: Operating Systems

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

Overview of Operating Systems Instructor: Dr. Tongping Liu

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

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

Transcription:

Christian Jacob Chapter 3 Operating Systems 3.1 Evolution of Operating Systems 3.2 Booting an Operating System 3.3 Operating System Architecture 3.4 References Chapter Overview

Page 2 Chapter 3: Operating Systems Christian Jacob Operating system (OS): A collection of programs that manages resources of a computer, such as - processors - memory - input/output devices... like the conductor of an orchestra. A virtual machine that lets a user accomplish tasks that would be difficult to perform directly with the underlying actual machine. - graphical user interface - virtual memory: provide more memory than in RAM - multiprogramming: seemingly run more than one program at a time First Back TOC Prev Next Last

Page 3 Chapter 3: Operating Systems Christian Jacob 3.1 Evolution of Operating Systems First Generation OS (1945-1955) The only operating system was a person. All machine operation was hands on. Second Generation OS (1955-1965) Batch operating systems: - A computer operator takes care of the system administration. - The operator collects a batch of programs from several programmers, feeds the programs into the computer, and hands out the printed results back to the programmers. - Today, batch operations are performed automatically. - Compute jobs line up in a FIFO job queue (first in, first out). First Back TOC Prev Next Last

Page 4 Chapter 3: Operating Systems Christian Jacob Multiprogramming OS Switching between many different programs in memory (RAM) Operating System Job 1 (waiting for input) Job 2 (running) Job 3 (ready) First Back TOC Prev Next Last

Page 5 Chapter 3: Operating Systems Christian Jacob Multiprogramming enables time sharing: - divides processor time up into slices - the slices are divided fairly among competing jobs Job 6 Job 5 Job 1 Job 2 Job 3 Job 4 interactive processing: - the user does not have to wait for one process to be finished until the next process (program, action) can be started First Back TOC Prev Next Last

Page 6 Chapter 3: Operating Systems Christian Jacob Multiuser Operating Systems Many different users can share the same machine through time sharing and multiprogramming (e.g., UNIX, MacOS X, Windows NT). The OS divides its system time into time slices (milliseconds). This gives each user the illusion to have his/her own machine. The efficiency of a time-sharing system depends on - the speed of the processor - the length of the time slices - how many users perform operations that require a full time slice. Multiuser OSs are mainly used in distributed, rather than centralized, environments, where several machines share resources over a network. First Back TOC Prev Next Last

Page 7 Chapter 3: Operating Systems Christian Jacob Single-User OS and Multiprogramming Cooperative multitasking: Switching between programs only if those programs explicitly cooperate. Preemptive multitasking: Lets the OS switch between the tasks at its own discretion. Perform different tasks at the same time (printing, compiling, searching on the web,...) First Back TOC Prev Next Last

Page 8 Chapter 3: Operating Systems Christian Jacob Network Operating Systems Sharing of more expensive peripheral devices (in a LAN or WAN): - laser printers - 3D plotters - tape backup units - fast number-crunching machines - special-purpose software packages High-speed bus PC or workstation... PC or workstation Mail server Compute server File server Print server Clients Internet NCrunch. Files Printers First Back TOC Prev Next Last

Page 9 Chapter 3: Operating Systems Christian Jacob 3.2 Booting an Operating System Main memory ROM (permanent) Bootstrap program Read OS Disk storage Operating system Load OS Operating system Start device drivers RAM (volatile) Devices First Back TOC Booting an Operating System Prev Next Last

Page 10 Chapter 3: Operating Systems Christian Jacob Starting up an operating system Read boot strap program from ROM: enables access to floppy and hard drives look for the core OS (DOS: COMMAND.COM) Load the core OS into RAM. Run a sequence of jobs in batch mode. - DOS: CONFIG.SYS and AUTOEXEC.BAT - Windows: WIN.INI - MacOS: selected extensions - UNIX:.login,.profile,.cshrc Start a graphical user interface (GUI) Loop forever waiting for input / interaction with the GUI. First Back TOC Booting an Operating System Prev Next Last

Page 11 Chapter 3: Operating Systems Christian Jacob 3.3 Operating System Architecture User Memory manager I/O system manager User Command processor Scheduler Resource allocator File manager User Dispatcher Interrupt Hardware execution First Back TOC Operating System Architecture Prev Next Last

Page 12 Chapter 3: Operating Systems Christian Jacob Command processor: The interface that interacts with one or more users, watching the keyboard, mouse, and any other input devices attached to the machine. Receives commands whenever an input device notifies it about an event, for example, when a user enters a new line in a shell or clicks on a mouse button. First Back TOC Operating System Architecture Prev Next Last

Page 13 Chapter 3: Operating Systems Christian Jacob Scheduler: If the event turns out to be a request to run a program, the command processor asks the scheduler to arrange for the execution of programs. - Place the program in a job queue. - Create a process to execute the program. A process is an active copy of a program - that has been loaded into memory (RAM) - with its own program counter indicating the next instruction to execute. Each process creates its own context (= process state). There may be more than one process for the same program (e.g., start two different editor programs). First Back TOC Operating System Architecture Prev Next Last

Page 14 Chapter 3: Operating Systems Christian Jacob Resource Allocator The scheduler invokes a resource allocator, which makes sure that each process has secondary resources that it may need memory, files, peripheral devices. Memory Manager The memory manager coordinates the use of the machine s memory. It keeps track of which areas of memory are being used by which processes. It may anticipate how much memory each process will need. It may provide virtual memory, where swap files on a harddrive are used to extend the RAM. First Back TOC Operating System Architecture Prev Next Last

Page 15 Chapter 3: Operating Systems Christian Jacob I/O System Manager The I/O system manager coordinates the assignment of peripheral devices to processes, through specific device drivers. File Manager The file manager keeps track of information about files on the disks: - protects against unauthorized file access - supports sharing of file resources - helps organizing files into folders First Back TOC Operating System Architecture Prev Next Last

Page 16 Chapter 3: Operating Systems Christian Jacob Dispatcher The dispatcher monitors processes and decides when to switch execution from one process to another. Interrupt Interrupt Interrupt Process A Process B Process A Dispatcher Dispatcher Dispatcher Disp. Time When a process completes... the dispatcher reports back to the scheduler, the scheduler notifies the resource allocator, the resource allocator releases any resources held by that process, the scheduler then reports completion of the process to the command processor, the command processor informs the user. First Back TOC Operating System Architecture Prev Next Last

Page 17 Chapter 3: Operating Systems Christian Jacob 3.4 References G. Blank and R. Barnes, The Universal Machine, Boston, MA: WCB/ McGraw-Hill, 1998. Chapters 10.1 through 10.3. First Back TOC References Prev Next Last