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.

Slides:



Advertisements
Similar presentations
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Advertisements

Operating Systems Manage system resources –CPU scheduling –Process management –Memory management –Input/Output device management –Storage device management.
Maninder Kaur OPERATING SYSTEM Maninder Kaur 11 Oct 2010.
Prof. B. I. Khodanpur HOD – Dept. of CSE R. V. College of Engineering
Lecture 1: History of Operating System
Operating Systems BTEC IT Practitioners.
A. Frank - P. Weisberg Operating Systems Evolution of Operating Systems.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Week 6 Operating Systems.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
 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.
Operating Systems.
 Introduction to Operating System Introduction to Operating System  Types Of An Operating System Types Of An Operating System  Single User Single User.
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:
CS 1308 Computer Literacy and the Internet. Introduction  Von Neumann computer  “Naked machine”  Hardware without any helpful user-oriented features.
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Fall 2000M.B. Ibáñez Lecture 01 Introduction What is an Operating System? The Evolution of Operating Systems Course Outline.
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
1.1 Operating System Concepts Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
OPERATING SYSTEMS UNIT – I R.SOUJANYA IT Dept. UNIT I Computer System and Operating System Overview Chapter 1: IntroductionIntroduction Overview of Computer.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
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.
Operating System. Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
Operating Systems.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
1.1 Sandeep TayalCSE Department MAIT 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
L ECTURE -6 Topics: Introduction to Operating system. Functions of an Operating system. Classification of Operating systems.
Operating Systems (Credit to: Rick Graziani of Cabrillo College)
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
CT101: Computing Systems Introduction to Operating Systems.
Applied Operating System Concepts
Chapter 1: Introduction
Chapter 1: Introduction
2. OPERATING SYSTEM 2.1 Operating System Function
Operating System.
Evolution of Operating Systems
Chapter 1: Introduction
Chapter 1: Introduction
Where are being used the OS?
Introduction to Operating System (OS)
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
חוברת שקפים להרצאות של ד"ר יאיר ויסמן מבוססת על אתר האינטרנט:
Operating System Concepts
Chapter 1: Introduction
Language Processors Application Domain – ideas concerning the behavior of a software. Execution Domain – Ideas implemented in Computer System. Semantic.
Subject Name: Operating System Concepts Subject Number:
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
The Main Features of Operating Systems
Software - Operating Systems
Chapter 1: Introduction
Chapter 2 Operating System Overview
Chapter-1 Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions.
Prof. B. I. Khodanpur HOD – Dept. of CSE R. V. College of Engineering
Operating System Overview
Chapter 1: Introduction
Process Management -Compiled for CSIT
Operating System Concepts
Chapter 1: Introduction
Presentation transcript:

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

3 SOFTWARE CLASSIFICATION

4 WHAT IS OS? It is the software that enables all the programs we use. The OS organizes and controls the hardware (CPU, RAM, I/O) Security System interface Application interface OS acts as an interface between the application programs and the machine hardware.

5 Operating System Software Examples: Microsoft Windows, Linux, Unix, Mac OS X, iOS, Android.

6 What is an operating system (OS)?

7 OS FUNCTIONS The main functions of operating systems are: Manages and Interacts with Computer Hardware Process the tasks Provides the User/ Computer Interface (CLI / GUI) Provides the Interface for Application Software Input / Output Operations Error Detection, Resource Allocation, Security and Protection

8 OS SERVICES Operating system services such as, Input / Output Operations,Controlling and Allocating memory, Work as a Resource Allocator,Prioritizing system requests, File System Manipulation, Error Detection, Controlling input and output devices, Communication Managing file systems, protection CPUs have this capability to use at least two modes: protected mode and supervisor mode.

9 Manages the CPU - by CPU scheduling algorithms. Manages RAM - What is processing in RAM - Virtual memory. Provides the Interface for Application Software -Operating systems are designed and developed for a specific CPU or “family of CPUs”

10 Provides the interface for storage devices and manages how data is stored on those devices. Provides the Interface for I/O Devices device drivers keyboard, mouse, printer

11 VIRTUAL MEMORY Virtual Memory (VM) = the ability of the CPU and the operating system software to use the hard disk drive as additional RAM when needed. Good – no longer get “insufficient memory” error. Bad - performance is very slow when accessing VM. Solution = increase size of RAM.

12 VIRTUAL MEMORY

13 PROCESSES Scheduler – Maintains a record of the processes. Adds new processes when launched. Removes old processes when completed. Uses a process table. Process Table – Information about each process including: Main memory cells (RAM) Priority Running or waiting (input from user or saving to disk)

14 Viewing processes with Microsoft Windows Ending a process – Killing the process

15 PROCESSES Dispatcher - Oversees the execution of each process by the CPU. Gives each process a time slice of CPU time. Changes between processes.

16 MULTIPROCESSING WITH MULTIPLE CPU’S Asymmetric Multiprocessing = Tasks are assigned to a specific CPU and each CPU has its own RAM memory Symmetric Multiprocessing = Tasks are assigned to any available CPU and CPU’s can share RAM memory Rick Graziani 16

17 STRUCTURE OF OPERATING SYSTEM: Application Programs System Programs Software (Operating System) HARDWARE

18 STRUCTURE OF OPERATING SYSTEM The structure of OS consists of 4 layers: 1.Hardware Hardware consists of CPU, Main memory, I/O Devices, etc, 2.Software (Operating System) Software includes process management routines, memory management routines, I/O control routines, file management routines.

19 STRUCTURE OF OPERATING SYSTEM 3.System programs This layer consists of compilers, Assemblers, linker etc. 4.Application programs This is dependent on users need. Ex. Railway reservation system, Bank database management etc.,

20 EVOLUTION OF OS: Evolution of an OS from simple Batch processing to today’s OS- Batch Operating System Multiprogramming Operating System Time Sharing or Multitasking Operating System Real-Time Systems Distributed Operating System

21 BATCH PROCESSING: In Batch processing same type of jobs batch (BATCH- a set of jobs with similar needs) together and execute at a time. The OS was simple, its major task was to transfer control from one job to the next. The job was submitted to the computer operator in form of punch cards. At some later time the output appeared. The OS was always resident in memory. Common Input devices were card readers and tape drives.

22 Common output devices were line printers, tape drives, and card punches. Users did not interact directly with the computer systems, but he prepared a job (comprising of the program, the data, & some control information). OS User program area

23 MULTIPROGRAMMING: Multiprogramming is a technique to execute number of programs simultaneously by a single processor. In Multiprogramming, number of processes reside in main memory at a time. The OS picks and begins to executes one of the jobs in the main memory. If any I/O wait happened in a process, then CPU switches from that job to another job. Hence CPU in not idle at any time.

24 MULTIPROGRAMMING OS Job 1 Job 2 Job 3 Job 4 Job 5 Figure dipicts the layout of multiprogramming system. The main memory consists of 5 jobs at a time, the CPU executes one by one. Advantages: Efficient memory utilization Throughput increases CPU is never idle, so performance increases.

25 TIME SHARING SYSTEMS: Time sharing, or multitasking, is a logical extension of multiprogramming. Multiple jobs are executed by switching the CPU between them. In this, the CPU time is shared by different processes, so it is called as “Time sharing Systems”. Time slice is defined by the OS, for sharing CPU time between processes. Examples: Unix.

26 PROCESS STATES FOR TIME SHARING Ready Running Blocked New Job ExecutionTerminated Wait for I/O Completion I/O Completed Time Slice over

27 REAL-TIME SYSTEMS: A real-time operating system is a multitasking operating system intended for applications with fixed deadlines. Such applications include some small embedded systems, automobile engine controllers, industrial robots, spacecraft, industrial control, and some large-scale computing systems. An early example of a large-scale real-time operating system was Transaction Processing Facility developed by American Airlines and IBM for the Sabre Airline Reservations System.

28 These are of two types: a) Hard Real Time, b) Soft Real Time. a)These OS guarantee that critical tasks be completed within a certain range of time. Ex: A complete car welding by robot hardly on the time. a)These OS provides some relaxation in time limit. Ex: Multimedia systems, digital audio system.

29 DISTRIBUTED SYSTEMS: A distributed computer system is a collection of autonomous computer systems capable of communication and cooperation via their H/w and S/w interconnection. The distributed operating system provides a illusion to its users that it has a single uniprocessor system, although it is actually consisted of multiprocessors. Distributed OS provide the means for system- wide sharing of resources such as computational capacity, files and I/O devices. Ex: UNIX, LINUX.

30 SUMMARY HOW AN OS WORKS Interpreting commands, enabling the user to communicate with the computer. OS IS SOFTWARE COMPUTER WORKS WITH THE HELP OF OS When a computer is turned on it searches for instructions in its memory. These instructions tell the computer how to start up. Usually, one of the first sets of these instructions is a special program called the operating system.

31 Thanks