Chapter 1: Introduction

Slides:



Advertisements
Similar presentations
Interactive lesson about operating system
Advertisements

CMSC 421: Principles of Operating Systems Section 0202 Instructor: Dipanjan Chakraborty Office: ITE 374
CMPT 300: Operating Systems I Dr. Mohamed Hefeeda
Chapter 1: Introduction
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
OS Fall ’ 02 Introduction Operating Systems Fall 2002.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage.
OS Spring’03 Introduction Operating Systems Spring 2003.
Modified from Silberschatz, Galvin and Gagne ©2009 CS 446/646 Principles of Operating Systems Lecture 1 Chapter 1: Introduction.
Chapter 1.2: Introduction These slides, originally provided by your authors, have been modified by your instructor.
1.1 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Instructor:
Lecture 1: Introduction CS170 Spring 2015 Chapter 1, the text book. T. Yang.
1/16/2008CSCI 315 Operating Systems Design1 Introduction Notice: The slides for this lecture have been largely based on those accompanying the textbook.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
What do operating systems do? manage processes manage memory and computer resources provide security features execute user programs make solving user.
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts What is an Operating System? A program that acts as an intermediary.
 Introduction Introduction  Definition of Operating System Definition of Operating System  Abstract View of OperatingSystem Abstract View of OperatingSystem.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edit9on Chapter 1: Introduction.
Introduction by Dr. Amin Danial Asham. References Operating System Concepts ABRAHAM SILBERSCHATZ, PETER BAER GALVIN, and GREG GAGNE.
CIS-410: Operating Systems Spring Organizational Details Class Meeting: 7:00-9:45pm, Monday, Room 252N Instructor: Dr. Igor Aizenberg Office: Aikin.
Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 1: Introduction What Operating Systems Do Computer-System Organization.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 1: Introduction.
Objectives To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 1: Introduction.
CS212: OPERATING SYSTEM Lecture 1: Introduction 1.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
1 5/25/2016 操作系统课件 教材: 《操作系统概念(第六版 影印版)》 【原书名】 Operating System Concepts(Sixth Edition) [ 原书信息 ] Operating System Concepts(Sixth Edition) [ 原书信息 ] 【原出版社】
Thanks to Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction n What is an Operating System? n Mainframe Systems.
Chapter 1. Introduction What is an Operating System? Mainframe Systems
Four Components of a Computer System. Computer System Components Users (people, machines, other computers) Applications programs – define the ways in.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 1 Introduction Read:
Contact Information Office: 225 Neville Hall Office Hours: Monday and Wednesday 12:00-1:00 and by appointment.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Operating Systems CSCI 411.
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 1: Introduction What Operating Systems Do (previous.
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 1: Introduction What Operating Systems Do Computer-System.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
OPERATING SYSTEMS UNIT – I R.SOUJANYA IT Dept. UNIT I Computer System and Operating System Overview Chapter 1: IntroductionIntroduction Overview of Computer.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 1: Introduction.
OPERATING SYSTEMS Lecture 3: we will explore the role of the operating system in a computer Networks and Communication Department 1.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
1 Agustin Araya CS149 Operating Systems Running programs ==> Process management Managing main memory ==> Memory management Manipulating files (...
Operating System Principles And Multitasking
Chapter 1. Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 12, 2005 Introduction Introduction What.
CIS250 OPERATING SYSTEMS Chapter One Introduction.
Assoc. Prof. Dr. Ahmet Turan ÖZCERİT.  What Operating Systems Do  Computer-System Organization  Computer-System Architecture  Operating-System Structure.
Review of Computer System Organization. Computer Startup For a computer to start running when it is first powered up, it needs to execute an initial program.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Multiprocessor Systems Distributed.
Introduction to Operating System. 1.1 What is Operating System? An operating system is a program that manages the computer hardware. It also provides.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
First lecture.  Lecture note  ELearning web site :  Abraham Silberschatz, Peter B. Galvin, Greg Gagne, “Operating.
Operating System (Reference : OS[Silberschatz] + Norton 6e book slides)
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Chapter 1: Introduction Narzu Tarannum(NAT) Reff: BIS.
Cs506 First lecture. Materials Lecture note ELearning web site : Main text book : “Operating System Concepts”, 8 th edition,Auther:
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edit9on Chapter 1: Introduction.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 1: Introduction.
1.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 1: Introduction What Operating Systems Do √ Computer-System Organization.
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Objectives To provide a grand tour of the major operating.
Introduction to Operating Systems Concepts
OPERATING SYSTEM CONCEPT AND PRACTISE
Applied Operating System Concepts
Chapter 2: System Structures
Computer System Structures
Chapter 1: Introduction
What is an Operating System?
Introduction to Operating Systems
Presentation transcript:

Chapter 1: Introduction These slides, originally provided by your authors, have been modified by your instructor.

Chapter 1: Introduction What Operating Systems Do Computer-System Organization Computer-System Architecture Operating-System Structure Operating-System Operations Process Management Memory Management Storage Management Protection and Security Distributed Systems Special-Purpose Systems Computing Environments

Objectives To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization Please note that these slides are not in the exact same order as the pages of the text – but close.

1. What is an Operating System? First of all, an operating system is a program – albeit a very complicated one. The main job of an operating system is to manage and control the computer system’s resources Central processing unit(s), Input/Output devices, Memory in order for a variety of users – with varied interests – to get what they want from the system. For some users, the emphasis is: on ease of use For other users, it is imperative that the operating system successfully provide optimal resource allocation – to support many users, and For others, the computer may constitute a dedicated resource.

More An operating system is, in general, is software designed to control access and allocation of resources so the user may use this computer to solve the problem at hand. It is a tool!! An operating system is software that controls hardware – its use and how the individual components are best allocated to serve users. An operating system, sometimes called a Master Control Program, is a lot of things to different people and exactly what it is often depends upon one’s view.

Computer System Structure A Computer System can be divided into four components Hardware – provides basic computing resources CPU, memory, I/O devices (other devices too…) Operating System (Software; sometimes called System Software) Controls and coordinates use of hardware among various applications and users. This will be the focus of this course. Application programs (sometimes called Application Software) – define the ways in which the system resources are used to solve the computing problems of the users Word processors, compilers, web browsers, database systems, video games, business software, scientific software, manufacturing software real-time embedded software (automobile / aircraft instrumentation) These are the types of programs written in your language courses, data structures, database, and other courses. Users People, machines, other computers

Four Components of a Computer System An excellent depiction of basic components and their relationships. Briefly explain… Note: an operating system does not exist for its own well-being; It exists to do work for users and to manage and control a system’s resources so as to maximize use of computing resources. A student invokes a compiler to compile a program; another user invokes an assembler to assemble a program; another user is editing a Word, vi, Notepad file; still another user is trying to execute an SQL query.

Operating System Definition OS is a resource allocator Manages all resources Decides between conflicting requests for efficient and fair resource use OS is a control program Controls / monitors / facilitates the execution of programs to prevent errors and improper use of the computer No universally accepted definition What is traditionally an ‘operating system’ consists of many parts the most notable is the kernel.  “The one program running at all times on the computer” is the kernel. Everything else is either a system program (ships with the operating system) or an application program We will talk a great deal about the kernel later!

Computer Startup Bootstrap program is loaded at power-up or reboot Typically stored in ROM (Read Only Memory) or (electronically erasable programmable Read Only Memory (EEPROM), generally known as firmware ROM chip contains instructions for uploading the operating system to ‘get things going’ When you turn on your computer, ROM is immediately accessed and typically a bootstrap loader (or bootstrap program) is immediately executed. What does it rally do?

Computer Startup – Bootstrap Program Bootstrap is a simple program and usually quite short. Used to load the main part of the operating system (kernel) It is your ‘startup program.’ Bootstrap usually starts by executing a special program called ‘init’ Init runs (much more later) and the operating system is ready for work! Work, that is, requesting the computer to do something for us, is communicated to the computer system via interrupts. Big Questions: So, what do we mean by ‘interrupts’ and ‘what’ is interrupted? Are there different kinds of interrupts? (lot to learn here!) To address these question, let’s first look at a computer system’s basic organization; then we have a context for discussing ‘interrupts.’

Computer System Organization Computer-system operation First of all, let’s look at the hardware organization. A computer system consists of one or more CPUs, device controllers connect through common bus providing access to shared memory These bolded terms are key to understanding a computing system. A number of hardware devices / components. Central Processing Unit(s) (only one shown here) Primary Memory (RAM); shared; volatile Common bus (Used for data and control)

Computer System Organization Notice a number of device controllers. These controllers – unique to specific types of devices – are themselves little computers designed to control the devices hooked to them and the common bus for memory and more. In the figure below, there is ‘central memory’ (primary memory; RAM) Access to primary memory is shared and access to it must be synchronized to avoid contention problems. Almost all devices need access to primary memory! But they clearly cannot have access simultaneously! The OS, however, does provide for concurrent access.

1.2 Computer-System Operation I/O devices and the CPU can execute concurrently. Each device controller is in charge of a particular device type. USB Controllers – in very common use for flash drives and connection with a wide variety of external devices; Disk controllers may have many disks hooked to it. The disk controller must synchronize data being written to and retrieved from disks that it is controlling. When the controller is responsible for a number of individual devices, this can be a daunting but essential task. It must determine when a disk is, say, ready to be written to or read from (think disk mechanics; seek time, rotational delay, head select, reading/writing data…) Device controller typically have a local buffer containing temporary storage of data to be ‘later’ written to one of the devices the controller is ‘controlling’ or perhaps written to RAM. … These operations can be executed asynchronously from the CPU and in the background under their controller control. Remember, these controllers are like little computers – execute special programs and have their own memories, buffers, registers, etc.

Let’s stop here for the first lecture from the book. Please do the readings and look over assignment 1. We will resume this material next class period.

End of Chapter 1.1