SlideShare a Scribd company logo
An Operating System for Multicore and Clouds :
Mechanisms and Implementation
Authors :
David Wentzlaff, Charles Gruenwald, Nathan Beckmann, Kevin Modzelewski, Adam
Belay, Lamia Youseff, Jason Miller & Anant Agarwal
Computer Science and Artificial Intelligence Laboratory, MIT
Presenting By : Mohanadarshan (148241N) & Ireshika (138214C)
Content
● Motivation
● Problem
● Challenges in Muticore and Cloud systems.
● Solution
● Factored Operating Systems
● How FOS solves the problem
● Case Studies
● Results
● Conclusion
Motivation
Source : IEEE Spectrum's special report 2010 & Gartner report 2013
Problem
Multicore and Cloud systems cannot use existing operating systems.
● They cannot scale much.
● It put more responsibility on user to manage the system configurations
and resources.
● They does not take full advantage of the increased computational
capacity.
● Existing OS are designed targeting on machines which has smaller
number of cores.
● Inefficiency in managing faults in large scale systems (with many cores)
Challenges in Multicore & Cloud Systems
● Scalability
● Variability of Demand
● Faults
● Programming Challenges
Scalability
● Existing OSs are designed for single processor or to some limited
processors.
● There are many scalability limitation exists
➔ Limitations in locking
➔ Locality aliasing
➔ Reliance on shared memory.
● Cloud resources are virtually unlimited for a given user.
Variability of Demand
● Os needs to manage the live cores to match the demand. but existing OSs
only manage the single core (active or idle).
● Cloud computing makes more resources available on-demand (since user
expectation can change in run time)
● Demand is not static, it is dynamic.
Faults
● Hardware faults are more common in multicore or cloud computing
system, need to manage them
● System software (OS) must gracefully support dying cores and bit flips.
● Lack of tools to debug and detect faults in multicore or cloud systems.
Programming Challenges
● Uniprocessor OSs are works in multiprocessor system by adding locks to
OS data structure.
➔ Choosing correct lock granularity
➔ deadlock prevention
● Efficient large-scale lock based OS is error prone.
● Application needs to handle most of the scheduling works and needs to
manage the corresponding resources.
Solution
Need an Operating system which can be scalable and gives
solution for the challenges in Multicore and Cloud
operating system
FOS
Factored Operating System (FOS)
● It is a single system image operating system across both multicore and
cloud system (IaaS).
● Scalability and adaptability are the main design constraints.
FOS tackles OS scalability challenges by factoring the OS into component
system services. Here system services further divided in to internet inspired
services which communicate through message passing.
- File System service
- Scheduling
- Memory management
- Access to hardware &
- Fault tolerance
- Demand elasticity
Benefits of Single System Image
● Ease of administration
● Transparent sharing
● Informed optimization
● Consistency
● Fault tolerance
FOS Architecture
FOS Architecture (contd..)
● Libfos - Library FOS (Application communicate with servers through this).
● Hypervisor - A hypervisor or virtual machine monitor is a piece of
computer software, firmware or hardware that creates and runs virtual
machines
● Microkernel - A small microkernel runs on every core proving messaging
between applications and servers.
● Proxy network server - It manages the global name mapping
● Namecache - Cached, a small portion of the global namespace.
Why FOS?... How it solves?...
● OS is factored into function-specific services -Each service is parallel
and distributed. Communicate via messaging (Applications can used
shared memory if supported).
● Space multiplexing - Belief that there will soon be a time where the
number of cores in the system exceeds the number of active processes.
● OS adapts resource utilization to changing system needs - OS closely
manages how resources are used. Highly loaded services provisioned
more resources.
● Faults detected and handled by OS - OS services are monitored by
watchdog process. If a service fails a new instance spawned to meet the
demand.
Messaging
● Simply, focus on the application and communication patterns on a flat
communication medium.
● Operating system services are strictly implemented using messages for
communication.
● Messaging done via shared memory or network
● Intra machine communication used shared memory
● Sharing of data becomes much more explicit in the programming model.
● There are mailboxes for each processes, to store the delivered messages
by other process.
Naming
● Processes register a particular name for a mailbox
● When an application messages a particular service, the nameserver will
provide a member of the fleet that is best suited for handling the request.
● Currently, nameserver implementation uses the preliminary
implementation (RR or closest server) but planning to incorporate with
ideas like hash tables.
● Complexity dealing with separate forms of interprocess communication
in traditional cloud systems is abstracted beyond the naming and
messaging api.
OS Services
● Parallelizes each system service into a fleet of spatially distributed,
cooperating servers that easy to scale and dynamically adaptable to
changing demand.
● There are multiple fleets active in a system. (eg: file system fleet, name
fleet & etc…)
● To accommodate increased demand new fleet members are added
dynamically and vice versa.
● OS services are developed based on a cooperative multi-threaded
programming model; easy to use remote procedure call; serialization
facilities and data structures for common patterns of data sharing.
Case Study - File System
Case Study – Spawning Server
Create new server process on – decided by spawn server
Case Study – Elastic Fleet
• A watchdog process monitoring the queue length
• Add server to fleet
➔ Spawn, handshaking,
• Make global decisions of elastic fleet
Implementation
• Xen para-virtualized machine (PVM) OS
• Run on EC2 or Eucalyptus cloud infrastructure
• Configuration
➔ 16 machine cluster, each has 8 cores running at
3.16 GHz, 8G main memory, 1G Ethernet
Result - syscall
Result – fos network stack & app
Result - FS
Conclusion
● FOS provides scalability, fault tolerance & demand elasticity.
● FOS is scalable and adaptive, it allows application developer to focus on
application level problem solving without distractions from underlying
system infrastructure.
● FOS is an highly complex approach which move the complexity from
application level to OS level.
Interesting References
● http://software.intel.com/en-us/articles/performance-scaling-in-the-multi-
core-era
● http://spectrum.ieee.org/semiconductors/processors/multicore-cpus-
processor-proliferation
● http://www.rackspace.com/knowledge_center/whitepaper/understanding-
the-cloud-computing-stack-saas-paas-iaas
● http://machinedesign.com/news/processor-future-multicore
● http://groups.csail.mit.edu/carbon/docs/Wentzlaff.2009.OSR.fos.pdf
Thank You...
Ad

More Related Content

What's hot (20)

Distributed Computing
Distributed ComputingDistributed Computing
Distributed Computing
Prashant Tiwari
 
Distributed Processing
Distributed ProcessingDistributed Processing
Distributed Processing
Imtiaz Hussain
 
Microkernel architecture
Microkernel architecture Microkernel architecture
Microkernel architecture
RQK Khan
 
Locus Distributed Operating System
Locus Distributed Operating SystemLocus Distributed Operating System
Locus Distributed Operating System
Tamer Rezk
 
2. microkernel new
2. microkernel new2. microkernel new
2. microkernel new
AbDul ThaYyal
 
Cluster Computing
Cluster ComputingCluster Computing
Cluster Computing
AAKASH SINGH
 
Introduction to Parallel and Distributed Computing
Introduction to Parallel and Distributed ComputingIntroduction to Parallel and Distributed Computing
Introduction to Parallel and Distributed Computing
Sayed Chhattan Shah
 
Cluster Computing Seminar.
Cluster Computing Seminar.Cluster Computing Seminar.
Cluster Computing Seminar.
Balvant Biradar
 
Hierarchical architecture
Hierarchical architectureHierarchical architecture
Hierarchical architecture
brigeit
 
OSCh3
OSCh3OSCh3
OSCh3
Joe Christensen
 
Monolithic kernel
Monolithic kernelMonolithic kernel
Monolithic kernel
ARAVIND18MCS1004
 
Ch3
Ch3Ch3
Ch3
Lokesh Kannaiyan
 
cluster computing
cluster computingcluster computing
cluster computing
SANDEEPKUMARSINGH97
 
Computer cluster
Computer clusterComputer cluster
Computer cluster
Shiva Krishna Chandra Shekar
 
Parallel processing
Parallel processingParallel processing
Parallel processing
rajshreemuthiah
 
Distributed systems
Distributed systemsDistributed systems
Distributed systems
Cliff Ombachi
 
Introduction to Parallel Computing
Introduction to Parallel ComputingIntroduction to Parallel Computing
Introduction to Parallel Computing
Roshan Karunarathna
 
Distributed computing
Distributed computingDistributed computing
Distributed computing
Alokeparna Choudhury
 
Application Performance & Flexibility on Exokernel Systems paper review
Application Performance & Flexibility on Exokernel Systems paper reviewApplication Performance & Flexibility on Exokernel Systems paper review
Application Performance & Flexibility on Exokernel Systems paper review
Vimukthi Wickramasinghe
 
Cluster computing
Cluster computingCluster computing
Cluster computing
Venkat Sai Sharath Mudhigonda
 

Viewers also liked (9)

Organ donation
Organ donationOrgan donation
Organ donation
gerdowling
 
Organ donation
Organ donationOrgan donation
Organ donation
Viji Renjith
 
Air pollution viji power point presentation
Air pollution viji power point presentationAir pollution viji power point presentation
Air pollution viji power point presentation
Viji Renjith
 
Know About Organ Donation
Know About Organ DonationKnow About Organ Donation
Know About Organ Donation
Deepa Nair
 
Organ donation
Organ donationOrgan donation
Organ donation
Sandipan Dhar
 
Organ Donation - A Gift of Life
Organ Donation - A Gift of LifeOrgan Donation - A Gift of Life
Organ Donation - A Gift of Life
gather2share
 
Organ Donation Presentation - Save Lives
Organ Donation Presentation - Save LivesOrgan Donation Presentation - Save Lives
Organ Donation Presentation - Save Lives
saraburtis
 
Cloud operating systems
Cloud operating systemsCloud operating systems
Cloud operating systems
Datta Dharanikota
 
Persuasive speech organ donation powerpoint
Persuasive speech organ donation powerpointPersuasive speech organ donation powerpoint
Persuasive speech organ donation powerpoint
dmccallum01
 
Organ donation
Organ donationOrgan donation
Organ donation
gerdowling
 
Air pollution viji power point presentation
Air pollution viji power point presentationAir pollution viji power point presentation
Air pollution viji power point presentation
Viji Renjith
 
Know About Organ Donation
Know About Organ DonationKnow About Organ Donation
Know About Organ Donation
Deepa Nair
 
Organ Donation - A Gift of Life
Organ Donation - A Gift of LifeOrgan Donation - A Gift of Life
Organ Donation - A Gift of Life
gather2share
 
Organ Donation Presentation - Save Lives
Organ Donation Presentation - Save LivesOrgan Donation Presentation - Save Lives
Organ Donation Presentation - Save Lives
saraburtis
 
Persuasive speech organ donation powerpoint
Persuasive speech organ donation powerpointPersuasive speech organ donation powerpoint
Persuasive speech organ donation powerpoint
dmccallum01
 
Ad

Similar to An operating system for multicore and clouds: mechanism and implementation (20)

Symmetric multiprocessing and Microkernel
Symmetric multiprocessing and MicrokernelSymmetric multiprocessing and Microkernel
Symmetric multiprocessing and Microkernel
Manoraj Pannerselum
 
Session 2(Types of operating system).pptx
Session 2(Types of operating system).pptxSession 2(Types of operating system).pptx
Session 2(Types of operating system).pptx
naackrmu2023
 
Apos week 1 4
Apos week 1   4Apos week 1   4
Apos week 1 4
alixafar
 
Factored operating systems
Factored operating systemsFactored operating systems
Factored operating systems
Indika Munaweera Kankanamge
 
Distributed systems and scalability rules
Distributed systems and scalability rulesDistributed systems and scalability rules
Distributed systems and scalability rules
Oleg Tsal-Tsalko
 
Overview of Distributed Systems
Overview of Distributed SystemsOverview of Distributed Systems
Overview of Distributed Systems
vampugani
 
System models for distributed and cloud computing
System models for distributed and cloud computingSystem models for distributed and cloud computing
System models for distributed and cloud computing
purplesea
 
EMBEDDED OS
EMBEDDED OSEMBEDDED OS
EMBEDDED OS
AJAL A J
 
CS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfCS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdf
KishaKiddo
 
Cluster computing
Cluster computingCluster computing
Cluster computing
Raja' Masa'deh
 
Operating System DOS and Windows
Operating System DOS and WindowsOperating System DOS and Windows
Operating System DOS and Windows
YasirKhan357
 
distributed system original.pdf
distributed system original.pdfdistributed system original.pdf
distributed system original.pdf
KirimanyiJovanntanda
 
Epc 3.ppt
Epc 3.pptEpc 3.ppt
Epc 3.ppt
CasmoletJ
 
Factored Operating Systems paper review
Factored Operating Systems paper reviewFactored Operating Systems paper review
Factored Operating Systems paper review
Vimukthi Wickramasinghe
 
Operating System
Operating SystemOperating System
Operating System
Hitesh Mohapatra
 
ITM(2).ppt
ITM(2).pptITM(2).ppt
ITM(2).ppt
DimpyJindal4
 
Distributed Systems.pptx
Distributed Systems.pptxDistributed Systems.pptx
Distributed Systems.pptx
salutiontechnology
 
Chapter Introductionn to distributed system .pptx
Chapter Introductionn to distributed system .pptxChapter Introductionn to distributed system .pptx
Chapter Introductionn to distributed system .pptx
Tekle12
 
CSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating SystemCSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating System
ghayour abbas
 
Distributed Systems for Data Sciene and Analytics
Distributed Systems for Data Sciene and AnalyticsDistributed Systems for Data Sciene and Analytics
Distributed Systems for Data Sciene and Analytics
smartguykrish11
 
Symmetric multiprocessing and Microkernel
Symmetric multiprocessing and MicrokernelSymmetric multiprocessing and Microkernel
Symmetric multiprocessing and Microkernel
Manoraj Pannerselum
 
Session 2(Types of operating system).pptx
Session 2(Types of operating system).pptxSession 2(Types of operating system).pptx
Session 2(Types of operating system).pptx
naackrmu2023
 
Apos week 1 4
Apos week 1   4Apos week 1   4
Apos week 1 4
alixafar
 
Distributed systems and scalability rules
Distributed systems and scalability rulesDistributed systems and scalability rules
Distributed systems and scalability rules
Oleg Tsal-Tsalko
 
Overview of Distributed Systems
Overview of Distributed SystemsOverview of Distributed Systems
Overview of Distributed Systems
vampugani
 
System models for distributed and cloud computing
System models for distributed and cloud computingSystem models for distributed and cloud computing
System models for distributed and cloud computing
purplesea
 
EMBEDDED OS
EMBEDDED OSEMBEDDED OS
EMBEDDED OS
AJAL A J
 
CS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfCS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdf
KishaKiddo
 
Operating System DOS and Windows
Operating System DOS and WindowsOperating System DOS and Windows
Operating System DOS and Windows
YasirKhan357
 
Chapter Introductionn to distributed system .pptx
Chapter Introductionn to distributed system .pptxChapter Introductionn to distributed system .pptx
Chapter Introductionn to distributed system .pptx
Tekle12
 
CSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating SystemCSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating System
ghayour abbas
 
Distributed Systems for Data Sciene and Analytics
Distributed Systems for Data Sciene and AnalyticsDistributed Systems for Data Sciene and Analytics
Distributed Systems for Data Sciene and Analytics
smartguykrish11
 
Ad

Recently uploaded (20)

QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)
rccbatchplant
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Development of MLR, ANN and ANFIS Models for Estimation of PCUs at Different ...
Journal of Soft Computing in Civil Engineering
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
Level 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical SafetyLevel 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical Safety
JoseAlbertoCariasDel
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Structural Response of Reinforced Self-Compacting Concrete Deep Beam Using Fi...
Journal of Soft Computing in Civil Engineering
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 
QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)QA/QC Manager (Quality management Expert)
QA/QC Manager (Quality management Expert)
rccbatchplant
 
Introduction to FLUID MECHANICS & KINEMATICS
Introduction to FLUID MECHANICS &  KINEMATICSIntroduction to FLUID MECHANICS &  KINEMATICS
Introduction to FLUID MECHANICS & KINEMATICS
narayanaswamygdas
 
introduction to machine learining for beginers
introduction to machine learining for beginersintroduction to machine learining for beginers
introduction to machine learining for beginers
JoydebSheet
 
Data Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptxData Structures_Introduction to algorithms.pptx
Data Structures_Introduction to algorithms.pptx
RushaliDeshmukh2
 
Machine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptxMachine learning project on employee attrition detection using (2).pptx
Machine learning project on employee attrition detection using (2).pptx
rajeswari89780
 
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptxExplainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
Explainable-Artificial-Intelligence-XAI-A-Deep-Dive (1).pptx
MahaveerVPandit
 
DSP and MV the Color image processing.ppt
DSP and MV the  Color image processing.pptDSP and MV the  Color image processing.ppt
DSP and MV the Color image processing.ppt
HafizAhamed8
 
Smart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptxSmart_Storage_Systems_Production_Engineering.pptx
Smart_Storage_Systems_Production_Engineering.pptx
rushikeshnavghare94
 
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G..."Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
"Feed Water Heaters in Thermal Power Plants: Types, Working, and Efficiency G...
Infopitaara
 
Compiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptxCompiler Design_Lexical Analysis phase.pptx
Compiler Design_Lexical Analysis phase.pptx
RushaliDeshmukh2
 
Level 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical SafetyLevel 1-Safety.pptx Presentation of Electrical Safety
Level 1-Safety.pptx Presentation of Electrical Safety
JoseAlbertoCariasDel
 
Oil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdfOil-gas_Unconventional oil and gass_reseviours.pdf
Oil-gas_Unconventional oil and gass_reseviours.pdf
M7md3li2
 
new ppt artificial intelligence historyyy
new ppt artificial intelligence historyyynew ppt artificial intelligence historyyy
new ppt artificial intelligence historyyy
PianoPianist
 
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
DATA-DRIVEN SHOULDER INVERSE KINEMATICS YoungBeom Kim1 , Byung-Ha Park1 , Kwa...
charlesdick1345
 
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
211421893-M-Tech-CIVIL-Structural-Engineering-pdf.pdf
inmishra17121973
 
some basics electrical and electronics knowledge
some basics electrical and electronics knowledgesome basics electrical and electronics knowledge
some basics electrical and electronics knowledge
nguyentrungdo88
 
Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.Fort night presentation new0903 pdf.pdf.
Fort night presentation new0903 pdf.pdf.
anuragmk56
 
IntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdfIntroSlides-April-BuildWithAI-VertexAI.pdf
IntroSlides-April-BuildWithAI-VertexAI.pdf
Luiz Carneiro
 

An operating system for multicore and clouds: mechanism and implementation

  • 1. An Operating System for Multicore and Clouds : Mechanisms and Implementation Authors : David Wentzlaff, Charles Gruenwald, Nathan Beckmann, Kevin Modzelewski, Adam Belay, Lamia Youseff, Jason Miller & Anant Agarwal Computer Science and Artificial Intelligence Laboratory, MIT Presenting By : Mohanadarshan (148241N) & Ireshika (138214C)
  • 2. Content ● Motivation ● Problem ● Challenges in Muticore and Cloud systems. ● Solution ● Factored Operating Systems ● How FOS solves the problem ● Case Studies ● Results ● Conclusion
  • 3. Motivation Source : IEEE Spectrum's special report 2010 & Gartner report 2013
  • 4. Problem Multicore and Cloud systems cannot use existing operating systems. ● They cannot scale much. ● It put more responsibility on user to manage the system configurations and resources. ● They does not take full advantage of the increased computational capacity. ● Existing OS are designed targeting on machines which has smaller number of cores. ● Inefficiency in managing faults in large scale systems (with many cores)
  • 5. Challenges in Multicore & Cloud Systems ● Scalability ● Variability of Demand ● Faults ● Programming Challenges
  • 6. Scalability ● Existing OSs are designed for single processor or to some limited processors. ● There are many scalability limitation exists ➔ Limitations in locking ➔ Locality aliasing ➔ Reliance on shared memory. ● Cloud resources are virtually unlimited for a given user.
  • 7. Variability of Demand ● Os needs to manage the live cores to match the demand. but existing OSs only manage the single core (active or idle). ● Cloud computing makes more resources available on-demand (since user expectation can change in run time) ● Demand is not static, it is dynamic.
  • 8. Faults ● Hardware faults are more common in multicore or cloud computing system, need to manage them ● System software (OS) must gracefully support dying cores and bit flips. ● Lack of tools to debug and detect faults in multicore or cloud systems.
  • 9. Programming Challenges ● Uniprocessor OSs are works in multiprocessor system by adding locks to OS data structure. ➔ Choosing correct lock granularity ➔ deadlock prevention ● Efficient large-scale lock based OS is error prone. ● Application needs to handle most of the scheduling works and needs to manage the corresponding resources.
  • 10. Solution Need an Operating system which can be scalable and gives solution for the challenges in Multicore and Cloud operating system FOS
  • 11. Factored Operating System (FOS) ● It is a single system image operating system across both multicore and cloud system (IaaS). ● Scalability and adaptability are the main design constraints. FOS tackles OS scalability challenges by factoring the OS into component system services. Here system services further divided in to internet inspired services which communicate through message passing. - File System service - Scheduling - Memory management - Access to hardware & - Fault tolerance - Demand elasticity
  • 12. Benefits of Single System Image ● Ease of administration ● Transparent sharing ● Informed optimization ● Consistency ● Fault tolerance
  • 14. FOS Architecture (contd..) ● Libfos - Library FOS (Application communicate with servers through this). ● Hypervisor - A hypervisor or virtual machine monitor is a piece of computer software, firmware or hardware that creates and runs virtual machines ● Microkernel - A small microkernel runs on every core proving messaging between applications and servers. ● Proxy network server - It manages the global name mapping ● Namecache - Cached, a small portion of the global namespace.
  • 15. Why FOS?... How it solves?... ● OS is factored into function-specific services -Each service is parallel and distributed. Communicate via messaging (Applications can used shared memory if supported). ● Space multiplexing - Belief that there will soon be a time where the number of cores in the system exceeds the number of active processes. ● OS adapts resource utilization to changing system needs - OS closely manages how resources are used. Highly loaded services provisioned more resources. ● Faults detected and handled by OS - OS services are monitored by watchdog process. If a service fails a new instance spawned to meet the demand.
  • 16. Messaging ● Simply, focus on the application and communication patterns on a flat communication medium. ● Operating system services are strictly implemented using messages for communication. ● Messaging done via shared memory or network ● Intra machine communication used shared memory ● Sharing of data becomes much more explicit in the programming model. ● There are mailboxes for each processes, to store the delivered messages by other process.
  • 17. Naming ● Processes register a particular name for a mailbox ● When an application messages a particular service, the nameserver will provide a member of the fleet that is best suited for handling the request. ● Currently, nameserver implementation uses the preliminary implementation (RR or closest server) but planning to incorporate with ideas like hash tables. ● Complexity dealing with separate forms of interprocess communication in traditional cloud systems is abstracted beyond the naming and messaging api.
  • 18. OS Services ● Parallelizes each system service into a fleet of spatially distributed, cooperating servers that easy to scale and dynamically adaptable to changing demand. ● There are multiple fleets active in a system. (eg: file system fleet, name fleet & etc…) ● To accommodate increased demand new fleet members are added dynamically and vice versa. ● OS services are developed based on a cooperative multi-threaded programming model; easy to use remote procedure call; serialization facilities and data structures for common patterns of data sharing.
  • 19. Case Study - File System
  • 20. Case Study – Spawning Server Create new server process on – decided by spawn server
  • 21. Case Study – Elastic Fleet • A watchdog process monitoring the queue length • Add server to fleet ➔ Spawn, handshaking, • Make global decisions of elastic fleet
  • 22. Implementation • Xen para-virtualized machine (PVM) OS • Run on EC2 or Eucalyptus cloud infrastructure • Configuration ➔ 16 machine cluster, each has 8 cores running at 3.16 GHz, 8G main memory, 1G Ethernet
  • 24. Result – fos network stack & app
  • 26. Conclusion ● FOS provides scalability, fault tolerance & demand elasticity. ● FOS is scalable and adaptive, it allows application developer to focus on application level problem solving without distractions from underlying system infrastructure. ● FOS is an highly complex approach which move the complexity from application level to OS level.
  • 27. Interesting References ● http://software.intel.com/en-us/articles/performance-scaling-in-the-multi- core-era ● http://spectrum.ieee.org/semiconductors/processors/multicore-cpus- processor-proliferation ● http://www.rackspace.com/knowledge_center/whitepaper/understanding- the-cloud-computing-stack-saas-paas-iaas ● http://machinedesign.com/news/processor-future-multicore ● http://groups.csail.mit.edu/carbon/docs/Wentzlaff.2009.OSR.fos.pdf