Quick Introduction to OS

Slides:



Advertisements
Similar presentations
Introduction CSCI 444/544 Operating Systems Fall 2008.
Advertisements

System Software & Operating Systems Organization
Chapter 1: Introduction
Understanding Operating Systems 1 Overview Introduction Operating System Components Machine Hardware Types of Operating Systems Brief History of Operating.
1/16/2008CSCI 315 Operating Systems Design1 Introduction Notice: The slides for this lecture have been largely based on those accompanying the textbook.
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
 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.
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.
1.1 Operating System Concepts Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
Operating Systems David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS 432.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
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.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
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.
Introduction to Operating Systems Concepts
Applied Operating System Concepts
Chapter 1: Introduction
Chapter 1: Introduction
Resource Management IB Computer Science.
2. OPERATING SYSTEM 2.1 Operating System Function
Operating Systems : Overview
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 Systems : Overview
Introduction To OS (OS Structure, Modes and Services)
Introduction.
Operating Systems : Overview
Operating System Concepts
Chapter 1: Introduction
What is Concurrent Programming?
Introduction to Operating Systems
Operating Systems : Overview
Language Processors Application Domain – ideas concerning the behavior of a software. Execution Domain – Ideas implemented in Computer System. Semantic.
Operating Systems : Overview
Operating Systems : Overview
Introduction to Operating Systems
Operating Systems : Overview
Subject Name: Operating System Concepts Subject Number:
Operating Systems : Overview
Operating Systems : Overview
Operating Systems : Overview
Chapter 1: Introduction
Chapter 1: Introduction
Operating Systems : Overview
Chapter 1: Introduction
Operating Systems : Overview
Operating System Introduction
Chapter 1: Introduction
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.
Chapter 1: Introduction
Operating System Concepts
Lecture Topics: 11/1 Hand back midterms
Chapter 1: Introduction
Operating System Introduction
Presentation transcript:

Quick Introduction to OS DEPARTMENT OF COMPUTER SCIENCE AND SOFTWARE ENGINEERING CONCORDIA UNIVERSITY Quick Introduction to OS by-Istiaque Shahriar isti531@gmail.com Quick Introduction to OS January 17, 2007

Quick Introduction to OS Outline Computers and Software General System Software Resource Abstraction Resource Sharing System Software and OS OS Evaluation Batch Systems Timesharing Systems Real Time OS Distributed OS Web OS Modern OS Genesis Basic OS Organization Quick Introduction to OS

Computers and Software Two major groups of software: Application software: Designed to solve a specific problem (eg. MS Word) System software: provides a general programming environment. For application software it provides The functions to be used The mechanisms to share the hardware in an orderly fashion. Sharing Increases overall performance (by allowing different application software to use different parts or resources of the computer at the same time). Decreases the time for execution of a collection of programs Operating system is a subset of the system software. Quick Introduction to OS

System Software: General Applications Runtime system for a programming language (API) Usually implemented in C libraries (Unix, Windows): Standard input/output (I/O) library – procedures to perform buffered input/output on a stream of data; The math library – functions to perform various mathematical computations; Graphics libraries – functions to render images on a bitmapped display Window system – software that provides a virtual terminal to an application program. Database Management System (DBMS) – stores and manipulate information (data) on storage devices (e.g. disks) and retrieved at the time of need. Operating system – interacts directly with the hardware to provide an interface to other system software and with application software whenever it wants to use system’s (computer’s) resources. An OS is application domain independent; provides resource abstraction and management; provides resource sharing (through strict resource management policies). Provides convenient environment for the Users Quick Introduction to OS

Operating System Aspects Key aspects of the OS: Resource Abstraction Resource Sharing What is Resource? The OS treats any entity as a resource if it satisfies following characteristics: A process must request that entity from the OS. A process must suspend its operation until the entity is allocated to it. Anything like CPU cycle, Main memory, printer….. Quick Introduction to OS

Resource Abstraction Aspects Similar resources can be abstracted to a common abstract resource interface (i.e. system software may abstract floppy disks, hard-disks and CD-ROMs into a single abstract disk interface). Abstraction generalizes the hardware behavior but restricts the flexibility. With abstraction, certain operations become easier to perform, other may become impossible (such as specific hardware control). Different hardware components that a program may use are referred to as resources. Any particular resource, such as a HDD has a generic interface that defines how the programmer can make the resource perform a desired operation. An abstraction can be made to be much simpler than the actual resource interface. Quick Introduction to OS

Resource Sharing Aspects Abstract and physical resources may be shared among a set of concurrently executing programs. Two kinds of resource sharing: Space multiplexed sharing Resource can be divided in two or more distinct units, which units units can be used independently. Different executing programs, or processes can allocate exclusive control of different units of a resource at the same time e.g. Main memory and HDD. Time multiplexed sharing The resource is not spatially divisible. A process is allocated exclusive control of the entire resource for a short period of time. After specified time has elapsed, the resource is de-allocated from the process and allocated to another. Quick Introduction to OS

Abstract View of System Components Quick Introduction to OS

Quick Introduction to OS System Software and OS Quick Introduction to OS

Operating Systems Evolution Computers with no operating system (Only Operators) Programming in machine language. Lack of I/O devices. OS rudiments Programming done in assembly. Some basic I/O devices (may be punch card readers). Some I/O control modules, assembler, debugger, loader, linker (limited). Batch processing systems – serve a collection of jobs, called a batch, from a queue: Job – predefined sequence of commands, programs and data combined into a single unit. The user doesn’t interact with programs while they operate. Batch – preferably of similar type of jobs Quick Introduction to OS

Operating Systems Evolution Multiprogramming OS– the technique of loading multiple programs into space multiplexed memory while time-multiplexing the processor. Timesharing systems. Real time operating systems. Distributed operating systems. Multiprogramming systems common features Multitasking – multiple processes sharing machine resources. Hardware support -for memory protection and I/O devices. Multi-user and multi-access support (through time sharing mechanisms). Interactive user interface. Quick Introduction to OS

Batch Systems’ Aspects Processor scheduling: FIFO. Memory management: Memory is divided in two parts: system memory and program memory (for programs). I/O management – no special problems, since a job has exclusive access to the I/O devices. File management – a critical issue in multiprogramming batch systems. Quick Introduction to OS

Timesharing Systems’ Aspects Support for multiprogramming and multi-user. Processor scheduling Time slicing. Memory management Protection and inter-process communication support. I/O management Support for protection and sharing between users. File management Protection support and sharing support between users. Quick Introduction to OS

Real Time Operating Systems’ Aspects Used whenever a large number of external events have to be treated in a short or limited interval of time. Main goal Minimization of the response time to serve the external events. Processor scheduling: Priority based preemptive. Why?? Memory management: Concurrent processes are loaded into memory. Support for protection and inter-process communication. I/O management Critical in time. Processes dealing with I/O are directly connected to the interrupt vectors. Soft Real time system Hard Real time system Quick Introduction to OS

Distributed Operating Systems’ Aspects Distribute the computation among several physical processors Loosely coupled system – each processor has its own local memory; processors communicate with one another through various communications lines, such as high-speed buses or telephone lines Advantages of distributed systems Resources Sharing Computation speed up – load sharing Reliability Communications App Distributed OS Multiple computers connected via a network Quick Introduction to OS

Web Operating Systems’ Aspects WebOS is a university project at University of California, Berkeley. WebOS provides basic operating system services needed to build applications that are: geographically distributed; highly available; incrementally scalable; dynamically reconfiguring. WebNFS – bringing the file system to the Internet. Features: Is based on TCP/IP. Works through firewalls. Read-ahead for faster data access. Write-behind for faster data writes over internet. Print sharing and queue management. Centralized server administration. Quick Introduction to OS

Basic Operating System Organization Basic functions - device management, process and resource management, memory management, file management Operating System Process and Resource Manager File Manager Memory Device Computer Hardware Processor (s) Main Memory Devices Quick Introduction to OS

Quick Introduction to OS References Garry Nutt, “Operating Systems – A Modern Perspective”, Second Edition, Wesley, 2002 WebNFS, Technical Overview, Sun Microsystems, http://www.sun.com/software/webnfs/overview.xml WebOS: Operating System Services for Wide Area Applications, http://www.cs.duke.edu/ari/issg/webos/ http://www.cs.concordia.ca/~i_vassev/comp346_2006.html Quick Introduction to OS