Lecture Topics: 11/1 Hand back midterms

Slides:



Advertisements
Similar presentations
Operating System.
Advertisements

CS 345 Computer System Overview
Lecture 1: History of Operating System
Operating Systems CS451 Brian Bershad
Introduction  What is an Operating System  What Operating Systems Do  How is it filling our life 1-1 Lecture 1.
 Introduction Introduction  Definition of Operating System Definition of Operating System  Abstract View of OperatingSystem Abstract View of OperatingSystem.
Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.
Operating System Overview
Operating System Overview Dr. Sunny Jeong & Mr. M.H. Park Operating Systems: Internals and Design Principles, 6/E William Stallings.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
1 COMPSCI 110 Operating Systems Who - Introductions How - Policies and Administrative Details Why - Objectives and Expectations What - Our Topic: Operating.
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
Thanks to Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction n What is an Operating System? n Mainframe Systems.
Chapter 1. Introduction What is an Operating System? Mainframe Systems
 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.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 1 Introduction Read:
Composition and Evolution of Operating Systems Introduction to Operating Systems: Module 2.
INTRODUCTION SOFTWARE HARDWARE DIFFERENCE BETWEEN THE S/W AND H/W.
المحاضرة الاولى Operating Systems. The general objectives of this decision explain the concepts and the importance of operating systems and development.
Invitation to Computer Science 5 th Edition Chapter 6 An Introduction to System Software and Virtual Machine s.
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
Chapter 7 Operating Systems. Define the purpose and functions of an operating system. Understand the components of an operating system. Understand the.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Computers Operating System Essentials. Operating Systems PROGRAM HARDWARE OPERATING SYSTEM.
Chapter 1: Introduction and History  Where does the operating system fit in a computing system?  What does the operating system achieve?  What are the.
Operating System Principles And Multitasking
CIS250 OPERATING SYSTEMS Chapter One Introduction.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
Operating Systems.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Chapter 7 Operating Systems Foundations of Computer Science  Cengage Learning 1.
1.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 1: Introduction What Operating Systems Do √ Computer-System Organization.
Introduction to Operating Systems Concepts
Applied Operating System Concepts
Operating System.
COMPSCI 110 Operating Systems
THE OPERATION SYSTEM The need for an operating system
Course Introduction CSSE 332 Operating Systems
Introduction to Operating System (OS)
TYPES OFF OPERATING SYSTEM
Chapter 1: Introduction
Quick Introduction to OS
Chapter 1: Introduction
חוברת שקפים להרצאות של ד"ר יאיר ויסמן מבוססת על אתר האינטרנט:
Operating Systems.
Unit 1: Introduction to Operating System
Introduction to Operating Systems
Operating Systems CSE451 Winter 2000
Operating Systems : Overview
Introduction to Operating Systems
CSE 451: Operating Systems Winter 2003 Lecture 1 Course Introduction
Operating Systems : Overview
Chapter 2: Operating-System Structures
Subject Name: Operating System Concepts Subject Number:
Operating Systems CSE451 Spring 2000
Introduction and History
Operating Systems CS451 Spring 1998
Operating Systems CS451 Fall 1998
Introduction and History
Operating System 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.
CSE 451: Operating Systems Autumn 2003 Lecture 1 Course Introduction
Chapter 2: Operating-System Structures
Operating System Overview
Chapter 1: Introduction
Introduction and History
Operating System Introduction
Introduction and Overview
Presentation transcript:

Lecture Topics: 11/1 Hand back midterms Results of surveys from Wednesday Introduction to Operating Systems What is an OS? Issues in operating systems A little history

What is an Operating System? Low-level software Makes using the computer convenient does a lot of the dirty work for you hides details about the system behind a clean interface Makes using the computer efficient expertly manages and allocates resources These goals are often contradictory

The Bigger Picture (Again) high level language program Prog. lang. interface (C, Java) machine program OS interface (system calls) OS ISA interface (e.g. MIPS, Alpha, 80x86) hardware

Views of the OS The OS is like a government The OS is a controller Provides no useful service on its own Instead, provides an environment in which to do useful work Other programs have to abide by its decrees The OS is a controller Controls the I/O devices and user programs Prevents and handles errors

Views of the OS, cont. The OS is a resource allocator A system has many resources: CPU time, memory, disk space, access to I/O devices The OS is in charge of allocating these resources Many possible policies: allocate fairly; give more to those who pay more; give it all to me A well-designed OS is merely the mechanism for allocation; policy is configurable

What makes up the OS? “All the code you didn’t write” Just the kernel this view includes all system libraries, compilers, assemblers all the software shipped with the machine (and maybe more) Just the kernel the program that starts running at boot time, manages all user programs, and runs until shutdown This issue goes to court; controversial

Issues in Operating Systems structure - how is the OS organized? sharing - how are resources shared among users? naming - how are resources named by users or programs? protection - how is one user/program protected from another? security - how is the flow of information restricted?

More Issues in OS performance - why is it so slow? reliability and fault tolerance - how are failures prevented and dealt with? extensibility - how are new features added? communication - how is information exchanged? concurrency - how are parallel activities created and controlled?

Yet More Issues in OS scale and growth - what happens as demands or resources increase? persistence - how to make data last longer than programs compatibility - can we ever do anything new? distribution - can the components of the system be geographically separated? accounting - who pays the bills? how do we control resource usage?

In Olden Times... The first operating systems were called batch systems OS was stored in part of memory Programs were “written” on punch cards One at a time, programs were loaded from cards into memory and run Each program came with control cards telling the OS what to do An optimization: read the next program into memory while this one runs

Multiprogramming Goal: increase utilization of the processor Motivation: decrease in memory prices Keep multiple jobs loaded in memory While one program waits for I/O, run another one for a while

Timesharing Goal: allow multiple users/programs to share a single system concurrently Optimize response time Based on time-slicing - divide the CPU equally among the users For the first time, users could actively view, edit, and debug MIT Multics system (mid 1960’s) was the first large timesharing system

Operating Systems Topics Allow multiple users, each running multiple programs 11/3 : processes Each program can have multiple threads of control 11/3 & 11/6 : multithreading Programs can make requests of the operating system 11/6 : system calls

Topics, cont. With multiple threads, new issues arise 11/6 & 11/8 : synchronization 11/13 : deadlock and scheduling Making 128MB of memory look like 4GB 11/15 & 11/17 : virtual memory Storing and managing your files 11/20 & 11/22 : file systems Communication with other computers 11/27, 11/29 & 11/1 : networks

Which OS? The OS subsystems we’ll study are common to all modern OSs Windows NT, MacOS, Linux, Solaris, you name it (not DOS) Sometimes I’ll present details These details will probably be based on UNIX or NT Advantages to UNIX: your textbook’s foundation, source code available Advantages of NT: it’s what most people use

Real-Time Operating Systems Specialized operations: subway systems, flight control, factories, nuclear power plants, lots more OS must guarantee response to physical events in a fixed time interval Problem is to schedule all activities in order to meet all of the critical requirements Basic approach: over-capacitize

Parallel Operating Systems Support parallel applications wishing to get speedup of computationally complex tasks Needs basic primitives for dividing one task into multiple parallel activities Supports efficient communication between those activities Supports synchronization of activities to coordinate sharing of information

Distributed Operating Systems Distributed systems facilitate use of geographically distributed resources Supports communication between parts of a job or different jobs Sharing of distributed resources, hardware, and software to improve utilization speedup through parallelism improve reliability