Chapter 3 Operating Systems © 2007 Pearson Addison-Wesley. All rights reserved.

Slides:



Advertisements
Similar presentations
Threads, SMP, and Microkernels
Advertisements

Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Operating System.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 3 Operating System Organization.
1. 2 The Evolution of Operating Systems : §The single processing machines of 1940’s and 1950’s were not very flexible or efficient. §The processing is.
Chapter 3 Operating Systems. Chapter 3 Operating Systems 3.1 The Evolution of Operating Systems 3.1 The Evolution of Operating Systems 3.2 Operating System.
Chapter 11 Operating Systems
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.
Operating system Part three Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas Faculty of Information.
Xuan Guo Chapter 1 What is UNIX? Graham Glass and King Ables, UNIX for Programmers and Users, Third Edition, Pearson Prentice Hall, 2003 Original Notes.
Chapter 3 Operating Systems. 2 Chapter 3 Operating Systems 3.1 The Evolution of Operating Systems 3.2 Operating System Architecture 3.3 Coordinating the.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Part two. 3.2 operating system architecture  Software have two categories  Application software  System software  Application software: consists of.
CMSC 1041 Operating Systems I An Introduction to Operating System Concepts.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Introduction to Operating Systems
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Operating system Part two Introduction to computer, 2nd semester, 2010/2011 Mr.Nael Aburas Faculty of Information.
Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.
Operating System A program that controls the execution of application programs An interface between applications and hardware 1.
Part II: Software In part II, we focus on topics associated with software. In particular, we will investigate the discovery, representation, and communication.
Copyright © 2012 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Eleventh Edition.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
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.
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.
Lecture 8: 9/19/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
1 Sec (3.2) Operating System Architecture OS. 2 Software dividing into two categories: 1. Application software 2. System Software  Operating System 
Operating Systems © 2007 Pearson Addison-Wesley. All rights reserved.
Chapter 3: Operating Systems
Operating System Principles And Multitasking
Operating System 11/26/2015 Che-Rung Lee 2015/11/261CS Introduction to Information Engineering.
Computer Science/Ch.3 Data Manipulation 3-1 Chapter 3 Data Manipulation.
Operating System Structure A key concept of operating systems is multiprogramming. –Goal of multiprogramming is to efficiently utilize all of the computing.
We will focus on operating system concepts What does it do? How is it implemented? Apply to Windows, Linux, Unix, Solaris, Mac OS X. Will discuss differences.
UNIX Unit 1- Architecture of Unix - By Pratima.
CMSC 104, Lecture 031 Operating Systems I An Introduction to Operating System Concepts.
Chapter 3 Operating Systems. © 2005 Pearson Addison-Wesley. All rights reserved 3-2 Chapter 3 Operating Systems 3.1 The Evolution of Operating Systems.
1 Process Description and Control Chapter 3. 2 Process A program in execution An instance of a program running on a computer The entity that can be assigned.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
Operating Systems Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
CT101: Computing Systems Introduction to Operating Systems.
1 OPERATING SYSTEMS. 2 CONTENTS 1.What is an Operating System? 2.OS Functions 3.OS Services 4.Structure of OS 5.Evolution of OS.
Introduction to Operating Systems
Chapter 3: Operating Systems
Chapter 4 – Introduction to Operating System Concepts
An Introduction to Operating Systems
IS310 Hardware & Network Infrastructure Ronny L
Chapter 3: Operating Systems
What is an Operating System?
Shell & Kernel Concepts in Operating System
Operating System Architecture OS
Operating Systems.
OS Architecture.
Chapter 3 Operating Systems
Chapter 3: Operating Systems
Chapter 3: Operating Systems
Operating Systems: A Modern Perspective, Chapter 3
CS149D Elements of Computer Science
Introduction to Operating Systems
Chapter 3: Operating Systems
Chapter 3: Operating Systems Computer Science: An Overview
Chapter 3: Operating Systems
Chapter 3: Operating Systems
Presentation transcript:

Chapter 3 Operating Systems © 2007 Pearson Addison-Wesley. All rights reserved

© 2007 Pearson Addison-Wesley. All rights reserved 0-2 Chapter 3: Operating Systems 3.1 The History of Operating Systems 3.2 Operating System Architecture 3.3 Coordinating the Machine’s Activities 3.4 Handling Competition Among Processes 3.5 Security

© 2007 Pearson Addison-Wesley. All rights reserved 0-3 Functions of Operating Systems Oversee operation of computer Store and retrieve files Schedule programs for execution Coordinate the execution of programs

© 2007 Pearson Addison-Wesley. All rights reserved 0-4 Evolution of Shared Computing Batch processing Interactive processing –Requires real-time processing Time-sharing/Multitasking Multiprocessor machines

© 2007 Pearson Addison-Wesley. All rights reserved 0-5 Figure 3.1 Batch processing

© 2007 Pearson Addison-Wesley. All rights reserved 0-6 Figure 3.2 Interactive processing

© 2007 Pearson Addison-Wesley. All rights reserved 0-7 Types of Software Application software –Performs specific tasks for users System software –Provides infrastructure for application software –Consists of operating system and utility software

© 2007 Pearson Addison-Wesley. All rights reserved 0-8 Figure 3.3 Software classification

© 2007 Pearson Addison-Wesley. All rights reserved 0-9 Operating System Components Shell: Communicates with users –Text based –Graphical user interface (GUI) Window manager Kernel: Performing basic required functions –File manager –Device drivers –Memory manager –Scheduler and dispatcher

© 2007 Pearson Addison-Wesley. All rights reserved 0-10 Figure 3.4 The shell as an interface between users and the operating system

© 2007 Pearson Addison-Wesley. All rights reserved 0-11 File Manager Directory (or Folder): A user-created bundle of files and other directories (subdirectories) Directory Path: A sequence of directories within directories

© 2007 Pearson Addison-Wesley. All rights reserved 0-12 Memory Manager Allocates space in main memory May create the illusion that the machine has more memory than it actually does (virtual memory) by playing a “shell game” in which blocks of data (pages) are shifted back and forth between main memory and mass storage

© 2007 Pearson Addison-Wesley. All rights reserved 0-13 Getting it Started (Bootstrapping) Bootstrap: Program in ROM –Run by the CPU when power is turned on –Transfers operating system from mass storage to main memory –Executes jump to operating system

© 2007 Pearson Addison-Wesley. All rights reserved 0-14 Figure 3.5 The booting process

© 2007 Pearson Addison-Wesley. All rights reserved 0-15 Processes Process: The activity of executing a program Process State: Current status of the activity –Program counter –General purpose registers –Related portion of main memory

© 2007 Pearson Addison-Wesley. All rights reserved 0-16 Process Administration Scheduler: Adds new processes to the process table and removes completed processes from the process table Dispatcher: Controls the allocation of time slices to the processes in the process table –The end of a time slice is signaled by an interrupt.

© 2007 Pearson Addison-Wesley. All rights reserved 0-17 Figure 3.6 Time-sharing between process A and process B

© 2007 Pearson Addison-Wesley. All rights reserved 0-18 Handling Competition for Resources Semaphore: A “control flag” Critical Region: A group of instructions that should be executed by only one process at a time Mutual exclusion: Requirement for proper implementation of a critical region

© 2007 Pearson Addison-Wesley. All rights reserved 0-19 Deadlock Processes block each other from continuing Conditions required for deadlock 1. Competition for non-sharable resources 2. Resources requested on a partial basis 3. An allocated resource can not be forcibly retrieved

© 2007 Pearson Addison-Wesley. All rights reserved 0-20 Figure 3.7 A deadlock resulting from competition for nonshareable railroad intersections

© 2007 Pearson Addison-Wesley. All rights reserved 0-21 Security Attacks from outside –Problems Insecure passwords Sniffing software –Counter measures Auditing software

© 2007 Pearson Addison-Wesley. All rights reserved 0-22 Security (continued) Attacks from within –Problem: Unruly processes –Counter measures: Control process activities via privileged modes and privileged instructions