SlideShare a Scribd company logo
1 of 28
Download to read offline
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...

More Related Content

What's hot

Distributed Computing
Distributed ComputingDistributed Computing
Distributed ComputingPrashant Tiwari
 
Distributed Processing
Distributed ProcessingDistributed Processing
Distributed ProcessingImtiaz 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 SystemTamer Rezk
 
2. microkernel new
2. microkernel new2. microkernel new
2. microkernel newAbDul ThaYyal
 
Cluster Computing
Cluster ComputingCluster Computing
Cluster ComputingAAKASH SINGH
 
Introduction to Parallel and Distributed Computing
Introduction to Parallel and Distributed ComputingIntroduction to Parallel and Distributed Computing
Introduction to Parallel and Distributed ComputingSayed Chhattan Shah
 
Cluster Computing Seminar.
Cluster Computing Seminar.Cluster Computing Seminar.
Cluster Computing Seminar.Balvant Biradar
 
Hierarchical architecture
Hierarchical architectureHierarchical architecture
Hierarchical architecturebrigeit
 
Parallel processing
Parallel processingParallel processing
Parallel processingrajshreemuthiah
 
Distributed systems
Distributed systemsDistributed systems
Distributed systemsCliff Ombachi
 
Introduction to Parallel Computing
Introduction to Parallel ComputingIntroduction to Parallel Computing
Introduction to Parallel ComputingRoshan Karunarathna
 
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 reviewVimukthi Wickramasinghe
 

What's hot (20)

Distributed Computing
Distributed ComputingDistributed Computing
Distributed Computing
 
Distributed Processing
Distributed ProcessingDistributed Processing
Distributed Processing
 
Microkernel architecture
Microkernel architecture Microkernel architecture
Microkernel architecture
 
Locus Distributed Operating System
Locus Distributed Operating SystemLocus Distributed Operating System
Locus Distributed Operating System
 
2. microkernel new
2. microkernel new2. microkernel new
2. microkernel new
 
Cluster Computing
Cluster ComputingCluster Computing
Cluster Computing
 
Introduction to Parallel and Distributed Computing
Introduction to Parallel and Distributed ComputingIntroduction to Parallel and Distributed Computing
Introduction to Parallel and Distributed Computing
 
Cluster Computing Seminar.
Cluster Computing Seminar.Cluster Computing Seminar.
Cluster Computing Seminar.
 
Hierarchical architecture
Hierarchical architectureHierarchical architecture
Hierarchical architecture
 
OSCh3
OSCh3OSCh3
OSCh3
 
Monolithic kernel
Monolithic kernelMonolithic kernel
Monolithic kernel
 
Ch3
Ch3Ch3
Ch3
 
cluster computing
cluster computingcluster computing
cluster computing
 
Computer cluster
Computer clusterComputer cluster
Computer cluster
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Distributed systems
Distributed systemsDistributed systems
Distributed systems
 
Introduction to Parallel Computing
Introduction to Parallel ComputingIntroduction to Parallel Computing
Introduction to Parallel Computing
 
Distributed computing
Distributed computingDistributed computing
Distributed computing
 
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
 
Cluster computing
Cluster computingCluster computing
Cluster computing
 

Viewers also liked

Organ donation
Organ donationOrgan donation
Organ donationgerdowling
 
Organ donation
Organ donationOrgan donation
Organ donationViji Renjith
 
Air pollution viji power point presentation
Air pollution viji power point presentationAir pollution viji power point presentation
Air pollution viji power point presentationViji Renjith
 
Know About Organ Donation
Know About Organ DonationKnow About Organ Donation
Know About Organ DonationDeepa Nair
 
Organ donation
Organ donationOrgan donation
Organ donationSandipan Dhar
 
Organ Donation - A Gift of Life
Organ Donation - A Gift of LifeOrgan Donation - A Gift of Life
Organ Donation - A Gift of Lifegather2share
 
Organ Donation Presentation - Save Lives
Organ Donation Presentation - Save LivesOrgan Donation Presentation - Save Lives
Organ Donation Presentation - Save Livessaraburtis
 
Cloud operating systems
Cloud operating systemsCloud operating systems
Cloud operating systemsDatta Dharanikota
 
Persuasive speech organ donation powerpoint
Persuasive speech organ donation powerpointPersuasive speech organ donation powerpoint
Persuasive speech organ donation powerpointdmccallum01
 

Viewers also liked (9)

Organ donation
Organ donationOrgan donation
Organ donation
 
Organ donation
Organ donationOrgan donation
Organ donation
 
Air pollution viji power point presentation
Air pollution viji power point presentationAir pollution viji power point presentation
Air pollution viji power point presentation
 
Know About Organ Donation
Know About Organ DonationKnow About Organ Donation
Know About Organ Donation
 
Organ donation
Organ donationOrgan donation
Organ donation
 
Organ Donation - A Gift of Life
Organ Donation - A Gift of LifeOrgan Donation - A Gift of Life
Organ Donation - A Gift of Life
 
Organ Donation Presentation - Save Lives
Organ Donation Presentation - Save LivesOrgan Donation Presentation - Save Lives
Organ Donation Presentation - Save Lives
 
Cloud operating systems
Cloud operating systemsCloud operating systems
Cloud operating systems
 
Persuasive speech organ donation powerpoint
Persuasive speech organ donation powerpointPersuasive speech organ donation powerpoint
Persuasive speech organ donation powerpoint
 

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

Symmetric multiprocessing and Microkernel
Symmetric multiprocessing and MicrokernelSymmetric multiprocessing and Microkernel
Symmetric multiprocessing and MicrokernelManoraj Pannerselum
 
Apos week 1 4
Apos week 1   4Apos week 1   4
Apos week 1 4alixafar
 
Distributed systems and scalability rules
Distributed systems and scalability rulesDistributed systems and scalability rules
Distributed systems and scalability rulesOleg Tsal-Tsalko
 
Overview of Distributed Systems
Overview of Distributed SystemsOverview of Distributed Systems
Overview of Distributed Systemsvampugani
 
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 computingpurplesea
 
EMBEDDED OS
EMBEDDED OSEMBEDDED OS
EMBEDDED OSAJAL A J
 
CS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfCS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfKishaKiddo
 
Cluster computing
Cluster computingCluster computing
Cluster computingRaja' Masa'deh
 
Operating System DOS and Windows
Operating System DOS and WindowsOperating System DOS and Windows
Operating System DOS and WindowsYasirKhan357
 
distributed system original.pdf
distributed system original.pdfdistributed system original.pdf
distributed system original.pdfKirimanyiJovanntanda
 
Epc 3.ppt
Epc 3.pptEpc 3.ppt
Epc 3.pptCasmoletJ
 
Factored Operating Systems paper review
Factored Operating Systems paper reviewFactored Operating Systems paper review
Factored Operating Systems paper reviewVimukthi Wickramasinghe
 
Distributed Systems.pptx
Distributed Systems.pptxDistributed Systems.pptx
Distributed Systems.pptxsalutiontechnology
 
Chapter Introductionn to distributed system .pptx
Chapter Introductionn to distributed system .pptxChapter Introductionn to distributed system .pptx
Chapter Introductionn to distributed system .pptxTekle12
 
CSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating SystemCSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating Systemghayour abbas
 
Types of operating system
Types of operating systemTypes of operating system
Types of operating systemMohammad Alam
 

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
 
Apos week 1 4
Apos week 1   4Apos week 1   4
Apos week 1 4
 
Factored operating systems
Factored operating systemsFactored operating systems
Factored operating systems
 
Distributed systems and scalability rules
Distributed systems and scalability rulesDistributed systems and scalability rules
Distributed systems and scalability rules
 
Overview of Distributed Systems
Overview of Distributed SystemsOverview of Distributed Systems
Overview of Distributed Systems
 
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
 
EMBEDDED OS
EMBEDDED OSEMBEDDED OS
EMBEDDED OS
 
CS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdfCS8603_Notes_003-1_edubuzz360.pdf
CS8603_Notes_003-1_edubuzz360.pdf
 
Cluster computing
Cluster computingCluster computing
Cluster computing
 
Operating System DOS and Windows
Operating System DOS and WindowsOperating System DOS and Windows
Operating System DOS and Windows
 
distributed system original.pdf
distributed system original.pdfdistributed system original.pdf
distributed system original.pdf
 
Epc 3.ppt
Epc 3.pptEpc 3.ppt
Epc 3.ppt
 
Factored Operating Systems paper review
Factored Operating Systems paper reviewFactored Operating Systems paper review
Factored Operating Systems paper review
 
Operating System
Operating SystemOperating System
Operating System
 
ITM(2).ppt
ITM(2).pptITM(2).ppt
ITM(2).ppt
 
Distributed Systems.pptx
Distributed Systems.pptxDistributed Systems.pptx
Distributed Systems.pptx
 
Chapter Introductionn to distributed system .pptx
Chapter Introductionn to distributed system .pptxChapter Introductionn to distributed system .pptx
Chapter Introductionn to distributed system .pptx
 
CSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating SystemCSI-503 - 11.Distributed Operating System
CSI-503 - 11.Distributed Operating System
 
Types of operating system
Types of operating systemTypes of operating system
Types of operating system
 
Types of os
Types of osTypes of os
Types of os
 

Recently uploaded

🔝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...9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...srsj9000
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and usesDevarapalliHaritha
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
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
 
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
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
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
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxKartikeyaDwivedi3
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
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
 
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
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfAsst.prof M.Gokilavani
 
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
 

Recently uploaded (20)

🔝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...
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
Gfe Mayur Vihar Call Girls Service WhatsApp -> 9999965857 Available 24x7 ^ De...
 
power system scada applications and uses
power system scada applications and usespower system scada applications and uses
power system scada applications and uses
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
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
 
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
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
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 )
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
Concrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptxConcrete Mix Design - IS 10262-2019 - .pptx
Concrete Mix Design - IS 10262-2019 - .pptx
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
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
 
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...
 
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdfCCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
CCS355 Neural Network & Deep Learning Unit II Notes with Question bank .pdf
 
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
 

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