SlideShare a Scribd company logo
1 of 32
Download to read offline
Operating System (OS)
National Tsing-Hua University
2016, Fall Semester
Operating System Concepts – NTHU LSA Lab
Historical Prospective
Mainframe Systems
Computer-system architecture
Special-purpose Systems
2
Operating System Concepts – NTHU LSA Lab
System Category
 Mainframe Systems
 Batch
 Multi-programming
 Time-sharing
 Computer-system architecture
 Special-purpose Systems
3
Operating System Concepts – NTHU LSA Lab
Mainframe Systems
 One of the earliest computers
 Slow I/O devices: card reader/printer, tape drivers
 Evolution:
 Batch Multi-programming Time-shared
 Still exists in today’s world…
 For critical application with
better reliability & security
 Bulk data processing
 Widely used in hospitals, banks IBM 704 mainframe in 1954
4
Operating System Concepts – NTHU LSA Lab
Mainframe: Batch Systems
 Processing steps:
 Users submit jobs (program, data, control card)
 Operator sort jobs with similar requirements
 OS simply transfer control from one job to the next
Memory layout
program to be compiled
data for the program
$END
$RUN
$LOAD
$FNT
$JOB
5
Operating System Concepts – NTHU LSA Lab
Mainframe: Batch Systems
 Drawbacks:
______________
_______________________________
______________
I/O speed << CPU speed (at least 1:1000)
 OS doesn’t need to make any decision
One job at a time
No interaction between users and jobs
CPU is often idle
6
Operating System Concepts – NTHU LSA Lab
Mainframe: Multi-programming System
 Overlaps the I/O and computation of jobs
 Keeps both CPU and I/O devices
working at higher rates
 Spooling (Simultaneous Peripheral Operation On-Line)
 I/O is done with no CPU intervention
 CPU just needs to be notified when I/O is done
Line Printer
CPU
Card Reader
Disk
7
Operating System Concepts – NTHU LSA Lab
Mainframe: Multi-programming System
CPU
Job Scheduling
CPU Scheduling
Memory
Operating System
Job1
Job2
Job3
Job4 Job pool
Disk
 Several jobs are kept in main memory
at the same time, and the CPU is
multiplexed among them
8
Operating System Concepts – NTHU LSA Lab
Mainframe: Multi-programming System
 OS tasks
 Memory management (chap 9) – the system must
allocate the memory to several jobs
 CPU scheduling (chap6) – the system must choose
among several jobs ready to run.
 I/O system (chap13) – I/O routine supplied by the
system, allocation of devices
9
Operating System Concepts – NTHU LSA Lab
Mainframe: Time-sharing System
(Multi-tasking System)
 An interactive system provides direct communication
between the users and the system
 CPU switches among jobs so frequently that users may
interact with programs
 Users can see results immediately (response time < 1s)
 Usually, keyboard/screen are used
 Multiple users can share the computer simultaneously
 Switch job when
 finish
 waiting I/O
 a short period of time
10
Operating System Concepts – NTHU LSA Lab
Mainframe: Time-sharing System
(Multi-tasking System)
 OS tasks
 Virtual memory (chap 10) – jobs swap in and out
of memory to obtain reasonable response time
 File system and disk management (chap11,12) –
manage files and disk storage for user data
 Process synchronization and deadlock (chap7,8) –
support concurrent execution of programs
11
Operating System Concepts – NTHU LSA Lab
Mainframe System Summary
Batch Multi-
programming
Time-sharing
(Multi-tasking)
System
Model
Single user
Single job
Multiple prog. Multiple users
Multiple prog.
Purpose
OS
features
N.A
Simple Resource
utilization
Interactive
Response time
CPU scheduling
Memory Mgt.
I/O system
File system
Virtual memory
Synchronization
Deadlock
12
Operating System Concepts – NTHU LSA Lab
System Category
 Mainframe Systems
 Computer-system architecture
 Desktop Systems: single processor
 Parallel Systems: tightly coupled
 Distributed Systems: loosely coupled
 Special-purpose Systems
13
Operating System Concepts – NTHU LSA Lab
Desktop Systems: Personal Computers
 Personal computers (PC) – computer system
dedicated to a single user
 User convenience and responsiveness – GUI
 I/O devices – keyboards, mice, screens, printers
 Several different types of operating systems
 Windows, MacOS, Unix, Linux
 Lack of file and OS protection from users
 Worm, Virus
14
Operating System Concepts – NTHU LSA Lab
Parallel Systems
 A.k.a multiprocessor or tightly coupled system
 More than one CPU/core in close communication
 Usually communicate through shared memory
 Purposes
 __________,__________,__________
CPU
System Bus
MEM CPU CPU CPU
Throughput Economical Reliability
15
Operating System Concepts – NTHU LSA Lab
Parallel Systems
 Symmetric multiprocessor system (SMP)
 Each processor runs the same OS
 Most popular multiple-processor architecture
 Require extensive synchronization to protect
data integrity
 Asymmetric multiprocessor system
 Each processor is assigned a specific task
 One Master CPU & multiple slave CPUs
 More common in extremely large systems
16
Operating System Concepts – NTHU LSA Lab
Multi-Core Processor
 A CPU with multiple cores on the same die (chip)
 On-chip communication is faster than between-chip
communication
 One chip with multiple cores uses significantly less
power than multiple single-core chips
blade servers:
Each blade–processor board
boots independently and run its
own OS
17
 Nvidia General-Purpose GPU
 First release in Apr. 2008
 Utilize a graphics processing unit (GPU)
 Single Instruction Multiple Data
 2,880 thread processor, 1.43TGlops (x200
faster than a single Intel Core i7)
 245 WATTS, Clock freq. 600~750 MHz
 $3000 USD
 Intel Xeon Phi
 First release in Nov. 2012
 A coprocessor computer architecture based
on Intel Many Integrated Core (MIC)
 61 cores , 1.2TFlops, 300WATTS
 TILE64
 A mesh network of 64 "tiles“
 Each tile houses a general purpose processor
Many-Core Processor
Operating System Concepts – NTHU LSA Lab 18
Memory Access Architecture
 Uniform Memory Access (UMA):
 Most commonly represented today by Symmetric
Multiprocessor (SMP) machines
 Identical processors
 Equal access times to memory
 Example: most commodity computers
 Non-Uniform Memory Access (NUMA):
 Often made by physically linking two or more SMPs
 One SMP can directly access
memory of another SMP
 Memory access across link is slower
 Example: IBM Blade server
Operating System Concepts – NTHU LSA Lab 19
Operating System Concepts – NTHU LSA Lab
 Also known as loosely coupled system
 Each processor has its own local memory
 processors communicate with one another through various
communication lines (I/O bus or network)
 Easy to scale to large number of nodes (hundreds of
thousands, e.g. Internet)
 Purposes
 Resource sharing
 Load sharing
 Reliability
 Architecture: peer-to-peer or client-server
Distributed Systems
20
Operating System Concepts – NTHU LSA Lab
Client-Server Distributed System
 Easier to manage and control resources
 But, server becomes the bottleneck and single
failure point
Server
Clients
Network
21
Operating System Concepts – NTHU LSA Lab
Peer-to-Peer Distributed System
Network
 Every machine is identical in its role in the
distributed system – decentralized
 Example: ppStream
22
, bitTorrent, Internet
Operating System Concepts – NTHU LSA Lab
Clustered Systems
 Definition:
 Cluster computers share storage and are closely
linked via a local area network (LAN) or a faster
interconnect, such as InfiniBand (up to 300Gb/s).
 Asymmetric clustering: one server runs the
application while other servers standby
 Symmetric clustering: two or more hosts are
running application and are monitoring each
other
23
Operating System Concepts – NTHU LSA Lab
System Architecture Summary
Distributed
Cluster
Multi
processor
Multi-core
Single
core
Loosely coupled
Tightly coupled
24
Operating System Concepts – NTHU LSA Lab
System Category
 Mainframe Systems
 Computer-system architecture
 Special-purpose Systems
 Real-Time Systems
 Multimedia Systems
 Handheld Systems
25
Operating System Concepts – NTHU LSA Lab
Real-Time Operating Systems (Chap19)
 Well-defined fixed-time constraints
 “Real-time” doesn’t mean speed,
but keeping deadlines
 Guaranteed response and reaction times
 Often used as a control device in a dedicated
application:
 Scientific experiments, medical imaging systems,
industrial control systems, weapon systems, etc
 Real-time requirement: hard or soft
26
Operating System Concepts – NTHU LSA Lab
Soft vs. Hard Real-Time
 Soft real-time requirements:
 Missing the deadline is unwanted, but is not
immediately critical
 A critical real-time task gets priority over other tasks,
and retains that priority until it completes
 Examples: multimedia streaming
 Hard real-time requirements:
 Missing the deadline results in a fundamental failure
 Secondary storage limited or absent, data stored in
short term memory, or read-only memory (ROM)
 Examples: nuclear power plant controller
27
Operating System Concepts – NTHU LSA Lab
Multimedia Systems (Chap20)
 A wide range of applications including audio
and video files (e.g. ppstream, online TV )
 Issues:
 Timing constraints: 24~30 frames per second
 On-demand/live streaming: media file is only
played but not stored
 Compression: due to the size and rate of
multimedia systems
28
Operating System Concepts – NTHU LSA Lab
Handheld/Embedded Systems
 Personal Digital Assistants (PDAs)
 Cellular telephones
 HW specialized OS
 Issues
 Limited memory
 Slow processors
 Battery consumption
 Small display screens
29
Operating System Concepts – NTHU LSA Lab
Computer Systems
PC Cluster
Mainframe
Super
Computer
Distributed
System
Embedded
System
RealTime
System
Multimedia
System
Parallel
System
processor connectivity
computing power
special purpose
30
Operating System Concepts – NTHU LSA Lab
Computer Systems
 Which system to use? How to use it?
 They have many things in common, but also
with different design decisions for their OS.
31
Operating System Concepts – NTHU LSA Lab
Review Slides
 Mainframe system
 Batch, Multi-programming and Time-sharing
 tightly coupled system vs. loosely coupled system
 NUMA vs. UMA
 Distributed system:
 Client-server vs. P2P
 Real-time system:
 Soft vs. Hard real-time
32

More Related Content

Similar to Chap0_Historical Prospective.pdf

Network operating systems
Network operating systems Network operating systems
Network operating systems Sachin Awasthi
 
Operating Systems
Operating SystemsOperating Systems
Operating Systemsachal02
 
Operating system notes
Operating system notesOperating system notes
Operating system notesSANTOSH RATH
 
Operating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionOperating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionAnkonGopalBanik
 
Chap1_Introduction.pdf
Chap1_Introduction.pdfChap1_Introduction.pdf
Chap1_Introduction.pdfYuChianWu1
 
Lecture_01 Operating System Course Introduction
Lecture_01 Operating System Course IntroductionLecture_01 Operating System Course Introduction
Lecture_01 Operating System Course IntroductionArnoyKhan
 
Operating Systems
Operating Systems Operating Systems
Operating Systems Fahad Shaikh
 
chapter 1 intoduction to operating system
chapter 1 intoduction to operating systemchapter 1 intoduction to operating system
chapter 1 intoduction to operating systemSiddhi Viradiya
 
Unit 1 introduction to Operating System
Unit 1 introduction to Operating SystemUnit 1 introduction to Operating System
Unit 1 introduction to Operating Systemzahid7578
 
Operating system lecture1
Operating system lecture1Operating system lecture1
Operating system lecture1AhalyaSri
 
OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)Muhammad Osama
 
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsmanideepakc
 

Similar to Chap0_Historical Prospective.pdf (20)

Network operating systems
Network operating systems Network operating systems
Network operating systems
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Introduction of operating system
Introduction of operating systemIntroduction of operating system
Introduction of operating system
 
Operating system notes
Operating system notesOperating system notes
Operating system notes
 
Operating system || Chapter 1: Introduction
Operating system || Chapter 1: IntroductionOperating system || Chapter 1: Introduction
Operating system || Chapter 1: Introduction
 
Chap1_Introduction.pdf
Chap1_Introduction.pdfChap1_Introduction.pdf
Chap1_Introduction.pdf
 
Lecture_01 Operating System Course Introduction
Lecture_01 Operating System Course IntroductionLecture_01 Operating System Course Introduction
Lecture_01 Operating System Course Introduction
 
Operating Systems
Operating Systems Operating Systems
Operating Systems
 
chapter 1 intoduction to operating system
chapter 1 intoduction to operating systemchapter 1 intoduction to operating system
chapter 1 intoduction to operating system
 
Basic os-concepts
Basic os-conceptsBasic os-concepts
Basic os-concepts
 
OS UNIT1.pptx
OS UNIT1.pptxOS UNIT1.pptx
OS UNIT1.pptx
 
Os notes
Os notesOs notes
Os notes
 
Unit 1 introduction to Operating System
Unit 1 introduction to Operating SystemUnit 1 introduction to Operating System
Unit 1 introduction to Operating System
 
Os2
Os2Os2
Os2
 
Operating System
Operating SystemOperating System
Operating System
 
Oslecture1
Oslecture1Oslecture1
Oslecture1
 
Operating system lecture1
Operating system lecture1Operating system lecture1
Operating system lecture1
 
OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)OperatingSystem01..(B.SC Part 2)
OperatingSystem01..(B.SC Part 2)
 
Cs8493 unit 1
Cs8493 unit 1Cs8493 unit 1
Cs8493 unit 1
 
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system calls
 

Recently uploaded

Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineeringmalavadedarshan25
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2RajaP95
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfAsst.prof M.Gokilavani
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxbritheesh05
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learningmisbanausheenparvam
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionDr.Costas Sachpazis
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 

Recently uploaded (20)

Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Internship report on mechanical engineering
Internship report on mechanical engineeringInternship report on mechanical engineering
Internship report on mechanical engineering
 
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2HARMONY IN THE HUMAN BEING - Unit-II UHV-2
HARMONY IN THE HUMAN BEING - Unit-II UHV-2
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdfCCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
CCS355 Neural Network & Deep Learning UNIT III notes and Question bank .pdf
 
Artificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptxArtificial-Intelligence-in-Electronics (K).pptx
Artificial-Intelligence-in-Electronics (K).pptx
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
chaitra-1.pptx fake news detection using machine learning
chaitra-1.pptx  fake news detection using machine learningchaitra-1.pptx  fake news detection using machine learning
chaitra-1.pptx fake news detection using machine learning
 
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective IntroductionSachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
Sachpazis Costas: Geotechnical Engineering: A student's Perspective Introduction
 
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
VICTOR MAESTRE RAMIREZ - Planetary Defender on NASA's Double Asteroid Redirec...
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 

Chap0_Historical Prospective.pdf

  • 1. Operating System (OS) National Tsing-Hua University 2016, Fall Semester
  • 2. Operating System Concepts – NTHU LSA Lab Historical Prospective Mainframe Systems Computer-system architecture Special-purpose Systems 2
  • 3. Operating System Concepts – NTHU LSA Lab System Category  Mainframe Systems  Batch  Multi-programming  Time-sharing  Computer-system architecture  Special-purpose Systems 3
  • 4. Operating System Concepts – NTHU LSA Lab Mainframe Systems  One of the earliest computers  Slow I/O devices: card reader/printer, tape drivers  Evolution:  Batch Multi-programming Time-shared  Still exists in today’s world…  For critical application with better reliability & security  Bulk data processing  Widely used in hospitals, banks IBM 704 mainframe in 1954 4
  • 5. Operating System Concepts – NTHU LSA Lab Mainframe: Batch Systems  Processing steps:  Users submit jobs (program, data, control card)  Operator sort jobs with similar requirements  OS simply transfer control from one job to the next Memory layout program to be compiled data for the program $END $RUN $LOAD $FNT $JOB 5
  • 6. Operating System Concepts – NTHU LSA Lab Mainframe: Batch Systems  Drawbacks: ______________ _______________________________ ______________ I/O speed << CPU speed (at least 1:1000)  OS doesn’t need to make any decision One job at a time No interaction between users and jobs CPU is often idle 6
  • 7. Operating System Concepts – NTHU LSA Lab Mainframe: Multi-programming System  Overlaps the I/O and computation of jobs  Keeps both CPU and I/O devices working at higher rates  Spooling (Simultaneous Peripheral Operation On-Line)  I/O is done with no CPU intervention  CPU just needs to be notified when I/O is done Line Printer CPU Card Reader Disk 7
  • 8. Operating System Concepts – NTHU LSA Lab Mainframe: Multi-programming System CPU Job Scheduling CPU Scheduling Memory Operating System Job1 Job2 Job3 Job4 Job pool Disk  Several jobs are kept in main memory at the same time, and the CPU is multiplexed among them 8
  • 9. Operating System Concepts – NTHU LSA Lab Mainframe: Multi-programming System  OS tasks  Memory management (chap 9) – the system must allocate the memory to several jobs  CPU scheduling (chap6) – the system must choose among several jobs ready to run.  I/O system (chap13) – I/O routine supplied by the system, allocation of devices 9
  • 10. Operating System Concepts – NTHU LSA Lab Mainframe: Time-sharing System (Multi-tasking System)  An interactive system provides direct communication between the users and the system  CPU switches among jobs so frequently that users may interact with programs  Users can see results immediately (response time < 1s)  Usually, keyboard/screen are used  Multiple users can share the computer simultaneously  Switch job when  finish  waiting I/O  a short period of time 10
  • 11. Operating System Concepts – NTHU LSA Lab Mainframe: Time-sharing System (Multi-tasking System)  OS tasks  Virtual memory (chap 10) – jobs swap in and out of memory to obtain reasonable response time  File system and disk management (chap11,12) – manage files and disk storage for user data  Process synchronization and deadlock (chap7,8) – support concurrent execution of programs 11
  • 12. Operating System Concepts – NTHU LSA Lab Mainframe System Summary Batch Multi- programming Time-sharing (Multi-tasking) System Model Single user Single job Multiple prog. Multiple users Multiple prog. Purpose OS features N.A Simple Resource utilization Interactive Response time CPU scheduling Memory Mgt. I/O system File system Virtual memory Synchronization Deadlock 12
  • 13. Operating System Concepts – NTHU LSA Lab System Category  Mainframe Systems  Computer-system architecture  Desktop Systems: single processor  Parallel Systems: tightly coupled  Distributed Systems: loosely coupled  Special-purpose Systems 13
  • 14. Operating System Concepts – NTHU LSA Lab Desktop Systems: Personal Computers  Personal computers (PC) – computer system dedicated to a single user  User convenience and responsiveness – GUI  I/O devices – keyboards, mice, screens, printers  Several different types of operating systems  Windows, MacOS, Unix, Linux  Lack of file and OS protection from users  Worm, Virus 14
  • 15. Operating System Concepts – NTHU LSA Lab Parallel Systems  A.k.a multiprocessor or tightly coupled system  More than one CPU/core in close communication  Usually communicate through shared memory  Purposes  __________,__________,__________ CPU System Bus MEM CPU CPU CPU Throughput Economical Reliability 15
  • 16. Operating System Concepts – NTHU LSA Lab Parallel Systems  Symmetric multiprocessor system (SMP)  Each processor runs the same OS  Most popular multiple-processor architecture  Require extensive synchronization to protect data integrity  Asymmetric multiprocessor system  Each processor is assigned a specific task  One Master CPU & multiple slave CPUs  More common in extremely large systems 16
  • 17. Operating System Concepts – NTHU LSA Lab Multi-Core Processor  A CPU with multiple cores on the same die (chip)  On-chip communication is faster than between-chip communication  One chip with multiple cores uses significantly less power than multiple single-core chips blade servers: Each blade–processor board boots independently and run its own OS 17
  • 18.  Nvidia General-Purpose GPU  First release in Apr. 2008  Utilize a graphics processing unit (GPU)  Single Instruction Multiple Data  2,880 thread processor, 1.43TGlops (x200 faster than a single Intel Core i7)  245 WATTS, Clock freq. 600~750 MHz  $3000 USD  Intel Xeon Phi  First release in Nov. 2012  A coprocessor computer architecture based on Intel Many Integrated Core (MIC)  61 cores , 1.2TFlops, 300WATTS  TILE64  A mesh network of 64 "tiles“  Each tile houses a general purpose processor Many-Core Processor Operating System Concepts – NTHU LSA Lab 18
  • 19. Memory Access Architecture  Uniform Memory Access (UMA):  Most commonly represented today by Symmetric Multiprocessor (SMP) machines  Identical processors  Equal access times to memory  Example: most commodity computers  Non-Uniform Memory Access (NUMA):  Often made by physically linking two or more SMPs  One SMP can directly access memory of another SMP  Memory access across link is slower  Example: IBM Blade server Operating System Concepts – NTHU LSA Lab 19
  • 20. Operating System Concepts – NTHU LSA Lab  Also known as loosely coupled system  Each processor has its own local memory  processors communicate with one another through various communication lines (I/O bus or network)  Easy to scale to large number of nodes (hundreds of thousands, e.g. Internet)  Purposes  Resource sharing  Load sharing  Reliability  Architecture: peer-to-peer or client-server Distributed Systems 20
  • 21. Operating System Concepts – NTHU LSA Lab Client-Server Distributed System  Easier to manage and control resources  But, server becomes the bottleneck and single failure point Server Clients Network 21
  • 22. Operating System Concepts – NTHU LSA Lab Peer-to-Peer Distributed System Network  Every machine is identical in its role in the distributed system – decentralized  Example: ppStream 22 , bitTorrent, Internet
  • 23. Operating System Concepts – NTHU LSA Lab Clustered Systems  Definition:  Cluster computers share storage and are closely linked via a local area network (LAN) or a faster interconnect, such as InfiniBand (up to 300Gb/s).  Asymmetric clustering: one server runs the application while other servers standby  Symmetric clustering: two or more hosts are running application and are monitoring each other 23
  • 24. Operating System Concepts – NTHU LSA Lab System Architecture Summary Distributed Cluster Multi processor Multi-core Single core Loosely coupled Tightly coupled 24
  • 25. Operating System Concepts – NTHU LSA Lab System Category  Mainframe Systems  Computer-system architecture  Special-purpose Systems  Real-Time Systems  Multimedia Systems  Handheld Systems 25
  • 26. Operating System Concepts – NTHU LSA Lab Real-Time Operating Systems (Chap19)  Well-defined fixed-time constraints  “Real-time” doesn’t mean speed, but keeping deadlines  Guaranteed response and reaction times  Often used as a control device in a dedicated application:  Scientific experiments, medical imaging systems, industrial control systems, weapon systems, etc  Real-time requirement: hard or soft 26
  • 27. Operating System Concepts – NTHU LSA Lab Soft vs. Hard Real-Time  Soft real-time requirements:  Missing the deadline is unwanted, but is not immediately critical  A critical real-time task gets priority over other tasks, and retains that priority until it completes  Examples: multimedia streaming  Hard real-time requirements:  Missing the deadline results in a fundamental failure  Secondary storage limited or absent, data stored in short term memory, or read-only memory (ROM)  Examples: nuclear power plant controller 27
  • 28. Operating System Concepts – NTHU LSA Lab Multimedia Systems (Chap20)  A wide range of applications including audio and video files (e.g. ppstream, online TV )  Issues:  Timing constraints: 24~30 frames per second  On-demand/live streaming: media file is only played but not stored  Compression: due to the size and rate of multimedia systems 28
  • 29. Operating System Concepts – NTHU LSA Lab Handheld/Embedded Systems  Personal Digital Assistants (PDAs)  Cellular telephones  HW specialized OS  Issues  Limited memory  Slow processors  Battery consumption  Small display screens 29
  • 30. Operating System Concepts – NTHU LSA Lab Computer Systems PC Cluster Mainframe Super Computer Distributed System Embedded System RealTime System Multimedia System Parallel System processor connectivity computing power special purpose 30
  • 31. Operating System Concepts – NTHU LSA Lab Computer Systems  Which system to use? How to use it?  They have many things in common, but also with different design decisions for their OS. 31
  • 32. Operating System Concepts – NTHU LSA Lab Review Slides  Mainframe system  Batch, Multi-programming and Time-sharing  tightly coupled system vs. loosely coupled system  NUMA vs. UMA  Distributed system:  Client-server vs. P2P  Real-time system:  Soft vs. Hard real-time 32