WEEK 1 COURSE INTRODUCTION INTRODUCTION TO OPERATING SYSTEMS OPERATING SYSTEM STRUCTURES Operating Systems CS3013 / CS502.

Slides:



Advertisements
Similar presentations
Chap 2 System Structures.
Advertisements

Operating System Introduction (Ch 1). Topics What is an OS? OS History OS Concepts OS Structures.
Operating System Introduction. Topics What is an OS? OS History OS Concepts OS Structures.
Chapter 2: Operating-System Structures
Wednesday, June 07, 2006 “Unix is user friendly … it’s just picky about it’s friends”. - Anonymous.
Operating System Structure. Announcements Make sure you are registered for CS 415 First CS 415 project is up –Initial design documents due next Friday,
2: OS Structures 1 Jerry Breecher OPERATING SYSTEMS STRUCTURES.
© 2004, D. J. Foreman 1 CS350 Operating Systems. © 2004, D. J. Foreman 2 Administrivia  Assignments ■ Homework on most chapters ■ Approximately 8 lab.
Operating System I Introduction.
Operating Systems - Introduction S H Srinivasan
Operating System Introduction (Ch 1). Topics What is an OS? OS History OS Concepts OS Structures.
Computer Forensics Principles and Practices by Volonino, Anzaldua, and Godwin Chapter 6: Operating Systems and Data Transmission Basics for Digital Investigations.
CS444/CS544 Operating Systems Introduction 1/12/2007 Prof. Searleman
Operating Systems Introduction. Topics F What is an OS? F OS History F OS Concepts F OS Structures.
Operating System Introduction (Ch , )
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Operating System Introduction. Topics F What is an OS? F OS History F OS Concepts F OS Structures.
Topic 1 – What is an OS? 1 CS502 Spring 2006 What is an Operating System? Characteristics –Large, complex set of programs –Long-lived, evolutionary –Worked.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 2: Operating-System Structures Modified from the text book.
Operating System Introduction. Topics What is an OS? OS History OS Concepts OS Structures.
Operating Systems.
The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 145 Operating Systems Introduction to UNIX/Linux.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Module 2 Part I Introduction To Windows Operating Systems Intro & History Introduction To Windows Operating Systems Intro & History.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
Silberschatz, Galvin and Gagne  Applied Operating System Concepts Chapter 3: Operating-System Structures System Components OS Services System.
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
Operating Systems Lecture 4. Agenda for Today Review of previous lecture Operating system structures Operating system design and implementation UNIX/Linux.
ICOM Noack Operating Systems - Administrivia Prontuario - Please time-share and ask questions Info is in my homepage amadeus/~noack/ Make bookmark.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 14, 2005 Operating System.
OS provide a user-friendly environment and manage resources of the computer system. Operating systems manage: –Processes –Memory –Storage –I/O subsystem.
Introduction to Operating Systems Chapter 1. cs431 -cotter2 Lecture Objectives Understand the relationship between computing hardware, operating system,
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 2: Operating-System Structures Operating.
MODERN OPERATING SYSTEMS Chapter 1 Introduction Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved
2.1 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 2: Operating-System Structures Overview of topics covered Operating System Services.
CS 444 Introduction to Operating Systems
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: Operating-System Structures.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 2: Operating-System Structures.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3.
Operating System What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. An operating.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services.
Operating System Introduction. Topics What is an OS? OS History OS Concepts OS Structures.
1 Operating Systems: Principles and Practice Cpr E 308.
OS, , Part I Operating - System Structures Department of Computer Engineering, PSUWannarat Suntiamorntut.
Module 2 Part I Introduction To Windows Operating Systems Intro & History Introduction To Windows Operating Systems Intro & History.
Overview of Operating Systems Introduction to Operating Systems: Module 0.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: Operating-System Structures.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
CENG334 Introduction to Operating Systems 1 Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services.
System Programming Basics Cha#2 H.M.Bilal. Operating Systems An operating system is the software on a computer that manages the way different programs.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Introduction to Operating Systems Concepts
Computer System Structures
OPERATING SYSTEM CONCEPTS AND PRACTISE
Operating System & Application Software
Operating Systems Georgios Varsamopoulos
Chapter 3: Windows7 Part 1.
Lecture Note 0: Course Introduction
Chapter 2: System Structures
Operating Systems Lecture 4.
Lecture Note 0: Course Introduction
Outline Operating System Organization Operating System Examples
OPERATING SYSTEMS STRUCTURES
System calls….. C-program->POSIX call
Presentation transcript:

WEEK 1 COURSE INTRODUCTION INTRODUCTION TO OPERATING SYSTEMS OPERATING SYSTEM STRUCTURES Operating Systems CS3013 / CS502

Agenda Course Introduction Introduction to Operating System Operating System Concepts Operating System Structures 2

Course Information Website  6:00-9:50pm class on Mondays  7 weeks for CS3013, 10 weeks for CS502 Office Hours  TBD Textbook  Silberschatz, Galvin, and Gagne, Operating Systems Concepts, Seventh Edition, John Wiley and Sons,

Why an Operating Systems Course? 4 WPI CS requirement  “Core area” for both undergrads and grads Understanding of inner workings of “systems” Combines CS concepts  Algorithms, languages, data structures, hardware  System design with tradeoffs Better use of the computer

Prerequisites 5 C/C++ Programming Data Structures Computer Organization Unix/Linux user experience and access

Homework, Projects and Exams 6 Homework  Designed to get you ready for exam  Review ideas taught in class Projects  2 for CS3013 and 3 for CS502  Implementation in Unix environment Exams  2 for CS3013 and 3 for CS502  Closed book, Closed notes

Grading 7  Homework – 10%  Projects – 30%  Exams – 60% WPI Academic Honesty Policy  Late Policy – 25% per day  Contact Professor for extenuating circumstances

8 Questions?

Professor Background Choong-Soo Lee  PhD Candidate in Computer Science Department Interest in Systems Area  Operating Systems  Network Performance  Multimedia Performance 9

Student Background Basic Information  Name  Class (freshman, sophomore, …)  Major (CS, EE, …) C Experience CS Courses Taken Linux Experience Operating System(s) 10

Agenda Course Introduction Introduction to Operating System Operating System Concepts Operating System Structures 11

Objectives 12 Identify operating systems Explain the major OS issues Describe the history of OS Explain OS concepts Identify services provided by OS Describe different types of OS structures

Class Discussion 13 What operating systems do you know? What is an operating system? What do you like/dislike about OS(es) you know?

Components of a Computer System 14 Program Interface User Programs OS Interface Operating System Humans Hardware Interface/ Privileged Instructions CPU/Memory/Disk/etc

Functions of Operating System 15 Beautification Principle  Hide the details of the physical machine and provide a more pleasant virtual machine Resource Principle  Allocate resources to processes

Major OS Issues 16 Structure Sharing Naming Security Protection Performance Reliability Extensibility Concurrency Scale Persistence Communication Distribution Accounting

OS History 17 Single program execution  No OS  Assembly or lower level language Batch (Spooling)  Introduced notion of interrupts Multiprogramming  Illusion of executing several programs simultaneously  Introduced notion of process Distributed and Network Operating Systems Specialized Operating Systems

OS History - Unix and Linux 18 Unix  Descendant of MULTICS  First “C” version in 1973  Posix (1981) defines standard Unix system calls Linux  Open Source  1991, v.01 by Linus Torvalds for processor  Proper Unix process support

OS History – Linux , v1.0  Enhanced file system  More devices, dynamic kernel modules 1995, v1.2  More hardware support 1996, v2.0  Multiple architectures, multiple processors  Threads, memory management Today, v2.6  0.64% by Net Applications  5.2 million source lines of code (according to wikipedia)

OS History - Windows , v1  Win32 API 1990, v3.1  Server and Workstation versions 1996, v4 (Windows 95)  Win95 Interface  Graphics to Kernel

OS History - Windows , v5 (Windows 2000)  Micro-kernel  Multi-user (with terminal services)  4 versions 2005, Windows XP  4 versions: Home, Professional, Media Center, Tablet 2007, Windows Vista  5 versions: Ultimate, Home Premium, Home Basic, Business, Enterprise 2009?, Windows 7

OS History - Windows 22 Today  91.65% by Net Applications  Aiming at robust, server market  Intel x86 only  Lines of code (according to wikipedia)  Windows NT 4.0 : million  Windows 2000 : more than 29 million  Windows XP : 40 million  Windows Vista Beta 2 : 50 million

Objectives 23 Identify operating systems Explain the major OS issues Describe the history of OS Explain OS concepts Identify services provided by OS Describe different types of OS structures

Agenda Course Introduction Introduction to Operating System Operating System Concepts Operating System Structures 24

Operating System Concepts 25 Processes Memory Management Input/Output Files System Calls

Process 26 Program vs. Process  Program : a set of data and code that manipulate it  Process : a program in execution States of a Process  Running, Waiting, Ready, etc. Process “Tree”

Memory Management 27 One chunk of physical memory Shared by all processes 32 bit architecture  2 32 bytes  4GB Process 1 Process 2 Process 3 Process 4 ???

Input/Output 28 OS manages resources including other devices Significant fraction of code Want to be simple to use System Bus CPU Disk Controller Printer Controller Memory

Files 29 Store data on disk Directory “Tree” Working Directory Protection bits Abstraction of I/O device Pipe root cs1101 classesjobs microsoftcisco

System Calls 30 Way processes communicate with OS OS specific POSIX (1980s)  Portable Operating System Interface

Shells 31 User’s interface to OS Simple commands  “cd”, “cat”, “top” Modifiers  ‘&’, ‘|’, ‘>’

Agenda Course Introduction Introduction to Operating System Operating System Concepts Operating System Structures 32

Services Provided by OS 33 User Interface Program Execution I/O Operations File-system Manipulation Communications Error Detection Resource Allocation Accounting Protection and Security

User Interface 34 Command Interpreter  Included in the kernel, or  External Program  Shells bash, csh, tcsh, etc.  Provides some basic functionality

User Interface 35 Graphical User Interface  1970s, Xerox PARC Research Facility  1980s, Popular by Apple Macintosh  Windows 1.0  Unix Desktop Environments

User Interface 36 Graphical User Interface

Simple Systems 37 Started small and grew, no hardware support Example  MS-DOS, Embedded Systems MS-DOS Drivers ROM - BIOS Device Drivers Resident System Programming Application Programming

Simple Systems 38 Example  Linux  With Modules Applications, User Space KernelTerminalDeviceMemorypppcdromSystem Libraries

Abstract layers Can only talk to lower layers Layer N User interface Layer 1 Layered Systems 39 Layer 0 Hardware

Microkernel 40 Minimal Functions in Microkernel Provide communication facility between applications and services Example  Mach  Tru64 Unix, QNX Kernel User ProcessFile ServerMemory Server

Virtual Machine 41 Abstract the hardware of a single computer into several different execution environments Example:  IBM VM/370  VMWare Hardware Virtual Machine Operating System Process

Virtual Machine 42 Example  Java Virtual Machine Hardware Operating System Java VMProcess Java OS Java Program

Objectives 43 Identify operating systems Explain the major OS issues Describe the history of OS Explain OS concepts Identify services provided by OS Describe different types of OS structures