Introduction Operating Systems. No. 2 Contents Definition of an Operating System (OS) Role of an Operating System History of Operating Systems Classification.

Slides:



Advertisements
Similar presentations
OPERATING SYSTEM INTRODUCTION
Advertisements

Operating Systems Components of OS
Operating Systems (CSCI2413) Lecture 2 Overview phones off (please)
Operating System Structures
Maninder Kaur OPERATING SYSTEM Maninder Kaur 11 Oct 2010.
SLC/Ver1.0/OS CONCEPTS/Oct'991INTRODUCTION What is an Operating System? Operating Structure -System Components -OS Services -System Calls & Programs -System.
Operating System Structure
Operating-System Structures 1. Operating-System System Components 2. Operating System Services 3. System Calls 4. System Structure 5. Virtual Machines.
3.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 3: Operating-System Structures System Components Operating System.
Lecture 1: History of Operating System
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
1/26/2004CSCI 315 Operating Systems Design1 Operating System Structures Notice: The slides for this lecture have been largely based on those accompanying.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Common System Components
Os31 Chapter 3 Operating-System Structures. os32 Outlines System Components Operating System Services System Calls System Programs System Structure Virtual.
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
Silberschatz, Galvin and Gagne  Operating System Concepts Common System Components Process Management Main Memory Management File Management.
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
By Mr. Abdalla A. Shaame.  An operating system is a software component that acts as the core of a computer system.  It performs various functions and.
Abhinav Kamra Computer Science, Columbia University 3.1 Operating System Concepts Silberschatz, Galvin and Gagne  2002 Chapter 3: Operating-System Structures.
Operating System Overview
Lecture By : Rupinder Kaur Lect. IT SRS Govt. Polytechnic college Ludhiana Topic : Overview of Operating System.
Prof. Hsien-Hsin Sean Lee
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
Silberschatz, Galvin and Gagne  Applied Operating System Concepts Chapter 3: Operating-System Structures System Components OS Services System.
CHAPTER 2 OPERATING SYSTEM OVERVIEW 1. Operating System Operating System Definition A program that controls the execution of application programs and.
Module 1.1: Operating-System Structures
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
 What is OS? What is OS?  What OS does? What OS does?  Structure of Operating System: Structure of Operating System:  Evolution of OS Evolution of.
UNIX and Shell Programming (06CS36)
Operating Systems.
 Introduction to Operating System Introduction to Operating System  Types Of An Operating System Types Of An Operating System  Single User Single User.
OS provide a user-friendly environment and manage resources of the computer system. Operating systems manage: –Processes –Memory –Storage –I/O subsystem.
SYSTEM SOFTWARE Prepared by: Mrs. Careene McCallum-Rodney.
◦ What is an Operating System? What is an Operating System? ◦ Operating System Objectives Operating System Objectives ◦ Services Provided by the Operating.
3.1 Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
1.1 Operating System Concepts Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
Silberschatz and Galvin  Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services System Calls.
3.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 3: Operating-System Structures System Components Operating System.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services.
3.1 Operating System Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual.
INFORMATION SYSTEM-SOFTWARE Topic: OPERATING SYSTEM CONCEPTS.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
OS, , Part I Operating - System Structures Department of Computer Engineering, PSUWannarat Suntiamorntut.
1 CSE Department MAITSandeep Tayal Operating-System Structures System Components Operating System Services System Calls System Programs System Structure.
Operating System Principles And Multitasking
UNIX and Shell Programming
Distributed System Services Fall 2008 Siva Josyula
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 3 Operating-System Structures Slide 1 Chapter 3 Operating-System Structures.
Introduction to Operating System (OS)
Operating Systems.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services.
System Components Operating System Services System Calls.
Operating System Structure Lecture: - Operating System Concepts Lecturer: - Pooja Sharma Computer Science Department, Punjabi University, Patiala.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Module 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
Chapter 3: Operating-System Structures
Module 3: Operating-System Structures
2. OPERATING SYSTEM 2.1 Operating System Function
Operating System Structure
Introduction to Operating System (OS)
Chapter 3: Operating-System Structures
Basic Concepts Protection: Security:
Chapter 2: Operating-System Structures
Introduction to Operating Systems
Chapter 2: Operating-System Structures
Presentation transcript:

Introduction Operating Systems

No. 2 Contents Definition of an Operating System (OS) Role of an Operating System History of Operating Systems Classification of Operating Systems Specific terms and concepts Structure of an OS

No. 3 The Definition of an OS A computer system consists of: User software System software Hardware User Applications CompilersEditorsShells Operating System System hardware

No. 4 Application Programs System Programs Software (Operating System) HARDWARE Operating system works as an interface between Hardware and software

No. 5 What is an OS? A system software A collection of procedures that: –manage all the system’s hardware resources –provide the users the environment in which they can: use the system resources run their own applications

No. 6 What is OS? Operating System is a software, which makes a computer to actually work. It is the software the enables all the programs we use. The OS organizes and controls the hardware. OS acts as an interface between the application programs and the machine hardware. Examples: Windows, Linux, Unix and Mac OS, etc.,

No. 7 What OS does? An operating system performs basic tasks such as, controlling and allocating memory, prioritizing system requests, controlling input and output devices, facilitating networking and managing file systems.

No. 8 Operating System Objectives Convenience –Makes the computer more convenient to use Efficiency –Allows computer system resources to be used in an efficient manner Ability to evolve –Permit effective development, testing, and introduction of new system functions without interfering with service

No. 9 The Role of an OS Government The external or the user point of view A top-down perspective –Hides the complexity of using the hardware devices –Provides the user a more convenient view of the system resources –Purpose: Convenience Resource manager The inside or the designer point of view A bottom-up perspective –Brings the hardware resources in a functional state –Provides each program with time and space for using resources –Purpose: Efficiency Control Program

No. 10 Evolution of OS (contd..): Major PhasesOperating Systems Batch Processing Same type of jobs batch together and execute one at a time. Multi- programming executes number of programs simultaneously by a single processor. Timesharing Multiple jobs are executed by switching the CPU between them. (Contd…)

No. 11 Evolution of OS (contd..): Personal Computing Graphic user interfacesOS 6 (1972) Pilot system (1980) Distributed Systems Remote serversWFS file server (1979) Unix United RPC (1982) 24 Amoeba system (1990)

No. 12 Types of OS: Operating System can also be classified as,- Single User Systems Multi User Systems

No. 13 Single User Systems: Provides a platform for only one user at a time. They are popularly associated with Desk Top operating system which run on standalone systems where no user accounts are required. Example: DOS

No. 14 Single-user operating system - As the name implies, this operating system is designed to manage the computer so that one user can effectively do one thing at a time. Multi-user operating system - A multi-user operating system allows many different users to take advantage of the computer's resources simultaneously. Multiprocessor operating system - An operating system capable of supporting and utilizing more than one computer processor. Types of operating system:

No. 15 Multitasking operating system - An operating system that is capable of allowing multiple software processes to run at the same time. Multithreading operating system - Operating systems that allow different parts of a software program to run concurrently. Time sharing operating system - Time-sharing system can be classified as multi-user systems as they enable a multiple user access to a computer through the sharing of time. Types of operating system: (contd.)

No. 16 Specific Terms and Concepts Batch systems: no user interaction Spooling: Simultaneous peripheral operations online Multiprogramming: multiple programs loaded in memory Time-sharing: each process receives slices of CPU time Interactive systems : provides quick response to user’s actions Multi-user: distinction between users Distributed OS: looks like a traditional single-processor system Processes, Files, System Calls

No. 17 Services Provided by the Operating System Program development –Editors and debuggers Program execution Access to I/O devices Controlled access to files System access

No. 18 Services Provided by the Operating System Error detection and response –Internal and external hardware errors Memory error Device failure –Software errors Arithmetic overflow Access forbidden memory locations –Operating system cannot grant request of application

No. 19 Services Provided by the Operating System Accounting –Collect usage statistics –Monitor performance –Used to anticipate future enhancements –Used for billing purposes

No. 20 Multi processor Systems Use of two or more central processing units (CPUs) within a single computer system Ability of a system to support more than one processor and/or the ability to allocate tasks between them. Multitasking or Multiprogramming are implemented in software Multiprocessing is more appropriate to describe the use of multiple hardware CPUs. A system can be both multiprocessing and multiprogramming, only one of the two, or neither of the two of them.

No. 21 Multi processor Systems

No. 22 Advantages of Multiprocessor systems Reduced Cost: –Multiple processors share same resources instead of using separate power supply or mother board for each Increased reliability –The failure of one processor doesnot affec other processors though it will slow down the machine Increased throughput –Increase in number of processors complete the work in less time

No. 23 Types of Multiprocessor systems Symmetric Multiprocessing –SMP systems consist of two or more relatively independent processors or cores sharing a common bus and memory, each executing their own program or work together on same task Asymmetric Multiprocessing –Individual processors are dedicated to particular tasks –It has one MASTER processor and rests are SLAVE processors

No. 24 Distributed Systems Loosely coupled or distributed multiprocessor, or cluster –Each processor has its own memory and I/O channels Tightly coupled multiprocessing –Processors share main memory –Controlled by operating system Advantages of Distributed Systems –Resource sharing –Computation speedup –Reliability

No. 25 Common System Components Process Management Main Memory Management File Management I/O System Management Secondary Management Networking Protection System Command-Interpreter System

No. 26 Process Management A process is a program in execution. A process needs certain resources, including CPU time, memory, files, and I/O devices, to accomplish its task. The operating system is responsible for the following activities in connection with process management. –Process creation and deletion. –process suspension and resumption. –Provision of mechanisms for: process synchronization process communication

No. 27 Main-Memory Management Memory is a large array of words or bytes, each with its own address. It is a repository of quickly accessible data shared by the CPU and I/O devices. Main memory is a volatile storage device. It loses its contents in the case of system failure. The operating system is responsible for the following activities in connections with memory management: –Keep track of which parts of memory are currently being used and by whom. –Decide which processes to load when memory space becomes available. –Allocate and deallocate memory space as needed.

No. 28 File Management A file is a collection of related information defined by its creator. Commonly, files represent programs (both source and object forms) and data. The operating system is responsible for the following activities in connections with file management: –File creation and deletion. –Directory creation and deletion. –Support of primitives for manipulating files and directories. –Mapping files onto secondary storage. –File backup on stable (nonvolatile) storage media.

No. 29 I/O System Management The I/O system consists of: –A buffer-caching system –A general device-driver interface –Drivers for specific hardware devices

No. 30 Secondary-Storage Management Since main memory (primary storage) is volatile and too small to accommodate all data and programs permanently, the computer system must provide secondary storage to back up main memory. Most modern computer systems use disks as the principle on-line storage medium, for both programs and data. The operating system is responsible for the following activities in connection with disk management: –Free space management –Storage allocation –Disk scheduling

No. 31 Networking (Distributed Systems) A distributed system is a collection processors that do not share memory or a clock. Each processor has its own local memory. The processors in the system are connected through a communication network. Communication takes place using a protocol. A distributed system provides user access to various system resources. Access to a shared resource allows: –Computation speed-up –Increased data availability –Enhanced reliability

No. 32 Protection System Protection refers to a mechanism for controlling access by programs, processes, or users to both system and user resources. The protection mechanism must: –distinguish between authorized and unauthorized usage. –specify the controls to be imposed. –provide a means of enforcement.

No. 33 Command-Interpreter System Many commands are given to the operating system by control statements which deal with: –process creation and management –I/O handling –secondary-storage management –main-memory management –file-system access –protection –networking

No. 34 Command-Interpreter System (Cont.) The program that reads and interprets control statements is called variously: –command-line interpreter –shell (in UNIX) Its function is to get and execute the next command statement.

No. 35 Operating System Services Program execution – system capability to load a program into memory and to run it. I/O operations – since user programs cannot execute I/O operations directly, the operating system must provide some means to perform I/O. File-system manipulation – program capability to read, write, create, and delete files. Communications – exchange of information between processes executing either on the same computer or on different systems tied together by a network. Implemented via shared memory or message passing. Error detection – ensure correct computing by detecting errors in the CPU and memory hardware, in I/O devices, or in user programs.