Docsity

Operating Systems I: History, Concepts, and Processes, Summaries of Operating Systems

Partial preview of the text

Download Operating Systems I: History, Concepts, and Processes and more Summaries Operating Systems in PDF only on Docsity!

Operating Systems I - Summary

Beuth Hochschule Summer Term 2014

Intro & History

Operating Systems I | Intro, History PT/FF 201 4

The First Computer(s)

  • 1944: Harvard Mark I developed in partnership between Harvard and IBM (ballistic firing tables) - First programmable digital computer made in the U.S. - Constructed of switches, relays, rotating shafts, clutches - Grace Hopper found the first computer bug, invented the precessor of COBOL and the first compiler - 1941: Konrad Zuse completed the work on the Z - (^) First programmable electromechanical computer - (^) Punch film for program and data (lack of paper) - (^) Mapping of Boolean algebra to relays, developed independently from original Shannon work (C) computersciencelab.com

Operating Systems I | Intro, History PT/FF 201 4

Von Neumann Architecture

(C) Wikipedia

- 1946: ENIAC as first fully electronic computer in the U.S. - No program memory, re-wiring for each program

  • EDVAC : Revolutionary extension with a stored program computer concept by John von Neumann - Memory contains both the program and the data - Introduction of a general purpose computer concept

Operating Systems I | Intro, History PT/FF 201 4

Batch Processing

  • A job control language (JCL) operates the monitor application - Instructions about the compiler to use, data to work on etc. (Fortran prefix $) - Early version of system calls
  • Monitor needed to switch between itself and the application - Resident monitor parts always in memory - Demands on hardware: memory protection, timer, privileged instructions for I/O
  • User mode vs. monitor mode^ (,system mode‘, ,kernel mode‘, ,supervisor mode‘) (C) Stallings

Operating Systems I | Intro, History PT/FF 201 4

Multi-Programming

1/26/2006 CS 446/646 - Principles of Operating Systems - 1. Introduction 52 1.b Operating System History and Features Multiprogrammed batch systems job 1 job 2 job 3 (a) serial uniprogramming human overhead job 1 job 2 job 3 (b) batch uniprogramming job 1 job 3 job 1 I/O job 2 I/O job 2 I/O (b’) batch uniprogramming showing actual CPU usage and I/O wait time job 3 job 1 job 1 I/O job 2 I/O job 2 I/O

...... (c) multiprogramming Evolution of CPU utilization human operator’s setup (mount tape, etc.) human operator’s takedown (unmount)

... spooling

(C) CS446/

Operating Systems I | Intro, History PT/FF 201 4

Time Sharing

  • Users started to demand interaction with their program, e.g. for retry on errors
    • Perform multi-tasking, but act like the machine is solely used
  • Advent of time-sharing / preemptive multi-tasking systems
    • Goal: Minimize single user response time
    • Extension of multi-programming to multiple interactive (non-batch) jobs
    • Starting point for Unix operating systems in the 1960‘s
  • Preemptive multi-tasking became a single user demand in modern times
    • Leave application running while starting another one
  • Pure batch processing systems are still significant (TPM, SAP R/3, HPC)

Operating Systems I | Intro, History PT/FF 201 4

History of Modern Operating Systems

Operating SystemsOperating Systems EvolutionEvolution

55 60 65 70 75 IOCS DOS/360 OS/ TSO IBSYS CTSS CP/CM MULTICS UNIX CP/M RSX-11M RT- 28 75 80 85 90 95 00 03 DOS/VDSE VS VS/ESA MVS/ MVS/XA MVS/ES VM/ VM/XA VM/ESA SYSTEM III SYSTEM V SYSTEM V. UNIXV. AIX/ AIX SUN OS POSIX SOLARIS 2 4.1BSD 4.2BSD 4.3BSD 4.4BSD MACH OSF/ AIX/ESA XENIX (^) MS-DOS 1. CP/M DR/DOS OS/ WIN 3. WIN NT WIN 2000 WIN 9X WIN XP LINUX VMS 1. VMS 5. VMS 7. WIN 3. SOLARIS 10 LINUX 2. WIN Server 2003

Operating Systems I | Intro, History PT/FF 201 4

History of Windows [Lucovsky]

  • Initial team formed in November 1988
    • 6 former Digital developers, one Microsoft guy
    • Focus on secure, scalable SMP design for desktops and servers
    • Original schedule for 18 months, missed by 3 years
  • Goal setting
    • Portability: Initial focus on Intel i860, intentionally late focus on i
    • Reliability: Nothing should be able to crash the OS (promise fulfilled)
    • Extensibility and compatibility (DOS, OS/2, POSIX)
    • After all of the above - performance
  • NT 3.1 had 6-200 developers, NT 4.0 800 developers, Windows 2000 had 1400

Operating Systems I PT / FF 14

Computer Systems Today

Users Application Programs System Programs Operating System Firmware Hardware Control execution of programs Abstract from hardware

Hardware

Operating Systems I PT / FF 14

Hardware Basics

Operating Systems I PT / FF 14

Hardware Basics

  • Hyperthreading
    • Make a single processor appear to be two virtual processors by maintaining separate CPU states, while execution engine and caches are still shared - Also called Simultaneous multithreading (SMT)
    • Operating systems must consider them separately in scheduling (in Windows since XP) (C) Intel

Operating Systems I PT / FF 14

Hardware Basics

  • Parallelism
    • Inside the processor (instruction-level parallelism, multicore)
    • Through multiple processors in one machine (multiprocessing)
    • Through multiple machines (multicomputer) 20 !!!!!!!!!!!!!!!!!!!!!!!!!! "#$%&'()! !!!!!!!!!!!!!!!!!!! )#+(,,#)!"-.%! ! ! ! ! ! "#$%&'/'.#0/1! 203.0(! 4/,5! 4/,5! 4/,5! 4/,5! _!"#$% &"'"(()(#+% ,-#.'/0.*1-% 2.')"+%_ 6#3.+/1!! *)#+(,,#)! 6#3.+/1! *)#+(,,#)! "-.%!7&1'. 8 4-)(/9.03!:"74; ! <=$$(').+!7&1'. 8 )#+(,,.03!:<7; ! 7&1'.+#$%&'() ! ! ! ! ! ! "#$%&'/'.#0/1! 203.0(! 6#3.+/1! *)#+(,,#)! 6#3.+/1! *)#+(,,#)! *)#+(,,#)!"-.%!

! ! "#$%&'()! "-.%!7&1'. 8 )#+(,,.03!:"7; ! ! <.$&1'/0(#&,! 7&1'. 8 4-)(/9.03! :<74;! ?0,')&+'.#0 8 6(@(1! %/)/11(1.,$!:?6;! A/'/! A/'/! A/'/! A/'/! _3"."% &"'"(()(#+% % %_ Figure 1: Hardware parallelism hierarchy