Operating System Introduction. Topics F What is an OS? F OS History F OS Concepts F OS Structures.

Slides:



Advertisements
Similar presentations
EEE 435 Principles of Operating Systems Operating System Concepts (Modern Operating Systems 1.5)
Advertisements

Introduction CSCI 444/544 Operating Systems Fall 2008.
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.
Course Overview Introduction Computer System Structures
Operating System Structure. Announcements Make sure you are registered for CS 415 First CS 415 project is up –Initial design documents due next Friday,
© 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 BTEC IT Practitioners.
Operating Systems - Introduction S H Srinivasan
Operating System Introduction (Ch 1). Topics What is an OS? OS History OS Concepts OS Structures.
Common System Components
CENG334 Introduction to Operating Systems Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
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.
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.
OS Winter’03 Introduction (cont.) -History Operating Systems.
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.
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.
Chapter 8 Windows Outline Programming Windows 2000 System structure Processes and threads in Windows 2000 Memory management The Windows 2000 file.
OPERATING SYSTEMS Prof. Sujata Rao Lesson 3. Agenda 1. What is an operating system? 2. How have operating systems evolved? 3. Functions of Operating System.
Chapter 10 – UNIX. History In late 1960s, two employees of Bell Labs (Ken Thompson & Dennis Ritchie) designed a new operating system to overcome the constraints.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
 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.
CS 1308 Computer Literacy and the Internet. Introduction  Von Neumann computer  “Naked machine”  Hardware without any helpful user-oriented features.
Operating Systems Lecture 4. Agenda for Today Review of previous lecture Operating system structures Operating system design and implementation UNIX/Linux.
WEEK 1 COURSE INTRODUCTION INTRODUCTION TO OPERATING SYSTEMS OPERATING SYSTEM STRUCTURES Operating Systems CS3013 / CS502.
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.
Introduction to Operating Systems Chapter 1. cs431 -cotter2 Lecture Objectives Understand the relationship between computing hardware, operating system,
1 Operating System Overview. 2 Today’s Objectives Explain the main purpose of operating systems and describe milestones of OS evolution Explain fundamental.
2001 Networking Operating Systems (CO32010) 1. Operating Systems 2. Processes and scheduling 3.
Chapter 1 Introduction 1.1 What is an operating system
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
Windows XP. History Windows XP is based on the NT kernel developed in 1988 Windows XP is based on the NT kernel developed in 1988 XP was originally sold.
MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 1 Introduction Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc.
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.
OSes: 3. OS Structs 1 Operating Systems v Objectives –summarise OSes from several perspectives Certificate Program in Software Development CSE-TC and CSIM,
Processes Introduction to Operating Systems: Module 3.
INFORMATION SYSTEM-SOFTWARE Topic: OPERATING SYSTEM CONCEPTS.
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.
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.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
UNIX & Windows NT Name: Jing Bai ID: Date:8/28/00.
Introduction Why are virtual machines interesting?
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:
Operating Systems.
2.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition System Programs (p73) System programs provide a convenient environment.
Operating Systems (Credit to: Rick Graziani of Cabrillo College)
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Introduction to Operating Systems Concepts
Computer System Structures
Unit OS2: Operating System Principles
Operating Systems Georgios Varsamopoulos
Chapter 3: Windows7 Part 1.
Operating Systems Lecture 4.
Outline Chapter 2 (cont) OS Design OS structure
Outline Operating System Organization Operating System Examples
System calls….. C-program->POSIX call
Lecture Topics: 11/1 Hand back midterms
Presentation transcript:

Operating System Introduction

Topics F What is an OS? F OS History F OS Concepts F OS Structures

Let’s Get Started! F What are some OSes you know? –Guess if you are not sure F Pick an OS you know: –What are some things you like about it? –What are some things you don’t like about it?

What is an Operating System? Applications System Programs Hardware Physical Devices Microprogramming Machine Language Operating System CompilersEditorsShell Bank ProgramReservationGame

What is an Operating System? F An Extended Machine (Top-down) –Transforming - new resource u ex: Win98 device manager F A Resource Manager (Bottom-up) –Multiplexing - illusion of several resources u ex: browse the web AND read –Scheduling - deciding who gets what when u ex: compile fast OR edit fast F Why have an OS? –Convenient and Efficient u Programming hardware difficult u Idle hardware “wasteful”

Where in the Book are we? F Ch 1-2 by Friday –Reading details on course Web page –Ch 1, brief, alternate viewpoint –Ch 2, computer architecture review F Ch 3 by Monday –Ch 3, system structure F Timeline on Web page –Proj 0 due by Thursday –Get a group!

Questions F What are two functions of an OS? F What “layer” is above the OS? F What “layer” is below the OS?

OS History F Helps understand key requirements –Not one brilliant design u (despite what Gates or Torvalds might say) –Fixed previous problems, added new ones –Tradeoffs F Closely tied to: –Hardware history –User history

Hardware History F Comments? Change!

OS History F Supplement to book F My version is a brief narrative

Hardware Very Expensive Humans Cheap F Single program execution (no OS) F Hardwire “programming” F Programming slow, not “offline”! –Punch cards

Hardware Very Expensive Humans Cheap F Punch cards F Fortran or assembler F Waste computer time walking! –Batch programs on tape

Hardware Very Expensive Humans Cheap F Programs read in from tape F Two applications: –Scientific –Data processing F CPU idle during I/O! –Multiprogramming with partitions –Spooling as jobs finished

Hardware is Cheap Humans Expensive F Turn around time 1/2 day F Programmer time wasted! “Sigh. In the good old days….” –Time-sharing –Multics (sorta) –New problems u response time u thrashing u file-systems

Hardware Very Cheap Humans Very Expensive F Personal computers –Network operating systems –Distributed operating systems F OSes today –small == 1000K (15 pages, 5 programmer years) –large == 10,000K (150 pages, 500 programmer years) (longer than a semester :-) ) –need to evolve quickly u hardware upgrades, new user services, bug fixes –efficient and/or modular kernels

Windows NT History F 1988, v1 –split from joint work with IBM OS/2 –Win32 API F 1990, v3.1 –Server and Workstation versions F 1997(?), v4 –Win95 interface –Graphics to kernel –More NT licenses sold than all Unix combined

Windows NT Today F Microsoft has 80% to 90% of OS market –mostly PC’s F 800 MHz Intel Pentium F NT aiming at robust, server market –network, web and database F Platforms –Intel Alpha –MIPS R4000- PowerPC F (Win2000 merges Win98 and WinNT)

Linux History F Open Source –Release Early, Release Often, Delegate –“The Cathedral or the Baazar” F Bday 1991, Linus Torvalds, processor –v.01, limited devices, no networking, –with proper Unix process support! F 1994, v1.0 –networking (Internet) –enhanced file system (over Minix) –many devices, dynamic kernel modules

Linux History F Development convention –Odd numbered minor versions “development” –Even numbered minor versions “stable” F 1995, v1.2 –more hardware –8086 mode (DOS emulation) included –Sparc, Alpha, Mips support started F 1996, v2.0 –multiple architectures, multiple processors –threads, memory management ….

Linux Today F v2.2 (v in Fossil lab) F 1,000,000 lines of code F 7-10 million users F Estimated growth 25%/year through 2003 –all others, 10% combined

Questions F When is it appropriate for OS to “waste” resources? F How might the growth in networks influence OS design?

Outline F Operating System Concepts  –Processes –Files –System Calls –Shells F Operating System Structure –Simple Systems –Virtual Machines –Micro Kernels

The Process F Program in execution F Running -> Suspended -> Running F Example: the Shell F Process “Tree” F Signals F UID (GID) F (Two weeks) login csh gccemacs preln

Files F Store data on disk F Directory “Tree” F Working directory F Protection bits –9 in Unix: rwx bits, ex: rwxr-x--x F Abstraction of I/O device –terminal, printer, network, modem F Pipe F (1-2 Days) root bobsue wwwfun 3013

System Calls F Way processes communicate with OS F example: write(file, string, size) F OS specific! F POSIX (1980s) –Portable Operating System (unIX-ish) F (Some of the projects)

Shells F (Project 0 uses a shell to execute system programs, that then execute system calls) F User’s interface to OS F Simple commands “ cd ”, “ cat ”, “ top ” F Modifiers ‘&’, ‘|’, ‘>‘

Review F OS History  –user change and hardware change F OS Concepts  –processes, files, system call, shell F OS Structure 

Questions F When is it appropriate for an OS to “waste” resources? F What is a system call? F What is a shell?

Outline F Operating System Structure  –Simple Systems –Virtual Machines –Micro Kernels

Simple Systems F Started small and grew, no hardware support F MS-DOS F Protection! Application Resident system program Device drivers ROM BIOS device drivers

Simple Systems  Unix (see /vmunix ) F “The Big Mess” F Some move towards a more modular kernel Applications Signals, File Sys, Swapping, Scheduling...TerminalDeviceMemory

Virtual Machines F Complete protection F OS development, emulation F Performance! Process Operating Sys Virtual Machine Hardware Operating Sys Process F IBM VM/370

Virtual Machines F Java Virtual Machine Java OS Java VM Operating System Hardware Process Java program F Platform independence!

Micro Kernel F Client-Server F Good performance F Adaptable to distributed OS F Robust F Careful about mechanism! F Mach User ProcessFile ServerMem Server Kernel

WinNT Structure Scheduler Memory Manager IPC Security File System Kernel Space Executive / Privileged Space User Level Space I/O Netscape Win32 Subsystem “Pseudo- Micro Kernel”

Linux Structure F “Simple” system Applications, User Space KernelTerminalDeviceMemorypppcdrom F Loadable Modules –done after “boot” –allow 3rd party vendors –easier for development System Libraries

Questions F Name 3 operating system structures F Give one advantage of each F Give one disadvantage of each

True or False F Unix is a “simple structure” OS F Micro Kernels are faster than other OSes F Virtual Machines are faster than other OSes