Introduction. Why Study OS? Understand model of operation –Easier to see how to use the system –Enables you to write efficient code Learn to design an.

Slides:



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

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
Slide 1-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 1.
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Chapter 3 Overview of Operating Systems Copyright © 2008.
Slide 1-1 Computer Systems II Gordon College Operating System Overview.
1/16/2008CSCI 315 Operating Systems Design1 Introduction Notice: The slides for this lecture have been largely based on those accompanying the textbook.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 Operating System Organization.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Operating 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.
Computer Organization Review and OS Introduction CS550 Operating Systems.
 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.
Operating systems CHAPTER 7.
Slide 1-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 1.
Lecture By : Rupinder Kaur Lect. IT SRS Govt. Polytechnic college Ludhiana Topic : Overview of Operating System.
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) [ 原书信息 ] 【原出版社】
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:
SYSTEM SOFTWARE Prepared by: Mrs. Careene McCallum-Rodney.
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.
Operating System 2 Overview. OPERATING SYSTEM OBJECTIVES AND FUNCTIONS.
Chapter 1: Introduction and History  Where does the operating system fit in a computing system?  What does the operating system achieve?  What are the.
INFORMATION SYSTEM-SOFTWARE Topic: OPERATING SYSTEM CONCEPTS.
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.
An operating system is the software that makes everything in the computer work together smoothly and efficiently. What is an Operating System?
Lecture 1: Network Operating Systems (NOS) An Introduction.
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.
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.
Chapter 2 Operating System Overview Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
CMPS Operating Systems Prof. Scott Brandt Computer Science Department University of California, Santa Cruz.
Chapter 1: Introduction
Operating System 2 Overview
Chapter 1: Introduction
Chapter 1: Introduction
Introduction to Operating System (OS)
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Introduction.
Chapter 1: Introduction
Language Processors Application Domain – ideas concerning the behavior of a software. Execution Domain – Ideas implemented in Computer System. Semantic.
Operating System 2 Overview
Chapter 1: Introduction
Chapter 1: Introduction
Operating Systems: A Modern Perspective, Chapter 3
Chapter 1: Introduction
Introduction.
Operating Systems: A Modern Perspective, Chapter 1
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.
Operating System 2 Overview
Chapter 1: Introduction
Chapter 1: Introduction
Introduction and History
Presentation transcript:

Introduction

Why Study OS? 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 overhead of real work Application programs have the real value to person who buys the computer

System Software (“Middleware”) Independent of applications, but common to all Examples –C library functions –A window system –A database management system –Resource management functions

Purpose of an OS (What is Resource Management?) Process: An executing program Resource: Anything that is needed for a process to run –Memory –Space on a disk –The CPU “An OS creates resource abstractions” “An OS manages resource sharing”

Resource Abstraction load(block, length, device); seek(device, 236); out(device, 9) write(char *block, int len, int device, int track, int sector) {... load(block, length, device); seek(device, 236); out(device, 9);... } write(char *block, int len, int device,int addr);fprintf(fileID, “%d”, datum);

Abstract Resources Hardware Resources OS OS Resources (OS Interface) Middleware Abstract Resources (API) Application User Interface

Resource Sharing Space- vs time-multiplexed sharing To control sharing, must be able to isolate resources OS usually provides mechanism to isolate, then selectively allows sharing –How to isolate resources –How to be sure that sharing is acceptable Concurrency

Multiprogramming Technique for sharing the CPU among runnable processes –Process may be blocked on I/O –Process may be blocked waiting for other resource, including the CPU While one process is blocked, another might be able to run Multiprogramming OS accomplishes CPU sharing “automatically” – scheduling Reduces time to run all processes

How Multiprogramming Works Process 1 Process 2 Process 3 Process 4 Space-multiplexed Memory Time-multiplexed CPU

OS Strategies Batch processing Timesharing Personal computer & workstations Process control & real-time Network Distributed Small computers

Batch Processing Uses multiprogramming Job (file of OS commands) prepared offline Batch of jobs given to OS at one time OS processes jobs one-after-the-other No human-computer interaction OS optimizes resource utilization Batch processing (as an option) still used today

Timesharing Uses multiprogramming Support interactive computing model (Illusion of multiple consoles) Different scheduling & memory allocation strategies than batch Tends to propagate processes Considerable attention to resource isolation (security & protection) Tend to optimize response time

Personal Computers CPU sharing among one person’s processes Power of computing for personal tasks –Graphics –Multimedia Trend toward very small OS OS focus on resource abstraction Rapidly evolved to “personal multitasking” systems

Process Control & Real-Time Computer is dedicated to a single purpose Classic embedded system Must respond to external stimuli in fixed time Continuous media popularizing real-time techniques An area of growing interest

Networks LAN (Local Area Network) evolution 3Mbps (1975)  10 Mbps (1980)  100 Mbps (1990)  1 Gbps (2000) High speed communication means new way to do computing –Shared files –Shared memory –Shared procedures/objects –???

Distributed OS Wave of the future Distributed OS App Multiple Computers connected by a Network

Small Computers PDAs, STBs, embedded systems became commercially significant Have an OS, but –Not general purpose –Limited hardware resources –Different kinds of devices Touch screen, no keyboard Graffiti –Evolving & leading to new class of Oses PalmOS, Pocket PC (WinCE), VxWorks, …

Evolution of Modern OS Modern OS Batch Timesharing PC & Wkstation Network OS Real-Time Memory Mgmt Protection Scheduling Files Devices Memory Mgmt Protection Scheduling System software Human-Computer Interface Client-Server Model Protocols Scheduling Small Computer Network storage, Resource management

Examples of Modern OS UNIX variants (e.g. Linux) -- have evolved since 1970 Windows NT/2K -- has evolved since 1989 (much more modern than UNIX –Win2K = WinNT, V5 Research OSes – still evolving … Small computer OSes – still evolving … Book provides Linux examples This course will use Windows NT as the main example

Microsoft Windows NT Heavily window-oriented Foundation behavior is windows- independent –We will focus on the foundation –Use only the “MS-DOS prompt” -- cmd.exe OS API NT Kernel NT User Interface and Graphics NT Executive

Windows NT (cont) OS API has text orientation (like UNIX) Object-oriented implementation Heavy use of threads Broad spectrum of synchronization tools Modern I/O system