Chapter 1 CS 3204: Introduction. CS 3204: Operating Systems2 What is an Operating System (OS) ? Definition 1: An OS is the interface between the hardware.

Slides:



Advertisements
Similar presentations
Operating System.
Advertisements

COURSE: COMPUTER PLATFORMS
Maninder Kaur OPERATING SYSTEM Maninder Kaur 11 Oct 2010.
Introduction CSCI 444/544 Operating Systems Fall 2008.
Introduction to Operating Systems CS-2301 B-term Introduction to Operating Systems CS-2301, System Programming for Non-majors (Slides include materials.
CMSC 421: Principles of Operating Systems Section 0202 Instructor: Dipanjan Chakraborty Office: ITE 374
Chapter 1: Introduction
Winter 2005 CMPE 151: Network Administration Lecture 2.
Lecture 1: History of Operating System
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
© 2004, D. J. Foreman 1 CS350 Operating Systems. © 2004, D. J. Foreman 2 Administrivia  Assignments ■ Homework on most chapters ■ Approximately 8 lab.
Understanding Operating Systems 1 Overview Introduction Operating System Components Machine Hardware Types of Operating Systems Brief History of Operating.
University of Pennsylvania 9/7/00CSE 3801 CSE 380 Introduction to Operating Systems Insup Lee Fall 00.
Slide 1-1 Computer Systems II Gordon College Operating System Overview.
1 What is an operating system? CSC330Patricia Van Hise.
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.
Slide 1-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 1.
An Introduction to Operating Systems. Definition  An Operating System, or OS, is low-level software that enables a user and higher-level application.
 Understand model of operation  Easier to see how to use the system  Enables you to write efficient code  Learn to design an OS  Even so, OS is pure.
Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Type of Software There are two main types of software They are System software Application software Hardware System Software (OS) Application Software.
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
part I, , Part I Introduction to Operating Systems First Semester, Year 2000 Wannarat Suntiamorntut Department of Computer Engineering,
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
1 5/25/2016 操作系统课件 教材: 《操作系统概念(第六版 影印版)》 【原书名】 Operating System Concepts(Sixth Edition) [ 原书信息 ] Operating System Concepts(Sixth Edition) [ 原书信息 ] 【原出版社】
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
Operating Systems.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
UNIT - 1Topic - 2 C OMPUTING E NVIRONMENTS. What is Computing Environment? Computing Environment explains how a collection of computers will process and.
◦ What is an Operating System? What is an Operating System? ◦ Operating System Objectives Operating System Objectives ◦ Services Provided by the Operating.
Understanding Operating Systems Flynn & McHoes
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.
Operating Systems Principles Lecture 1: Introduction 主講人:虞台文.
Contact Information Office: 225 Neville Hall Office Hours: Monday and Wednesday 12:00-1:00 E-Main: Phone:
1.1 Operating System Concepts Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3.
Chapter 1 (PART 1) Introduction to OS (concept, evolution, some keywords) Department of Computer Science Southern Illinois University Edwardsville Summer,
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.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
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.
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.
Chapter 1: Introduction
Operating System.
Chapter 1: Introduction
Chapter 1: Introduction
Introduction to Operating System (OS)
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Introduction.
Chapter 1: Introduction
Subject Name: Operating System Concepts Subject Number:
Chapter 1: Introduction
Chapter 1: Introduction
Operating System Introduction.
Chapter 1: Introduction
Operating Systems: A Modern Perspective, Chapter 1
Introduction to OS (concept, evolution, some keywords)
Chapter 1: Introduction
Chapter 2 Operating System Overview
Operating Systems Principles Lecture 1: Introduction
Introduction to OS (concept, evolution, some keywords)
Chapter 1: Introduction
Chapter 1: Introduction
Presentation transcript:

Chapter 1 CS 3204: Introduction

CS 3204: Operating Systems2 What is an Operating System (OS) ? Definition 1: An OS is the interface between the hardware and the software environment, equivalent to an extended or virtual machine Definition 2: An OS is a resource manager – provides “resource abstraction” In fact, it achieves 1 through 2. Therefore, both definitions are applicable at some times.

CS 3204: Operating Systems3 System Software and the OS interface from the textbook Your software Editors Compilers Loaders Drivers

CS 3204: Operating Systems4 Resource Abstraction How does the OS “manage resources” ? By providing Resource Abstraction to the other system software and applications What is Abstraction ? Abstraction hides the details Resource Abstraction hides the “nitty-gritty” details of the underlying resource

CS 3204: Operating Systems5 Resource Abstraction … an example (Consider the C language statement fprintf ) fprintf ( fileId, “%d”, var1 ) write ( block, 100, device, 266, 9 ) load ( block, 100, device ) seek ( device, 266 ) out (device, 9 ) Multi-level abstraction

CS 3204: Operating Systems6 Resource Abstraction Typical resource abstractions Memory Disk Keyboard Monitor

CS 3204: Operating Systems7 Resource Sharing Managing resources through abstractions implies the ability to ‘share resources’ Types of Sharing: Space Multiplexed Divided into 2 or more distinct units of resource Example: disk, memory Time multiplexed Exclusive control for a short period of time Example: processor

CS 3204: Operating Systems8 Resource Sharing Multiple processes accessing same resource concurrently Isolation: only one processor has access at any given time

CS 3204: Operating Systems9 Terminology Concurrency The simultaneous execution of different programs Types of Concurrency Physical – multiple processors Example: CPU, I/O Logical – interleaved execution Example: processes Multiprogramming The concurrent execution of multiple programs on a single processor Could be space-multiplexed into memory and time- multiplexed in processors Problems: Simultaneous access to memory Lost updates

CS 3204: Operating Systems10 OS Strategies for Providing Services Batch Time share PCs and Workstations Process Control & Real-time systems Networked

CS 3204: Operating Systems11 Batch processing systems Sequentially loaded set of jobs Supported multiprogramming Jobs compete for Resources 1 st : memory 2 nd : processor 3 rd : ??? No “real time” interaction between user and computer Current examples include.bat files under DOS – Windows, shell files under Unix/Linux

CS 3204: Operating Systems12 Time share (1970s) Multiprogramming environment Multiple interactive users Why time-share (TS) ? To spread the cost of large machine To fully utilize computing power TS provides each user with his/her own Virtual Machine

CS 3204: Operating Systems13 Time share system… from the textbook

CS 3204: Operating Systems14 Time share… ctd. TS eventually supported multitasking Multitasking: A time share system that support multiple processes per user, where. A process is a “program in execution TS elevated the importance of Need for barriers and safeguards among users and there processes - User/User & Process/Process Memory protection File Protection

CS 3204: Operating Systems15 Personal Computers (PCs) & Workstations Originally Single User Single Processor Now Single or Multiple Users Multiprogrammed

CS 3204: Operating Systems16 PCs Workstations… Evolution Earlier machines Too large, too expensive, and too fast for one person Mini-computers Smaller versions (like DEC PDP), yet they too grew in size Micro-computer Single chip processor Workstation Multiple user Multiprogrammed Multitasking

CS 3204: Operating Systems17 PCs & Workstations… Contribution Contributed to the growth of Networking File server Point and click interface Like that in Mac and Windows

CS 3204: Operating Systems18 Process Control & Real time Systems Process Control Systems (PCS) Single application monitoring one process Example: System to monitor the heat of a liquid Real Time Systems (RTS) Tied together Process Control Systems RTS

CS 3204: Operating Systems19 Real Time Systems… type Hard RTS Had timing constraints that COULD NOT be missed Example: Chemical processes, Nuclear power plants, Defense systems Soft RTS Make best effort to accommodate time constraints Example: Transaction processing (ATM) RTS: Tradeoff of generality of operations/functionality to ensure that deadlines can be made

CS 3204: Operating Systems20 Networks of Computers Problem is too large Partition it among machines Communication exchange File transfers Servers File Printer Database Provide access to non-local resources LAN, WAN Client / Server

CS 3204: Operating Systems21 Summary from the text book