CS 104 Introduction to Computer Science and Graphics Problems Operating Systems (1) 02/18/2008 Yang Song (Prepared by Yang Song and Dr. Hung)

Slides:



Advertisements
Similar presentations
What is an Operating System?
Advertisements

1 CSC 539: Operating Systems Structure and Design Spring 2006 See online syllabus at: Course goals:  to understand key.
Maninder Kaur OPERATING SYSTEM Maninder Kaur 11 Oct 2010.
CMSC 421: Principles of Operating Systems Section 0202 Instructor: Dipanjan Chakraborty Office: ITE 374
Chapter 1: Introduction
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Abhinav Kamra Computer Science, Columbia University 1.1 Operating System Concepts Silberschatz, Galvin and Gagne  2002 COMS 4118 Operating Systems Spring.
OS1-1 Chapter 1 Introduction. OS1-2 Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems.
1 CIS450/IMSE450/ECE478 Operating Systems Winter 2003 Professor Jinhua Guo.
Silberschatz, Galvin and Gagne  Operating System Concepts Bare Machine (early 1950s) Structure  Large machines run from console  Single user.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
1/16/2008CSCI 315 Operating Systems Design1 Introduction Notice: The slides for this lecture have been largely based on those accompanying the textbook.
1/18/2008CSCI 315 Operating Systems Design1 Computer System Structures Notice: The slides for this lecture have been largely based on those accompanying.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Lecture By : Rupinder Kaur Lect. IT SRS Govt. Polytechnic college Ludhiana Topic : Overview of Operating System.
OPERATING SYSTEMS OVERVIEW. What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware.
1 5/25/2016 操作系统课件 教材: 《操作系统概念(第六版 影印版)》 【原书名】 Operating System Concepts(Sixth Edition) [ 原书信息 ] Operating System Concepts(Sixth Edition) [ 原书信息 ] 【原出版社】
Introduction to Basic OS Concepts. Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems.
Thanks to Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction n What is an Operating System? n Mainframe 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:
◦ What is an Operating System? What is an Operating System? ◦ Operating System Objectives Operating System Objectives ◦ Services Provided by the Operating.
OSes: 1. Intro 1 Operating Systems v Objectives –introduce Operating System (OS) principles Certificate Program in Software Development CSE-TC and CSIM,
 H.M.BILAL Operating System Concepts.  What is an Operating System?  Mainframe Systems  Desktop Systems  Multiprocessor Systems  Distributed Systems.
المحاضرة الاولى Operating Systems. The general objectives of this decision explain the concepts and the importance of operating systems and development.
Operating System Concepts Chapter One: Introduction What is an operating system? Simple Batch Systems Multiprogramming Systems Time-Sharing Systems Personal-Computer.
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, Galvin and Gagne  Operating System Concepts Lectured by Dr. Lican Huang
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
Chapter 1: Introduction
Operating System. Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
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, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Multiprocessor Systems Distributed.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
10/06/ :03:20 CSC Alliance — 1 Kimera Richard Phone: INSTITUTE OF COMPUTER SCIENCE DEPARTMENT.
Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Silberschatz, Galvin and Gagne ©2007 Chapter 0: Historical Overview.
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.
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.
Applied Operating System Concepts
Chapter 1: Introduction
Chapter 1: Introduction
Introduction to Basic OS Concepts
Chapter 1: Introduction
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.
Introduction to Operating Systems
Chapter 1 Introduction to Operating System Part 2
Subject Name: Operating System Concepts Subject Number:
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Operating System Overview
Chapter 1: Introduction
Operating System Concepts
Chapter 1: Introduction
Presentation transcript:

CS 104 Introduction to Computer Science and Graphics Problems Operating Systems (1) 02/18/2008 Yang Song (Prepared by Yang Song and Dr. Hung)

What is Operating System? An Operating System is a collection of software that connects the users with the computer hardware An interface between them that can interpret the command sent by users and send them to the hardware

Different Views User’s perspective: Interface Makes interacting with the computer and running applications easily System’s perspective: Resource Allocator Controls and coordinates the hardware resources, services the application software needs

.

Why do we need to study it? As the user, we interact with an OS every time we use the computer To know the tradeoffs, security risks, available options, etc. can make us be better users As the application programmer, we write programs that rely on the OS To know how it works can lead to design more efficient, more reliable programs As the system programmer, we write code that integrates with the OS We must have a working knowledge of OS concepts and techniques

History of Operating Systems 1940’s Computers were special-purposed ENIAC was wired for ballistic table No need for OS Early 1950’s General-purposed computers were built Only single user serviced at a time User signed up for time slot, then had exclusive use of the computer of the computer Must load program into memory to overwrite old contents Inconvenient for users and waste for computer time No need for OS – 1 program, 1 memory space, minimal peripherals

History of Operating Systems Mid 1950’s: Batch processing was introduced Idea: combining multiple jobs into a single batch job Users submitted jobs on cards/tape to computer operator, operator combined multiple jobs into a single batch job and load into card/tape reader each user job would be executed in turn users received output after all jobs finished

History of Operating Systems Batch System (Cont.) This primitive OS in charge of executing the batch job was also called a resident monitor because it resided permanently in memory and it monitored the execution of each job in succession. When it started a job, it handed over the control of the computer to the job, regained control only when the job terminated, then started the next one It has the following parts: Control card interpreter, to read and carry out card instructions Loader, to load system programs and applications into memory Device drivers, to control peripheral devices Memory layout for Batch System

History of Operating Systems Batch System (Cont.) Advantages for Batch Systems It moved much of the setup work from the user to the computer It increased performance since could start a job as soon as previous job finished Disadvantages for Batch Systems Turn-around time could be large from user standpoint It’s more difficult to debug program Due to the lack of a protection scheme, one batch job could affect pending jobs (e.g., read too many cards) A job could corrupt the monitor, thus affecting pending jobs A job could enter an infinite loop

History of Operating Systems Early 1960’s: Multiprogramming IBM OS/360 Background: memory became cheaper We could load multiply users programs in memory simultaneously In contrast to batch, we partition the memory OS could switch jobs when a job became idle since each job had its own memory partition, minimal overhead involved in switching Typical setup: Users submitted jobs to computer operator Jobs were loaded into separate memory partitions Computer would begin executing first job During idle period, could switch to another job User could receive output as soon as their job terminated memory layout for a multi- programming system

History of Operating Systems Mid 1960’s: Timesharing First timesharing OS: CTSS, followed by UNIX Timesharing (time-slicing) was the natural extension of multiprogramming, it serves multiple jobs "simultaneously" by automatically switching between jobs frequently (fractions of sec), to each user, appearance of sole use Typical setup: Multiple users connected via remote terminals Each user could interact using a command-line interface Each user would see results in real-time – job might require numerous time slices to complete, but fast enough to be unnoticeable

History of Operating Systems Late 1970’s: Desktop Systems Personal computers became powerful and affordable enough for a single user to use ( and waste). Typical Setup: Single user worked at dedicated machine Most of the peripherals were directly connected Early PC's utilized a command-line interface CP/M (1977), MS-DOS (1981) Graphical User Interface (GUI) was introduced by Macintosh Mac-OS (1984), Windows (1985)

New Demands Multiprocessor systems (parallel systems) more than one processor in close communication, share bus and clock, other resources can increase throughput, save on shared resources, provide greater reliability symmetric multiprocessing (SMP): each CPU runs a copy of the OS, can communicate, most modern OS provide support for SMP asymmetric multiprocessing: master CPU assigns specific tasks to slave CPUs, more common in large systems with specialized hardware Distributed systems distribute the computation among several processors, each with its own memory & resources processors communicate via communications lines, e.g., high- speed buses or phone lines, cables similar benefits as multiprocessor, but generally simpler, cheaper, more scaleable (but slower?) may be structured as client/server or peer-peer, LAN or WAN

New Demands Clustered systems multiple systems share storage and are closely linked via LAN networking symmetric clustering: all systems run applications simultaneously, monitor each other asymmetric clustering: one machine runs, other monitors & waits in stand-by mode Real-time systems some systems impose well-defined, fixed-time constraints e.g., control for scientific experiments, medical imaging systems, industrial control systems, … hard real-time: critical tasks must be completed in specified time: secondary storage limited or absent, data stored in short term memory or ROM not compatible with timesharing soft real-time: critical tasks are given priority over other tasks, but no guarantees: limited utility in industrial control of robotics useful in apps (multimedia, VR) requiring advanced OS features Handheld systems OS functionality is migrating to PDAs, cellular phones issues: limited memory, slow processors, wireless transfer, small display screens

The Fundamental Functions Process Management File Management Memory Management Input / Output Networking Utility Services