SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Fred Kuhns ( ) CS523S: Operating Systems
CS523
Operating Systems
Fred Kuhns
Applied Research Laboratory
Computer Science
Washington University
Fred Kuhns ( ) CS523S: Operating
CS523 - Operating Systems
• Instructor: Fred Kuhns
• Phone: 935-6598
• Email: fredk@cs.wustl.edu
• Office Hours:
Tu/Th: 4:00 - 5:00PM
• Location:
TBD
• Class times:
Tu/Th: 2:30 - 4:00PM
Fred Kuhns ( ) CS523S: Operating
Course Materials
• Textbook:
Real-Time Systems, Jane W. S. Liu
• Selected papers from the literature,
• Class handouts and presentation material,
• Class web page,
• OS man pages and web accessible
documentation,
• UNIX account.
Fred Kuhns ( ) CS523S: Operating
Programming Projects
• 3 projects plus a final project
• Final project:
 team/individual class presentations
 address a system issue covered in class. May build
on class projects. Report or implementation.
• Project focus:
 Correct, predictable behavior (of implementation)
 Performance (efficient execution)
 Completeness of design (address all issues)
 "readability" of code (can I understand it)
Fred Kuhns ( ) CS523S: Operating
Exams, Homework and Grading
• Weekly: Homework assignment or Quiz
• Final Exam (no mid-term):
Comprehensive
• Relative weights:
25% Final exam
20% Quizzes
10% Homework
30% Programming projects (10% per project)
15% Final Project
Fred Kuhns ( ) CS523S: Operating
Course Overview
Overview of OS design issues
o Review of general purpose OS services
o Intro to Advanced OS Topics:
• Real-Time, Database, Distributed and Multi-processor
Detailed analysis of conventional OS internals:
o Focus on UNIX - Linux, BSD, SVR4 and Mach
o Single/Multi-processor
o Resource management
Focus on Real-Time: design and implementation
o Performance and predictability issues
o Resource scheduling and managing concurrency
Fred Kuhns ( ) CS523S: Operating
Introduction
• Functions of an Operating System
Resource management
User environment
• Design Approaches
Layered, Kernel and Virtual
• Types of Advanced Operating Systems
Distributed, Multiprocessor, Database and Real-time
• Overview of UNIX (why do we care)
Fred Kuhns ( ) CS523S: Operating
Functions of an OS
• Resource Management
Time management - temporal properties
CPU and disk transfer scheduling
Space management
main and secondary storage allocation
Synchronization and deadlock handling
c
Accounting and status information
s
Fred Kuhns ( ) CS523S: Operating
Functions of an OS (cont)
• User Environment - OS layer transforms bare
hardware machine into higher level abstractions
Execution environment - process management, file
manipulation, interrupt handling, I/O operations,
language.
Error detection and handling
Protection and security
Fault tolerance and failure recovery
Fred Kuhns ( ) CS523S: Operating
Design Approaches
• Deal with complexities of modern systems
• Separation of Policies and Mechanisms
Policies - What should be done
Mechanisms - How it should be done
Levin, R., E. Cohen, W. Corwin, F. Pollack and W. Wulf,
"Policy/Mechanism Separation in HYDRA," Proceedings
of the 5th
Symposium on Principles of Operating Systems,
1975, pp. 132-140.
• Three common approaches:
Layered Approach
Kernel Approach
Virtual Machine Approach
Fred Kuhns ( ) CS523S: Operating
Layered Approach
Level Name Objects Example
13 Shell User programming env. Bash statements
12 User process User process Quit,kill,suspend,resume
11 Directories Directories Create,destroy,attach,list
10 Devices External: printer,display Create,open,close
9 File system Files Create,open,close
8 Communications Pipes Crreate,open,close
7 Virtual memory Segments,pages Read,write,fetch
6 Local secondary store Blocks,channel Read,write,fetch
5 Primitive process Process,semaphore Suspend,resume,wait
4 Interrupts Interrupt-handlers Invoke,mask,retry
3 Procedures Procedure,stack,display Mark stack,call,return
2 Instruction set Evaluation stack Load,store,add
1 Electronic circuit Registers,gates,buses Clear,transfer,activate
Simplifies design, implementation and testing
Modular by dividing OS into functional layers.
HWresourceenvironment
Fred Kuhns ( ) CS523S: Operating
Kernel Based Approach
Kernel contains a collection of primitives
which are used to build the OS
OS implements policy
Kernel implements mechanisms
Hardware
kernel
Operating system
Fred Kuhns ( ) CS523S: Operating
Virtual Machine Approach
Virtual software layer over hardware
Illusion of multiple instances of hardware
Supports multiple instances of OSs
Hardware
Virtual machine software
VM1 VM2 VM3 VM4
Fred Kuhns ( ) CS523S: Operating
• Layered:
Dijkstra, E. W., "The Structure of THE Multiprogramming
System", Communications of the ACM, May 1968, pp. 341-346.
• Layered (Ring):
Organick, E., The Multics System, MIT Press, Cambridge, MA.
1972.
• Kernel
Brinch Hansen, P., "The Nucleus of a Multiprogramming
System", Communications of the ACM, Apr. 1970, pp. 238-241.
Wulf, W., E. Cohen, W. Corwin, A. Jones, R. Levin, C. Pierson,
and F. Pollack, "HYDRA: The Kernel of a Multiprocessor
Operating System", Communications of the ACM, June 1974,
pp. 337-345.
• Virtual
Seawright, L., and R. MacKinnon, "VM/370 - A Study of
Multiplicity and Usefulness", IBM Systems Journal, 1979, pp.
4-17.
Fred Kuhns ( ) CS523S: Operating
Types of Advanced OSs
Distributed Operating Systems
Multiprocessor Operating Systems
Database Operating Systems
Real-time Operating Systems
Fred Kuhns ( ) CS523S: Operating
Distributed Operating Systems
• Controls and manages resources for a network of
autonomous computers
manage both hardware and software resources
behaves as a single monolithic system.
• User not aware of program or resource location
• Design issues same as traditional systems
• Practical issues:
lack of shared memory
lack of global clock
unpredictable communication delays.
Fred Kuhns ( ) CS523S: Operating
Multiprocessor Operating Systems
• Consists of a set of processors that
share a set of physical memory blocks
share a common clock
"share" over an interconnection network.
• Control and manage resources
hardware and software resources
viewed as a uniprocessor system.
• Design issues same as traditional system.
• Practical issues:
increased complexity of synchronization, scheduling,
memory management, protection and security.
Fred Kuhns ( ) CS523S: Operating
Database Operating Systems
• Database systems place increased demands on an
operating system to efficiently support:
concept of a transactions
manage large volumes of data
concurrency control
system failure control
Fred Kuhns ( ) CS523S: Operating
Real-time Operating Systems
• Place application specific special requirements
on an operating system.
• Policies and mechanisms are geared to
ensuring jobs meet their deadlines.
• Problem is one of resource scheduling and
overall system utilization.
Fred Kuhns ( ) CS523S: Operating
Why UNIX
• Historical significance
• Advanced features developed for or ported to
UNIX
• Availability of source code and research papers
• Importance to present and future research
activities at WashU
• Highlights key design and architectural issues
Fred Kuhns ( ) CS523S: Operating
Traditional UNIX kernel
• Bloated kernel
• Inflexible: supported single type of
file system,
process scheduling
executable file format
file
system
virtual
memory
loader
block dev char dev
kernel
Fred Kuhns ( ) CS523S: Operating
Modern UNIX
• Separation of policy and mechanism
• modular design and implementation (layered)
AcrobatDocum ent
Fred Kuhns ( ) CS523S: Operating
References
• Original UNIX implementation:
D. M. Ritchie, and K. Thompson, “The UNIX
Time-Sharing System”, Communications of the
ACM, Vol. 17, No. 7, Jul. 1974, pp. 365-375.

Weitere ähnliche Inhalte

Was ist angesagt?

[TALK] Exokernel vs. Microkernel
[TALK] Exokernel vs. Microkernel[TALK] Exokernel vs. Microkernel
[TALK] Exokernel vs. MicrokernelHawx Chen
 
Operating system 15 micro kernel based os
Operating system 15 micro kernel based osOperating system 15 micro kernel based os
Operating system 15 micro kernel based osVaibhav Khanna
 
Factored Operating System An Operating System for Multicore and Clouds
Factored Operating System  An Operating System for Multicore and CloudsFactored Operating System  An Operating System for Multicore and Clouds
Factored Operating System An Operating System for Multicore and Cloudsحيدر نافع nafaa
 
Operating System-Threads-Galvin
Operating System-Threads-GalvinOperating System-Threads-Galvin
Operating System-Threads-GalvinSonali Chauhan
 
Thread scheduling in Operating Systems
Thread scheduling in Operating SystemsThread scheduling in Operating Systems
Thread scheduling in Operating SystemsNitish Gulati
 
Chapter 1 -_characterization_of_distributed_systems
Chapter 1 -_characterization_of_distributed_systemsChapter 1 -_characterization_of_distributed_systems
Chapter 1 -_characterization_of_distributed_systemsFrancelyno Murela
 
11.0004www.iiste.org call for paper.a file system level snapshot in ext4--35-30
11.0004www.iiste.org call for paper.a file system level snapshot in ext4--35-3011.0004www.iiste.org call for paper.a file system level snapshot in ext4--35-30
11.0004www.iiste.org call for paper.a file system level snapshot in ext4--35-30Alexander Decker
 
4.a file system level snapshot in ext4 -35-30
4.a file system level snapshot in ext4 -35-304.a file system level snapshot in ext4 -35-30
4.a file system level snapshot in ext4 -35-30Alexander Decker
 
Distributed & parallel system
Distributed & parallel systemDistributed & parallel system
Distributed & parallel systemManish Singh
 
Linux kernel Architecture and Properties
Linux kernel Architecture and PropertiesLinux kernel Architecture and Properties
Linux kernel Architecture and PropertiesSaadi Rahman
 
Thread management
Thread management Thread management
Thread management Ayaan Adeel
 

Was ist angesagt? (17)

[TALK] Exokernel vs. Microkernel
[TALK] Exokernel vs. Microkernel[TALK] Exokernel vs. Microkernel
[TALK] Exokernel vs. Microkernel
 
Lecutur24 25
Lecutur24 25Lecutur24 25
Lecutur24 25
 
Kernel (computing)
Kernel (computing)Kernel (computing)
Kernel (computing)
 
Operating system 15 micro kernel based os
Operating system 15 micro kernel based osOperating system 15 micro kernel based os
Operating system 15 micro kernel based os
 
In a monolithic kernel
In a monolithic kernelIn a monolithic kernel
In a monolithic kernel
 
Exokernel
ExokernelExokernel
Exokernel
 
Lecture 4 Cluster Computing
Lecture 4 Cluster ComputingLecture 4 Cluster Computing
Lecture 4 Cluster Computing
 
Factored Operating System An Operating System for Multicore and Clouds
Factored Operating System  An Operating System for Multicore and CloudsFactored Operating System  An Operating System for Multicore and Clouds
Factored Operating System An Operating System for Multicore and Clouds
 
Operating System-Threads-Galvin
Operating System-Threads-GalvinOperating System-Threads-Galvin
Operating System-Threads-Galvin
 
Thread scheduling in Operating Systems
Thread scheduling in Operating SystemsThread scheduling in Operating Systems
Thread scheduling in Operating Systems
 
Chapter 1 -_characterization_of_distributed_systems
Chapter 1 -_characterization_of_distributed_systemsChapter 1 -_characterization_of_distributed_systems
Chapter 1 -_characterization_of_distributed_systems
 
11.0004www.iiste.org call for paper.a file system level snapshot in ext4--35-30
11.0004www.iiste.org call for paper.a file system level snapshot in ext4--35-3011.0004www.iiste.org call for paper.a file system level snapshot in ext4--35-30
11.0004www.iiste.org call for paper.a file system level snapshot in ext4--35-30
 
4.a file system level snapshot in ext4 -35-30
4.a file system level snapshot in ext4 -35-304.a file system level snapshot in ext4 -35-30
4.a file system level snapshot in ext4 -35-30
 
Chap 01
Chap 01Chap 01
Chap 01
 
Distributed & parallel system
Distributed & parallel systemDistributed & parallel system
Distributed & parallel system
 
Linux kernel Architecture and Properties
Linux kernel Architecture and PropertiesLinux kernel Architecture and Properties
Linux kernel Architecture and Properties
 
Thread management
Thread management Thread management
Thread management
 

Ähnlich wie Lecture1

Apos week 1 4
Apos week 1   4Apos week 1   4
Apos week 1 4alixafar
 
linux software architecture
linux software architecture linux software architecture
linux software architecture Sneha Ramesh
 
Unit 3 part a. operating system support
Unit 3 part a.  operating system support Unit 3 part a.  operating system support
Unit 3 part a. operating system support saira banu atham
 
operating system memory.pptx
operating system memory.pptxoperating system memory.pptx
operating system memory.pptxdeepika290367
 
os1-1_int.ppt
os1-1_int.pptos1-1_int.ppt
os1-1_int.pptFiroza10
 
1-intro - Copy (2).ppt
1-intro - Copy (2).ppt1-intro - Copy (2).ppt
1-intro - Copy (2).pptharun kamau
 
Supporting Research through "Desktop as a Service" models of e-infrastructure...
Supporting Research through "Desktop as a Service" models of e-infrastructure...Supporting Research through "Desktop as a Service" models of e-infrastructure...
Supporting Research through "Desktop as a Service" models of e-infrastructure...David Wallom
 
Mca ii os u-5 unix linux file system
Mca  ii  os u-5 unix linux file systemMca  ii  os u-5 unix linux file system
Mca ii os u-5 unix linux file systemRai University
 
UNIX INTERNALS UNIT-I
UNIX INTERNALS UNIT-IUNIX INTERNALS UNIT-I
UNIX INTERNALS UNIT-IJK Knowledge
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating systemPrankit Mishra
 
LinuxOS-1 (1).ppt
LinuxOS-1 (1).pptLinuxOS-1 (1).ppt
LinuxOS-1 (1).pptSavitha74
 
CS403: Operating System : Lec 3 Types of OS (1) .pptx
CS403: Operating System : Lec 3 Types of OS (1) .pptxCS403: Operating System : Lec 3 Types of OS (1) .pptx
CS403: Operating System : Lec 3 Types of OS (1) .pptxAsst.prof M.Gokilavani
 
operating system ondesktop computer ( laptop)
operating system ondesktop  computer ( laptop)operating system ondesktop  computer ( laptop)
operating system ondesktop computer ( laptop)BandaruGowtham1
 
chapter05 - Operating System.pdf
chapter05 - Operating System.pdfchapter05 - Operating System.pdf
chapter05 - Operating System.pdfsatonaka3
 

Ähnlich wie Lecture1 (20)

Chapter 1: Introduction to Unix / Linux Kernel
Chapter 1: Introduction to Unix / Linux KernelChapter 1: Introduction to Unix / Linux Kernel
Chapter 1: Introduction to Unix / Linux Kernel
 
Apos week 1 4
Apos week 1   4Apos week 1   4
Apos week 1 4
 
Studies
StudiesStudies
Studies
 
linux software architecture
linux software architecture linux software architecture
linux software architecture
 
Unit 3 part a. operating system support
Unit 3 part a.  operating system support Unit 3 part a.  operating system support
Unit 3 part a. operating system support
 
operating system memory.pptx
operating system memory.pptxoperating system memory.pptx
operating system memory.pptx
 
os1-1_int.ppt
os1-1_int.pptos1-1_int.ppt
os1-1_int.ppt
 
os1-1_int.ppt
os1-1_int.pptos1-1_int.ppt
os1-1_int.ppt
 
1-intro - Copy (2).ppt
1-intro - Copy (2).ppt1-intro - Copy (2).ppt
1-intro - Copy (2).ppt
 
Supporting Research through "Desktop as a Service" models of e-infrastructure...
Supporting Research through "Desktop as a Service" models of e-infrastructure...Supporting Research through "Desktop as a Service" models of e-infrastructure...
Supporting Research through "Desktop as a Service" models of e-infrastructure...
 
Mca ii os u-5 unix linux file system
Mca  ii  os u-5 unix linux file systemMca  ii  os u-5 unix linux file system
Mca ii os u-5 unix linux file system
 
UNIX_Module 1.pdf
UNIX_Module 1.pdfUNIX_Module 1.pdf
UNIX_Module 1.pdf
 
UNIX INTERNALS UNIT-I
UNIX INTERNALS UNIT-IUNIX INTERNALS UNIT-I
UNIX INTERNALS UNIT-I
 
Distributed operating system
Distributed operating systemDistributed operating system
Distributed operating system
 
LinuxOS-1 (1).ppt
LinuxOS-1 (1).pptLinuxOS-1 (1).ppt
LinuxOS-1 (1).ppt
 
Presentation1.pdf
Presentation1.pdfPresentation1.pdf
Presentation1.pdf
 
CS403: Operating System : Lec 3 Types of OS (1) .pptx
CS403: Operating System : Lec 3 Types of OS (1) .pptxCS403: Operating System : Lec 3 Types of OS (1) .pptx
CS403: Operating System : Lec 3 Types of OS (1) .pptx
 
OS_MD_1.pdf
OS_MD_1.pdfOS_MD_1.pdf
OS_MD_1.pdf
 
operating system ondesktop computer ( laptop)
operating system ondesktop  computer ( laptop)operating system ondesktop  computer ( laptop)
operating system ondesktop computer ( laptop)
 
chapter05 - Operating System.pdf
chapter05 - Operating System.pdfchapter05 - Operating System.pdf
chapter05 - Operating System.pdf
 

Mehr von Downloadssu Fullmaza (12)

Learningtotakenotes 090420215959-phpapp02
Learningtotakenotes 090420215959-phpapp02Learningtotakenotes 090420215959-phpapp02
Learningtotakenotes 090420215959-phpapp02
 
Marzano summarizing-and-note-taking4349
Marzano summarizing-and-note-taking4349Marzano summarizing-and-note-taking4349
Marzano summarizing-and-note-taking4349
 
Network hardware 2
Network hardware 2Network hardware 2
Network hardware 2
 
Networking hardware (2)
Networking hardware (2)Networking hardware (2)
Networking hardware (2)
 
Networking hardware (2)
Networking hardware (2)Networking hardware (2)
Networking hardware (2)
 
Lec01
Lec01Lec01
Lec01
 
Lecture01 introduction
Lecture01 introductionLecture01 introduction
Lecture01 introduction
 
Networking hardware
Networking hardwareNetworking hardware
Networking hardware
 
Network
NetworkNetwork
Network
 
Chapter02
Chapter02Chapter02
Chapter02
 
Installing rhel-5-linux-redhat-enterprise-edition-stepbystep-1192652004798954-4
Installing rhel-5-linux-redhat-enterprise-edition-stepbystep-1192652004798954-4Installing rhel-5-linux-redhat-enterprise-edition-stepbystep-1192652004798954-4
Installing rhel-5-linux-redhat-enterprise-edition-stepbystep-1192652004798954-4
 
Chapter02
Chapter02Chapter02
Chapter02
 

Kürzlich hochgeladen

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKJago de Vreede
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Orbitshub
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 

Kürzlich hochgeladen (20)

Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Lecture1

  • 1. Fred Kuhns ( ) CS523S: Operating Systems CS523 Operating Systems Fred Kuhns Applied Research Laboratory Computer Science Washington University
  • 2. Fred Kuhns ( ) CS523S: Operating CS523 - Operating Systems • Instructor: Fred Kuhns • Phone: 935-6598 • Email: fredk@cs.wustl.edu • Office Hours: Tu/Th: 4:00 - 5:00PM • Location: TBD • Class times: Tu/Th: 2:30 - 4:00PM
  • 3. Fred Kuhns ( ) CS523S: Operating Course Materials • Textbook: Real-Time Systems, Jane W. S. Liu • Selected papers from the literature, • Class handouts and presentation material, • Class web page, • OS man pages and web accessible documentation, • UNIX account.
  • 4. Fred Kuhns ( ) CS523S: Operating Programming Projects • 3 projects plus a final project • Final project:  team/individual class presentations  address a system issue covered in class. May build on class projects. Report or implementation. • Project focus:  Correct, predictable behavior (of implementation)  Performance (efficient execution)  Completeness of design (address all issues)  "readability" of code (can I understand it)
  • 5. Fred Kuhns ( ) CS523S: Operating Exams, Homework and Grading • Weekly: Homework assignment or Quiz • Final Exam (no mid-term): Comprehensive • Relative weights: 25% Final exam 20% Quizzes 10% Homework 30% Programming projects (10% per project) 15% Final Project
  • 6. Fred Kuhns ( ) CS523S: Operating Course Overview Overview of OS design issues o Review of general purpose OS services o Intro to Advanced OS Topics: • Real-Time, Database, Distributed and Multi-processor Detailed analysis of conventional OS internals: o Focus on UNIX - Linux, BSD, SVR4 and Mach o Single/Multi-processor o Resource management Focus on Real-Time: design and implementation o Performance and predictability issues o Resource scheduling and managing concurrency
  • 7. Fred Kuhns ( ) CS523S: Operating Introduction • Functions of an Operating System Resource management User environment • Design Approaches Layered, Kernel and Virtual • Types of Advanced Operating Systems Distributed, Multiprocessor, Database and Real-time • Overview of UNIX (why do we care)
  • 8. Fred Kuhns ( ) CS523S: Operating Functions of an OS • Resource Management Time management - temporal properties CPU and disk transfer scheduling Space management main and secondary storage allocation Synchronization and deadlock handling c Accounting and status information s
  • 9. Fred Kuhns ( ) CS523S: Operating Functions of an OS (cont) • User Environment - OS layer transforms bare hardware machine into higher level abstractions Execution environment - process management, file manipulation, interrupt handling, I/O operations, language. Error detection and handling Protection and security Fault tolerance and failure recovery
  • 10. Fred Kuhns ( ) CS523S: Operating Design Approaches • Deal with complexities of modern systems • Separation of Policies and Mechanisms Policies - What should be done Mechanisms - How it should be done Levin, R., E. Cohen, W. Corwin, F. Pollack and W. Wulf, "Policy/Mechanism Separation in HYDRA," Proceedings of the 5th Symposium on Principles of Operating Systems, 1975, pp. 132-140. • Three common approaches: Layered Approach Kernel Approach Virtual Machine Approach
  • 11. Fred Kuhns ( ) CS523S: Operating Layered Approach Level Name Objects Example 13 Shell User programming env. Bash statements 12 User process User process Quit,kill,suspend,resume 11 Directories Directories Create,destroy,attach,list 10 Devices External: printer,display Create,open,close 9 File system Files Create,open,close 8 Communications Pipes Crreate,open,close 7 Virtual memory Segments,pages Read,write,fetch 6 Local secondary store Blocks,channel Read,write,fetch 5 Primitive process Process,semaphore Suspend,resume,wait 4 Interrupts Interrupt-handlers Invoke,mask,retry 3 Procedures Procedure,stack,display Mark stack,call,return 2 Instruction set Evaluation stack Load,store,add 1 Electronic circuit Registers,gates,buses Clear,transfer,activate Simplifies design, implementation and testing Modular by dividing OS into functional layers. HWresourceenvironment
  • 12. Fred Kuhns ( ) CS523S: Operating Kernel Based Approach Kernel contains a collection of primitives which are used to build the OS OS implements policy Kernel implements mechanisms Hardware kernel Operating system
  • 13. Fred Kuhns ( ) CS523S: Operating Virtual Machine Approach Virtual software layer over hardware Illusion of multiple instances of hardware Supports multiple instances of OSs Hardware Virtual machine software VM1 VM2 VM3 VM4
  • 14. Fred Kuhns ( ) CS523S: Operating • Layered: Dijkstra, E. W., "The Structure of THE Multiprogramming System", Communications of the ACM, May 1968, pp. 341-346. • Layered (Ring): Organick, E., The Multics System, MIT Press, Cambridge, MA. 1972. • Kernel Brinch Hansen, P., "The Nucleus of a Multiprogramming System", Communications of the ACM, Apr. 1970, pp. 238-241. Wulf, W., E. Cohen, W. Corwin, A. Jones, R. Levin, C. Pierson, and F. Pollack, "HYDRA: The Kernel of a Multiprocessor Operating System", Communications of the ACM, June 1974, pp. 337-345. • Virtual Seawright, L., and R. MacKinnon, "VM/370 - A Study of Multiplicity and Usefulness", IBM Systems Journal, 1979, pp. 4-17.
  • 15. Fred Kuhns ( ) CS523S: Operating Types of Advanced OSs Distributed Operating Systems Multiprocessor Operating Systems Database Operating Systems Real-time Operating Systems
  • 16. Fred Kuhns ( ) CS523S: Operating Distributed Operating Systems • Controls and manages resources for a network of autonomous computers manage both hardware and software resources behaves as a single monolithic system. • User not aware of program or resource location • Design issues same as traditional systems • Practical issues: lack of shared memory lack of global clock unpredictable communication delays.
  • 17. Fred Kuhns ( ) CS523S: Operating Multiprocessor Operating Systems • Consists of a set of processors that share a set of physical memory blocks share a common clock "share" over an interconnection network. • Control and manage resources hardware and software resources viewed as a uniprocessor system. • Design issues same as traditional system. • Practical issues: increased complexity of synchronization, scheduling, memory management, protection and security.
  • 18. Fred Kuhns ( ) CS523S: Operating Database Operating Systems • Database systems place increased demands on an operating system to efficiently support: concept of a transactions manage large volumes of data concurrency control system failure control
  • 19. Fred Kuhns ( ) CS523S: Operating Real-time Operating Systems • Place application specific special requirements on an operating system. • Policies and mechanisms are geared to ensuring jobs meet their deadlines. • Problem is one of resource scheduling and overall system utilization.
  • 20. Fred Kuhns ( ) CS523S: Operating Why UNIX • Historical significance • Advanced features developed for or ported to UNIX • Availability of source code and research papers • Importance to present and future research activities at WashU • Highlights key design and architectural issues
  • 21. Fred Kuhns ( ) CS523S: Operating Traditional UNIX kernel • Bloated kernel • Inflexible: supported single type of file system, process scheduling executable file format file system virtual memory loader block dev char dev kernel
  • 22. Fred Kuhns ( ) CS523S: Operating Modern UNIX • Separation of policy and mechanism • modular design and implementation (layered) AcrobatDocum ent
  • 23. Fred Kuhns ( ) CS523S: Operating References • Original UNIX implementation: D. M. Ritchie, and K. Thompson, “The UNIX Time-Sharing System”, Communications of the ACM, Vol. 17, No. 7, Jul. 1974, pp. 365-375.