SlideShare a Scribd company logo
1 of 2
Download to read offline
1 Fall 1998, Lecture 02
What is an Operating System?
(Review)
n An operating system (OS) is the interface
between the user and the hardware
q It implements a virtual machine that is
easier to program than bare hardware
n An OS provides standard services (an
interface) which are implemented on the
hardware, including:
q Processes, CPU scheduling, memory
management, file system, networking
n The OS coordinates multiple
applications and users (multiple
processes) in a fair and efficient manner
åThe goal in OS development is to make
the machine convenient to use (a
software engineering problem) and
efficient (a system and engineering
problem)
2 Fall 1998, Lecture 02
History of Operating Systems
n Phase 0 — hardware is a very expensive
experiment; no operating systems exist
1. One user at console
n One function at a time (computation, I/O,
user think/response)
n Program loaded via card deck
– Libraries of device drivers (for I/O)
n User debugs at console
n Phase 1 — hardware is expensive,
humans are cheap
2. Simple batch processing: load program,
run, print results, dump, repeat
n User gives program (cards or tape) to the
operator, who schedules the jobs
n Resident monitor automatically loads,
runs, dumps user jobs
n Requires memory management
(relocation) and protection
n More efficient use of hardware, but
debugging is more difficult (from dumps)
3 Fall 1998, Lecture 02
History of Operating Systems (cont.)
n Phase 1 — hardware is expensive,
humans are cheap
3. Overlapped CPU & I/O operations
n First: buffer slow I/O onto fast tape drives
connected to CPU, replicate I/O devices
n Later: spool data to disk
4. Multiprogrammed batch systems
n Multiple jobs are on the disk,waiting to run
n Multiprogramming — run several
programs at the “same” time
– Pick some jobs to run (scheduling), and
put them in memory (memory
management)
– Run one job; when it waits on something
(tape to be mounted, key to be pressed),
switch to another job in memory
n First big failures:
– MULTICS announced in 1963, not
released until 1969
– IBM’s OS/360 released with 1000 known
bugs
n OS design should be a science, not an art
4 Fall 1998, Lecture 02
History of Operating Systems (cont.)
n Phase 2 — hardware is less expensive
than before, humans are expensive
5. Interactive timesharing
n Lots of cheap terminals, one computer
– All users interact with system at once
– Debugging is much easier
n Disks are cheap, so put programs and
data online
– 1 punch card = 100 bytes
– 1MB = 10K cards
– OS/360 was several feet of cards
n New problems:
– Need preemptive scheduling to maintain
adequate response time
– Need to avoid thrashing (swapping
programs in and out of memory too often)
– Need to provide adequate security
measures
n Success: UNIX developed at Bell Labs so
a couple of computer nerds (Thompson,
Ritchie) could play Star Trek on an unused
PDP-7 minicomputer
5 Fall 1998, Lecture 02
History of Operating Systems (cont.)
n Phase 3 — hardware is very cheap,
humans are expensive
6. Personal computing
n CPUs are cheap enough to put one in
each terminal, yet powerful enough to be
useful
– Computers for the masses!
n Return to simplicity; make OS simpler by
getting rid of support for
multiprogramming, concurrency, and
protection
n Modern operating systems are:
q Enormous
n Small OS = 100K lines of code
n Big OS = 10M lines
q Complex (100-1000 person year of work)
q Poorly understood (outlives its creators,
too large for one person to comprehend)
6 Fall 1998, Lecture 02
History Lessons
n None of these operating systems were
particularly bad; each depended on
tradeoffs made at that point in time
q Technology changes drive OS changes
n Since 1953, there has been about 9
orders of magnitude of change in almost
every computer system component
q Unprecedented! In past 200 years, gone
from horseback (10 mph) to Concorde
(1000 mph), only 2 orders of magnitude
n Changes in “typical” academic computer:
1981 1996
MIPS 1 400
price / MIPS $100,000 $50
memory 128 KByte 64 MByte
disk 10 MByte 4 GByte
network 9600 bit/sec 155 Mb/s
address bits 16 64
7 Fall 1998, Lecture 02
Modern OS Functionality
(Review)
n Concurrency
q Multiple processes active at once
q Processes can communicate
q Processes may require mutually-
exclusive access to some resource
q CPU scheduling, resource management
n Memory management — allocate
memory to processes, move processes
between disk and memory
n File system — allocate space for storage
of programs and data on disk
n Networks and distributed computing —
allow computers to work together
n Security & protection
8 Fall 1998, Lecture 02
More Recent Developments
n Parallel operating systems
q Shared memory, shared clock
q Large number of tightly-coupled
processors
q Appearance of single operating system
n Distributed operating systems
q No shared memory, no shared clock
q Small number of loosely-coupled
processors
q Appearance of single operating system is
ideal goal, but not realized in practice
q May try to simulate a shared memory
n Real-time operating systems
q Meet hard / soft real-time constraints on
processing of data

More Related Content

What's hot (10)

OS scheduling and The anatomy of a context switch
OS scheduling and The anatomy of a context switchOS scheduling and The anatomy of a context switch
OS scheduling and The anatomy of a context switch
 
Code4vn course intro linux day1
Code4vn course intro linux day1Code4vn course intro linux day1
Code4vn course intro linux day1
 
水晶礦脈
水晶礦脈水晶礦脈
水晶礦脈
 
Modern Linux Desktop Stack
Modern Linux Desktop StackModern Linux Desktop Stack
Modern Linux Desktop Stack
 
Ubuntu OS Presentation
Ubuntu OS PresentationUbuntu OS Presentation
Ubuntu OS Presentation
 
Unix Internals OS Architecture
Unix Internals OS ArchitectureUnix Internals OS Architecture
Unix Internals OS Architecture
 
Sys sw lec 1-1
Sys sw lec 1-1Sys sw lec 1-1
Sys sw lec 1-1
 
Virtual Distro Dispatcher - A light-weight Desktop-as-a-Service solution
Virtual Distro Dispatcher - A light-weight Desktop-as-a-Service solutionVirtual Distro Dispatcher - A light-weight Desktop-as-a-Service solution
Virtual Distro Dispatcher - A light-weight Desktop-as-a-Service solution
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Kernal
KernalKernal
Kernal
 

Viewers also liked (11)

Academic Qualifications of Anamile
Academic Qualifications of AnamileAcademic Qualifications of Anamile
Academic Qualifications of Anamile
 
Chapter 6
Chapter 6Chapter 6
Chapter 6
 
Por Ignácio e Rafael
Por Ignácio e RafaelPor Ignácio e Rafael
Por Ignácio e Rafael
 
UIMP: Aplicaciones de AmI en Telefonica I+D
UIMP: Aplicaciones de AmI en Telefonica I+DUIMP: Aplicaciones de AmI en Telefonica I+D
UIMP: Aplicaciones de AmI en Telefonica I+D
 
dezembro 2012 | m. l. consulting
dezembro 2012 | m. l. consultingdezembro 2012 | m. l. consulting
dezembro 2012 | m. l. consulting
 
Operação
Operação Operação
Operação
 
Mollusca - Biologia
Mollusca - BiologiaMollusca - Biologia
Mollusca - Biologia
 
Logo Sarapretzel PDF
Logo Sarapretzel PDFLogo Sarapretzel PDF
Logo Sarapretzel PDF
 
Utilização de políticas de serviços na plataforma Microsoft
Utilização de políticas de serviços na plataforma MicrosoftUtilização de políticas de serviços na plataforma Microsoft
Utilização de políticas de serviços na plataforma Microsoft
 
Clase ge 5
Clase ge 5Clase ge 5
Clase ge 5
 
Restaurante DEGUSTA Franchising
Restaurante DEGUSTA FranchisingRestaurante DEGUSTA Franchising
Restaurante DEGUSTA Franchising
 

Similar to L02

CSE 370 - Introduction to Operating Systems
CSE 370 - Introduction to Operating SystemsCSE 370 - Introduction to Operating Systems
CSE 370 - Introduction to Operating Systems
Dev Khare
 

Similar to L02 (20)

01.osdoc
01.osdoc01.osdoc
01.osdoc
 
(1) gui history_of_interactivity
(1) gui history_of_interactivity(1) gui history_of_interactivity
(1) gui history_of_interactivity
 
Chapter - 1
Chapter - 1Chapter - 1
Chapter - 1
 
Introduction to Computers
Introduction to ComputersIntroduction to Computers
Introduction to Computers
 
Introduction to the computer science.pdf
Introduction to the computer science.pdfIntroduction to the computer science.pdf
Introduction to the computer science.pdf
 
Cpu architecture
Cpu architecture Cpu architecture
Cpu architecture
 
MIS CHAPTER THREE.ppt
MIS CHAPTER THREE.pptMIS CHAPTER THREE.ppt
MIS CHAPTER THREE.ppt
 
CSE 370 - Introduction to Operating Systems
CSE 370 - Introduction to Operating SystemsCSE 370 - Introduction to Operating Systems
CSE 370 - Introduction to Operating Systems
 
Parallel computing persentation
Parallel computing persentationParallel computing persentation
Parallel computing persentation
 
Unit 1 introduction to os
Unit 1 introduction to osUnit 1 introduction to os
Unit 1 introduction to os
 
1.1 Introduction to Operating System .pptx
1.1 Introduction to Operating System .pptx1.1 Introduction to Operating System .pptx
1.1 Introduction to Operating System .pptx
 
Evolution of operating system
Evolution of operating systemEvolution of operating system
Evolution of operating system
 
Operating System / System Operasi
Operating System / System Operasi                   Operating System / System Operasi
Operating System / System Operasi
 
Unit 1 operating system
Unit 1 operating systemUnit 1 operating system
Unit 1 operating system
 
(1) gui history_of_interactivity
(1) gui history_of_interactivity(1) gui history_of_interactivity
(1) gui history_of_interactivity
 
RTOS [Autosaved].pptx
RTOS [Autosaved].pptxRTOS [Autosaved].pptx
RTOS [Autosaved].pptx
 
Neetu IT Assignment
Neetu IT AssignmentNeetu IT Assignment
Neetu IT Assignment
 
Introduction to parallel computing
Introduction to parallel computingIntroduction to parallel computing
Introduction to parallel computing
 
Introduction To operating System:
Introduction To operating System:Introduction To operating System:
Introduction To operating System:
 
Microkernels and Beyond
Microkernels and BeyondMicrokernels and Beyond
Microkernels and Beyond
 

More from International advisers

More from International advisers (20)

SNC 2020 MATHEMATICS Final.pptx
SNC 2020 MATHEMATICS Final.pptxSNC 2020 MATHEMATICS Final.pptx
SNC 2020 MATHEMATICS Final.pptx
 
SNC 2020 MATHEMATICS Lesson plan.pptx
SNC 2020 MATHEMATICS Lesson plan.pptxSNC 2020 MATHEMATICS Lesson plan.pptx
SNC 2020 MATHEMATICS Lesson plan.pptx
 
SNC 2020 MATHEMATICS requirment.pptx
SNC 2020 MATHEMATICS requirment.pptxSNC 2020 MATHEMATICS requirment.pptx
SNC 2020 MATHEMATICS requirment.pptx
 
SNC 2020 MATHEMATICS Final final.pptx
SNC 2020 MATHEMATICS Final final.pptxSNC 2020 MATHEMATICS Final final.pptx
SNC 2020 MATHEMATICS Final final.pptx
 
GRAVITATION Day 1 final.pptx
GRAVITATION Day 1 final.pptxGRAVITATION Day 1 final.pptx
GRAVITATION Day 1 final.pptx
 
GRAVITATION Day 1 sample.pptx
GRAVITATION Day 1 sample.pptxGRAVITATION Day 1 sample.pptx
GRAVITATION Day 1 sample.pptx
 
GRAVITATION Day 1 final own voice.pptx
GRAVITATION Day 1 final own voice.pptxGRAVITATION Day 1 final own voice.pptx
GRAVITATION Day 1 final own voice.pptx
 
RATIO & PROPORTION.pptx
RATIO & PROPORTION.pptxRATIO & PROPORTION.pptx
RATIO & PROPORTION.pptx
 
.ppt
.ppt.ppt
.ppt
 
Chapter 19.ppt
Chapter 19.pptChapter 19.ppt
Chapter 19.ppt
 
Checks and Balances.ppt
Checks and Balances.pptChecks and Balances.ppt
Checks and Balances.ppt
 
AP Gov Federalism Lyberger 2015.pptx
AP Gov Federalism Lyberger 2015.pptxAP Gov Federalism Lyberger 2015.pptx
AP Gov Federalism Lyberger 2015.pptx
 
ap gov ppt ch01.ppt
ap gov ppt ch01.pptap gov ppt ch01.ppt
ap gov ppt ch01.ppt
 
Teacher Notes MODULE 25.pptx
Teacher Notes MODULE 25.pptxTeacher Notes MODULE 25.pptx
Teacher Notes MODULE 25.pptx
 
Teacher Notes MODULE 28.pptx
Teacher Notes MODULE 28.pptxTeacher Notes MODULE 28.pptx
Teacher Notes MODULE 28.pptx
 
Teacher Notes MODULE 20.pptx
Teacher Notes MODULE 20.pptxTeacher Notes MODULE 20.pptx
Teacher Notes MODULE 20.pptx
 
Teacher Notes MODULE 21.pptx
Teacher Notes MODULE 21.pptxTeacher Notes MODULE 21.pptx
Teacher Notes MODULE 21.pptx
 
Teacher Notes MODULE 23.pptx
Teacher Notes MODULE 23.pptxTeacher Notes MODULE 23.pptx
Teacher Notes MODULE 23.pptx
 
Teacher Notes MODULE 24.pptx
Teacher Notes MODULE 24.pptxTeacher Notes MODULE 24.pptx
Teacher Notes MODULE 24.pptx
 
Chapter_20.pptx
Chapter_20.pptxChapter_20.pptx
Chapter_20.pptx
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 

L02

  • 1. 1 Fall 1998, Lecture 02 What is an Operating System? (Review) n An operating system (OS) is the interface between the user and the hardware q It implements a virtual machine that is easier to program than bare hardware n An OS provides standard services (an interface) which are implemented on the hardware, including: q Processes, CPU scheduling, memory management, file system, networking n The OS coordinates multiple applications and users (multiple processes) in a fair and efficient manner åThe goal in OS development is to make the machine convenient to use (a software engineering problem) and efficient (a system and engineering problem) 2 Fall 1998, Lecture 02 History of Operating Systems n Phase 0 — hardware is a very expensive experiment; no operating systems exist 1. One user at console n One function at a time (computation, I/O, user think/response) n Program loaded via card deck – Libraries of device drivers (for I/O) n User debugs at console n Phase 1 — hardware is expensive, humans are cheap 2. Simple batch processing: load program, run, print results, dump, repeat n User gives program (cards or tape) to the operator, who schedules the jobs n Resident monitor automatically loads, runs, dumps user jobs n Requires memory management (relocation) and protection n More efficient use of hardware, but debugging is more difficult (from dumps) 3 Fall 1998, Lecture 02 History of Operating Systems (cont.) n Phase 1 — hardware is expensive, humans are cheap 3. Overlapped CPU & I/O operations n First: buffer slow I/O onto fast tape drives connected to CPU, replicate I/O devices n Later: spool data to disk 4. Multiprogrammed batch systems n Multiple jobs are on the disk,waiting to run n Multiprogramming — run several programs at the “same” time – Pick some jobs to run (scheduling), and put them in memory (memory management) – Run one job; when it waits on something (tape to be mounted, key to be pressed), switch to another job in memory n First big failures: – MULTICS announced in 1963, not released until 1969 – IBM’s OS/360 released with 1000 known bugs n OS design should be a science, not an art 4 Fall 1998, Lecture 02 History of Operating Systems (cont.) n Phase 2 — hardware is less expensive than before, humans are expensive 5. Interactive timesharing n Lots of cheap terminals, one computer – All users interact with system at once – Debugging is much easier n Disks are cheap, so put programs and data online – 1 punch card = 100 bytes – 1MB = 10K cards – OS/360 was several feet of cards n New problems: – Need preemptive scheduling to maintain adequate response time – Need to avoid thrashing (swapping programs in and out of memory too often) – Need to provide adequate security measures n Success: UNIX developed at Bell Labs so a couple of computer nerds (Thompson, Ritchie) could play Star Trek on an unused PDP-7 minicomputer
  • 2. 5 Fall 1998, Lecture 02 History of Operating Systems (cont.) n Phase 3 — hardware is very cheap, humans are expensive 6. Personal computing n CPUs are cheap enough to put one in each terminal, yet powerful enough to be useful – Computers for the masses! n Return to simplicity; make OS simpler by getting rid of support for multiprogramming, concurrency, and protection n Modern operating systems are: q Enormous n Small OS = 100K lines of code n Big OS = 10M lines q Complex (100-1000 person year of work) q Poorly understood (outlives its creators, too large for one person to comprehend) 6 Fall 1998, Lecture 02 History Lessons n None of these operating systems were particularly bad; each depended on tradeoffs made at that point in time q Technology changes drive OS changes n Since 1953, there has been about 9 orders of magnitude of change in almost every computer system component q Unprecedented! In past 200 years, gone from horseback (10 mph) to Concorde (1000 mph), only 2 orders of magnitude n Changes in “typical” academic computer: 1981 1996 MIPS 1 400 price / MIPS $100,000 $50 memory 128 KByte 64 MByte disk 10 MByte 4 GByte network 9600 bit/sec 155 Mb/s address bits 16 64 7 Fall 1998, Lecture 02 Modern OS Functionality (Review) n Concurrency q Multiple processes active at once q Processes can communicate q Processes may require mutually- exclusive access to some resource q CPU scheduling, resource management n Memory management — allocate memory to processes, move processes between disk and memory n File system — allocate space for storage of programs and data on disk n Networks and distributed computing — allow computers to work together n Security & protection 8 Fall 1998, Lecture 02 More Recent Developments n Parallel operating systems q Shared memory, shared clock q Large number of tightly-coupled processors q Appearance of single operating system n Distributed operating systems q No shared memory, no shared clock q Small number of loosely-coupled processors q Appearance of single operating system is ideal goal, but not realized in practice q May try to simulate a shared memory n Real-time operating systems q Meet hard / soft real-time constraints on processing of data