SlideShare a Scribd company logo
1 of 52
Download to read offline
AAnn AAddaappttiivvee DDiissttrriibbuutteedd SSiimmuullaattoorr ffoorr 
CClloouudd aanndd MMaappRReedduuccee 
AAllggoorriitthhmmss aanndd AArrcchhiitteeccttuurreess 
IEEE/ACM 7th International Conference on Utility and Cloud Computing – 
UCC 2014. Dec 8th – 11th, 2014. 
Pradeeban Kathiravelu 
Luis Veiga 
INESC-ID Lisboa 
Instituto Superior Técnico, 
Universidade de Lisboa 
PPoowweerrppooiinntt TTeemmppllaatteess 1
Agenda 
•Introduction 
•Background 
•Solution Architecture 
•Implementation 
•Evaluation 
•Conclusion 
Powerpoint Templates 2
Introduction 
•Computing systems becoming 
increasingly larger. 
•Simulations empower researches. 
•Cloud simulators are mostly 
sequential and executed from a 
single computer. 
–CloudSim (Calheiros et al. 2009; Buyya et al. 2009; Calheiros et al. 2011) 
–SimGrid (Casanova 2001; Legrand et al. 2003; Casanova et al. 2008) 
–GreenCloud (Kliazovich et al. 2012) 
Powerpoint Templates 3
Motivation 
•Large and complex simulations. 
•Distributed Execution Frameworks. 
– Illusion of a single large system. 
•Clusters in the research labs. 
Powerpoint Templates 4 
•What if..?
Goals 
•An adaptive distributed cloud and 
MapReduce simulator. 
•Extending CloudSim Cloud Simulator 
– Leveraging in-memory data grids. 
• Hazelcast (Johns 2013) 
• Infinispan (Marchioni 2012) 
• ... 
Powerpoint Templates 5
Contributions 
•An adaptive distributed architecture 
– for cloud and MapReduce simulations. 
•A generic adaptive scaling algorithm. 
•A scalable middleware platform 
– elastic 
– multi-tenanted 
•Evaluation of MapReduce 
implementations. 
–Hazelcast vs Infinispan. 
Powerpoint Templates 6
Major Features of the Work 
•Simulations → Actual Technology. 
•Loosely coupled. 
•Fault-Tolerant. 
•Internal cycle-sharing. 
•Deployable over real clouds. 
Powerpoint Templates 7
Cloud2Sim 
Powerpoint Templates 8
Design and Deployment 
Storage, Execution, and Data Locality 
• Simulator–Initiator based Approach 
• Simulator–SimulatorSub based Approach 
•Multiple Simulator Instances Approach 
Powerpoint Templates 9
Cloud2Sim 
Execution 
Flow 
Powerpoint Templates 10
1. Objects 
Initialization 
& Scheduling 
Powerpoint Templates 11
2. Final Execution 
Powerpoint Templates 12
Cloud2Sim 
Execution 
Flow 
Powerpoint Templates 13
Powerpoint Templates 14 
Cloud2Sim 
Software 
Architecture
Algorithms: 
Dynamic Scaling and Elasticity 
Powerpoint Templates 15
Algorithms: 
Dynamic Scaling and Elasticity 
•Auto Scaling 
•Adaptive Scaling 
Powerpoint Templates 16
Auto Scaling 
Powerpoint Templates 17
Adaptive Scaling 
Powerpoint Templates 18
IntelligentAdaptiveScaler 
Powerpoint Templates 19
Subscribing for Scaling 
Powerpoint Templates 20
High Load 
Powerpoint Templates 21
Updating the flag 
Powerpoint Templates 22
Open Access 
Powerpoint Templates 23
Scaling Out 
Powerpoint Templates 24
Spawning an Initiator Instance 
Powerpoint Templates 25
Waiting Period.. 
Powerpoint Templates 26
Waiting Period.. 
Powerpoint Templates 27
Monitor for Scale Ins Too.. 
Powerpoint Templates 28
After some time.. 
Powerpoint Templates 29
Scale Out Again.. 
Powerpoint Templates 30
One more Initiator.. 
Powerpoint Templates 31
After more scalings.. 
Powerpoint Templates 32
Scale In.. 
Powerpoint Templates 33
Shut down an Initiator Instance 
Powerpoint Templates 34
Finally.. 
Powerpoint Templates 35
Parallel Simulations 
Powerpoint Templates 36
Multi-tenanted Deployments 
Powerpoint Templates 37
MapReduce 
Executions 
Powerpoint Templates 38
Implementation 
•CloudSim trunk forked 
•Hazelcast version 3.2 and Infinispan 
version 6.0.2. 
•Dependencies abstracted away. 
Powerpoint Templates 39
Evaluation 
•Setup: Cluster with 6 identical nodes 
–Intel® Core™ i7-2600K CPU @ 
3.40GHz and 12 GB memory. 
•Varying number of parameters 
–Cloudlets: 100 → 400. 
–VMs: 100 → 200. 
–Nodes: 1 → 6. 
Powerpoint Templates 40
Simulation 1: CloudSim and Cloud2Sim 
•Round robin application scheduling 
with 200 VMs and 400 cloudlets. 
Execution Time 
Powerpoint Templates 41
Varying number of Cloudlets 
Powerpoint Templates 42
With Adaptive Scaling 
Powerpoint Templates 43
Simulation 2: Matchmaking-based 
Application Scheduling 
Execution Time 
Powerpoint Templates 44
Speed up 
Powerpoint Templates 45
Simulation 3: MapReduce 
Implementations 
Powerpoint Templates 46
Scalability 
Powerpoint Templates 47 
Hazelcast 
Implementation 
Map() invocations = 3 
Infinispan 
Implementation 
Reduce() invocations = 159,069
Conclusion 
•Summary 
– Distribution strategies and algorithms for 
cloud and MapReduce simulations. 
– Implementation of an Elastic Middleware 
platform. 
– Scale and perform with multiple nodes and 
larger simulations. 
Powerpoint Templates 48
Conclusion 
•Conclusions 
–Distributed architecture facilitates larger 
simulations. 
– Faster execution of time-consuming 
applications. 
Powerpoint Templates 49
Conclusion 
Powerpoint Templates 50 
• Conclusions 
– Distributed architecture facilitates larger 
simulations. 
– Faster execution of time-consuming 
applications. 
• Future Work 
– State-aware Adaptive Scaling 
– Infinispan based Cloud Simulations. 
– Lighter objects. 
– Generic Elastic Middleware Platform-as-a- 
Service.
Conclusion 
Powerpoint Templates 51 
• Conclusions 
– Distributed architecture facilitates larger 
simulations. 
– Faster execution of time-consuming 
applications. 
• Future Work 
– State-aware Adaptive Scaling 
– Infinispan based Cloud Simulations. 
– Lighter objects. 
– Generic Elastic Middleware Platform-as-a- 
Service. 
TThhaannkk yyoouu!! QQuueessttiioonnss??
References 
 Buyya, R., R. Ranjan, & R. N. Calheiros (2009). Modeling and simulation of scalable cloud computing 
environments and the cloudsim toolkit: Challenges and opportunities. In High Performance Computing 
& Simulation, 2009. HPCS’09. International Conference on, pp. 1–11. IEEE. 
 Calheiros, R. N., R. Ranjan, C. A. De Rose, & R. Buyya (2009). Cloudsim: A novel framework for 
modeling and simulation of cloud computing infrastructures and services. arXiv preprint 
arXiv:0903.2525 
 Calheiros, R. N., R. Ranjan, A. Beloglazov, C. A. De Rose, & R. Buyya (2011). Cloudsim: a toolkit for 
modeling and simulation of cloud computing environments and evaluation of resource provisioning 
algorithms. Software: Practice and Experience 41 (1), 23–50. 
 Casanova, H. (2001). Simgrid: A toolkit for the simulation of application scheduling. In Cluster 
Computing and the Grid, 2001. Proceedings. First IEEE/ACM International Symposium on, pp. 430–437. 
IEEE. 
 Casanova, H., A. Legrand, & M. Quinson (2008). Simgrid: A generic framework for large-scale 
distributed experiments. In Computer Modeling and Simulation, 2008. UKSIM 2008. Tenth International 
Conference on, pp. 126–131. IEEE. 
 Johns, M. (2013). Getting Started with Hazelcast. Packt Publishing Ltd. 
 Kliazovich, D., P. Bouvry, & S. U. Khan (2012). Greencloud: a packet-level simulator of energy-aware 
cloud computing data centers. The Journal of Supercomputing 62 (3), 1263–1283. 
 Legrand, A., L. Marchal, & H. Casanova (2003). Scheduling distributed applications: the simgrid 
simulation framework. In Cluster Computing and the Grid, 2003. Proceedings. CCGrid 2003. 3rd 
IEEE/ACM International Symposium on, pp. 138–145. IEEE. 
 Marchioni, F. (2012). Infinispan Data Grid Platform. Packt Publishing Ltd. 
Powerpoint Templates 52

More Related Content

What's hot

IAAS Implementation to provide OS through Web interface
IAAS Implementation to provide OS through Web interfaceIAAS Implementation to provide OS through Web interface
IAAS Implementation to provide OS through Web interface
Sagar Patel
 
An Update on CSCS
An Update on CSCSAn Update on CSCS
An Update on CSCS
inside-BigData.com
 
High performance computing
High performance computingHigh performance computing
High performance computing
Guy Tel-Zur
 
Cloud nima afraz
Cloud nima afrazCloud nima afraz
Cloud nima afraz
Nima Afraz
 
Cluster Computing
Cluster ComputingCluster Computing
Cluster Computing
NIKHIL NAIR
 
Slide 1
Slide 1Slide 1
Slide 1
butest
 

What's hot (18)

A comparative study between cloud computing and fog
A comparative study between cloud computing and fog A comparative study between cloud computing and fog
A comparative study between cloud computing and fog
 
Nephele pegasus
Nephele pegasusNephele pegasus
Nephele pegasus
 
Cluster computing
Cluster computingCluster computing
Cluster computing
 
Cluster computing
Cluster computingCluster computing
Cluster computing
 
Cluster computing
Cluster computingCluster computing
Cluster computing
 
Cluster computing
Cluster computingCluster computing
Cluster computing
 
Bionimbus - An Overview (2010-v6)
Bionimbus - An Overview (2010-v6)Bionimbus - An Overview (2010-v6)
Bionimbus - An Overview (2010-v6)
 
IAAS Implementation to provide OS through Web interface
IAAS Implementation to provide OS through Web interfaceIAAS Implementation to provide OS through Web interface
IAAS Implementation to provide OS through Web interface
 
An Update on CSCS
An Update on CSCSAn Update on CSCS
An Update on CSCS
 
Large Scale On-Demand Image Processing For Disaster Relief
Large Scale On-Demand Image Processing For Disaster ReliefLarge Scale On-Demand Image Processing For Disaster Relief
Large Scale On-Demand Image Processing For Disaster Relief
 
Cluster and Grid Computing
Cluster and Grid ComputingCluster and Grid Computing
Cluster and Grid Computing
 
High performance computing
High performance computingHigh performance computing
High performance computing
 
Cloud nima afraz
Cloud nima afrazCloud nima afraz
Cloud nima afraz
 
Cluster Computing Seminar.
Cluster Computing Seminar.Cluster Computing Seminar.
Cluster Computing Seminar.
 
Cluster Computing
Cluster ComputingCluster Computing
Cluster Computing
 
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...
High Performance & High Throughput Computing - EUDAT Summer School (Giuseppe ...
 
Slide 1
Slide 1Slide 1
Slide 1
 
Lessons Learned from a Year's Worth of Benchmarking Large Data Clouds (Robert...
Lessons Learned from a Year's Worth of Benchmarking Large Data Clouds (Robert...Lessons Learned from a Year's Worth of Benchmarking Large Data Clouds (Robert...
Lessons Learned from a Year's Worth of Benchmarking Large Data Clouds (Robert...
 

Similar to An adaptive distributed simulator for cloud andmap reduce algorithms and architectures

Survey on cloud simulator
Survey on cloud simulatorSurvey on cloud simulator
Survey on cloud simulator
Habibur Rahman
 
Knowledge labs cc1
Knowledge labs cc1Knowledge labs cc1
Knowledge labs cc1
Padma Priya
 

Similar to An adaptive distributed simulator for cloud andmap reduce algorithms and architectures (20)

Cloud-Computing-Course-Description-and-Syllabus-Spring2020.pdf
Cloud-Computing-Course-Description-and-Syllabus-Spring2020.pdfCloud-Computing-Course-Description-and-Syllabus-Spring2020.pdf
Cloud-Computing-Course-Description-and-Syllabus-Spring2020.pdf
 
ClouNS - A Cloud-native Application Reference Model for Enterprise Architects
ClouNS - A Cloud-native Application Reference Model for Enterprise ArchitectsClouNS - A Cloud-native Application Reference Model for Enterprise Architects
ClouNS - A Cloud-native Application Reference Model for Enterprise Architects
 
Survey on cloud simulator
Survey on cloud simulatorSurvey on cloud simulator
Survey on cloud simulator
 
Scheduling in CCE
Scheduling in CCEScheduling in CCE
Scheduling in CCE
 
Nadim(093048) stz sir
Nadim(093048) stz sirNadim(093048) stz sir
Nadim(093048) stz sir
 
The RECAP Project: Large Scale Simulation Framework
The RECAP Project: Large Scale Simulation FrameworkThe RECAP Project: Large Scale Simulation Framework
The RECAP Project: Large Scale Simulation Framework
 
Data set cloudrank-d-hpca_tutorial
Data set cloudrank-d-hpca_tutorialData set cloudrank-d-hpca_tutorial
Data set cloudrank-d-hpca_tutorial
 
CloudLightning - Multiclouds: Challenges and Current Solutions
CloudLightning - Multiclouds: Challenges and Current SolutionsCloudLightning - Multiclouds: Challenges and Current Solutions
CloudLightning - Multiclouds: Challenges and Current Solutions
 
QuSandbox+NVIDIA Rapids
QuSandbox+NVIDIA RapidsQuSandbox+NVIDIA Rapids
QuSandbox+NVIDIA Rapids
 
CloudLightning and the OPM-based Use Case
CloudLightning and the OPM-based Use CaseCloudLightning and the OPM-based Use Case
CloudLightning and the OPM-based Use Case
 
cloud
cloudcloud
cloud
 
[Srijan Wednesday Webinars] How to Build a Cloud Native Platform for Enterpri...
[Srijan Wednesday Webinars] How to Build a Cloud Native Platform for Enterpri...[Srijan Wednesday Webinars] How to Build a Cloud Native Platform for Enterpri...
[Srijan Wednesday Webinars] How to Build a Cloud Native Platform for Enterpri...
 
Multi cloud PaaS
Multi cloud PaaSMulti cloud PaaS
Multi cloud PaaS
 
Microservices.pdf
Microservices.pdfMicroservices.pdf
Microservices.pdf
 
Knowledge labs cc1
Knowledge labs cc1Knowledge labs cc1
Knowledge labs cc1
 
RECAP Project Overview
RECAP Project OverviewRECAP Project Overview
RECAP Project Overview
 
Building ML Pipelines with DCOS
Building ML Pipelines with DCOSBuilding ML Pipelines with DCOS
Building ML Pipelines with DCOS
 
What the cloud has to do with a burning house?
What the cloud has to do with a burning house?What the cloud has to do with a burning house?
What the cloud has to do with a burning house?
 
CS8791 CLOUD COMPUTING_UNIT-I_FINAL_ppt (1).pptx
CS8791 CLOUD COMPUTING_UNIT-I_FINAL_ppt (1).pptxCS8791 CLOUD COMPUTING_UNIT-I_FINAL_ppt (1).pptx
CS8791 CLOUD COMPUTING_UNIT-I_FINAL_ppt (1).pptx
 
Week 1: Introduction to Cloud Computing - DSA 441 Cloud Computing
Week 1: Introduction to Cloud Computing - DSA 441 Cloud ComputingWeek 1: Introduction to Cloud Computing - DSA 441 Cloud Computing
Week 1: Introduction to Cloud Computing - DSA 441 Cloud Computing
 

More from Pradeeban Kathiravelu, Ph.D.

More from Pradeeban Kathiravelu, Ph.D. (20)

Google Summer of Code_2023.pdf
Google Summer of Code_2023.pdfGoogle Summer of Code_2023.pdf
Google Summer of Code_2023.pdf
 
Google Summer of Code (GSoC) 2022
Google Summer of Code (GSoC) 2022Google Summer of Code (GSoC) 2022
Google Summer of Code (GSoC) 2022
 
Google Summer of Code (GSoC) 2022
Google Summer of Code (GSoC) 2022Google Summer of Code (GSoC) 2022
Google Summer of Code (GSoC) 2022
 
Niffler: A DICOM Framework for Machine Learning and Processing Pipelines.
Niffler: A DICOM Framework for Machine Learning and Processing Pipelines.Niffler: A DICOM Framework for Machine Learning and Processing Pipelines.
Niffler: A DICOM Framework for Machine Learning and Processing Pipelines.
 
Google summer of code (GSoC) 2021
Google summer of code (GSoC) 2021Google summer of code (GSoC) 2021
Google summer of code (GSoC) 2021
 
A DICOM Framework for Machine Learning Pipelines against Real-Time Radiology ...
A DICOM Framework for Machine Learning Pipelines against Real-Time Radiology ...A DICOM Framework for Machine Learning Pipelines against Real-Time Radiology ...
A DICOM Framework for Machine Learning Pipelines against Real-Time Radiology ...
 
Google Summer of Code (GSoC) 2020 for mentors
Google Summer of Code (GSoC) 2020 for mentorsGoogle Summer of Code (GSoC) 2020 for mentors
Google Summer of Code (GSoC) 2020 for mentors
 
Google Summer of Code (GSoC) 2020
Google Summer of Code (GSoC) 2020Google Summer of Code (GSoC) 2020
Google Summer of Code (GSoC) 2020
 
Data Services with Bindaas: RESTful Interfaces for Diverse Data Sources
Data Services with Bindaas: RESTful Interfaces for Diverse Data SourcesData Services with Bindaas: RESTful Interfaces for Diverse Data Sources
Data Services with Bindaas: RESTful Interfaces for Diverse Data Sources
 
The UCLouvain Public Defense of my EMJD-DC Double Doctorate Ph.D. degree
The UCLouvain Public Defense of my EMJD-DC Double Doctorate Ph.D. degreeThe UCLouvain Public Defense of my EMJD-DC Double Doctorate Ph.D. degree
The UCLouvain Public Defense of my EMJD-DC Double Doctorate Ph.D. degree
 
My Ph.D. Defense - Software-Defined Systems for Network-Aware Service Compos...
 My Ph.D. Defense - Software-Defined Systems for Network-Aware Service Compos... My Ph.D. Defense - Software-Defined Systems for Network-Aware Service Compos...
My Ph.D. Defense - Software-Defined Systems for Network-Aware Service Compos...
 
My Ph.D. Defense - Software-Defined Systems for Network-Aware Service Composi...
My Ph.D. Defense - Software-Defined Systems for Network-Aware Service Composi...My Ph.D. Defense - Software-Defined Systems for Network-Aware Service Composi...
My Ph.D. Defense - Software-Defined Systems for Network-Aware Service Composi...
 
UCL Ph.D. Confirmation 2018
UCL Ph.D. Confirmation 2018UCL Ph.D. Confirmation 2018
UCL Ph.D. Confirmation 2018
 
Software-Defined Systems for Network-Aware Service Composition and Workflow P...
Software-Defined Systems for Network-Aware Service Composition and Workflow P...Software-Defined Systems for Network-Aware Service Composition and Workflow P...
Software-Defined Systems for Network-Aware Service Composition and Workflow P...
 
Moving bits with a fleet of shared virtual routers
Moving bits with a fleet of shared virtual routersMoving bits with a fleet of shared virtual routers
Moving bits with a fleet of shared virtual routers
 
Software-Defined Data Services: Interoperable and Network-Aware Big Data Exec...
Software-Defined Data Services: Interoperable and Network-Aware Big Data Exec...Software-Defined Data Services: Interoperable and Network-Aware Big Data Exec...
Software-Defined Data Services: Interoperable and Network-Aware Big Data Exec...
 
On-Demand Service-Based Big Data Integration: Optimized for Research Collabor...
On-Demand Service-Based Big Data Integration: Optimized for Research Collabor...On-Demand Service-Based Big Data Integration: Optimized for Research Collabor...
On-Demand Service-Based Big Data Integration: Optimized for Research Collabor...
 
Scalability and Resilience of Multi-Tenant Distributed Clouds in the Big Serv...
Scalability and Resilience of Multi-Tenant Distributed Clouds in the Big Serv...Scalability and Resilience of Multi-Tenant Distributed Clouds in the Big Serv...
Scalability and Resilience of Multi-Tenant Distributed Clouds in the Big Serv...
 
Software-Defined Inter-Cloud Composition of Big Services
Software-Defined Inter-Cloud Composition of Big ServicesSoftware-Defined Inter-Cloud Composition of Big Services
Software-Defined Inter-Cloud Composition of Big Services
 
Scalability and Resilience of Multi-Tenant Distributed Clouds in the Big Serv...
Scalability and Resilience of Multi-Tenant Distributed Clouds in the Big Serv...Scalability and Resilience of Multi-Tenant Distributed Clouds in the Big Serv...
Scalability and Resilience of Multi-Tenant Distributed Clouds in the Big Serv...
 

Recently uploaded

Recently uploaded (20)

A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Moment Distribution Method For Btech Civil
Moment Distribution Method For Btech CivilMoment Distribution Method For Btech Civil
Moment Distribution Method For Btech Civil
 
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLEGEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
GEAR TRAIN- BASIC CONCEPTS AND WORKING PRINCIPLE
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKARHAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
Unit 4_Part 1 CSE2001 Exception Handling and Function Template and Class Temp...
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 

An adaptive distributed simulator for cloud andmap reduce algorithms and architectures

  • 1. AAnn AAddaappttiivvee DDiissttrriibbuutteedd SSiimmuullaattoorr ffoorr CClloouudd aanndd MMaappRReedduuccee AAllggoorriitthhmmss aanndd AArrcchhiitteeccttuurreess IEEE/ACM 7th International Conference on Utility and Cloud Computing – UCC 2014. Dec 8th – 11th, 2014. Pradeeban Kathiravelu Luis Veiga INESC-ID Lisboa Instituto Superior Técnico, Universidade de Lisboa PPoowweerrppooiinntt TTeemmppllaatteess 1
  • 2. Agenda •Introduction •Background •Solution Architecture •Implementation •Evaluation •Conclusion Powerpoint Templates 2
  • 3. Introduction •Computing systems becoming increasingly larger. •Simulations empower researches. •Cloud simulators are mostly sequential and executed from a single computer. –CloudSim (Calheiros et al. 2009; Buyya et al. 2009; Calheiros et al. 2011) –SimGrid (Casanova 2001; Legrand et al. 2003; Casanova et al. 2008) –GreenCloud (Kliazovich et al. 2012) Powerpoint Templates 3
  • 4. Motivation •Large and complex simulations. •Distributed Execution Frameworks. – Illusion of a single large system. •Clusters in the research labs. Powerpoint Templates 4 •What if..?
  • 5. Goals •An adaptive distributed cloud and MapReduce simulator. •Extending CloudSim Cloud Simulator – Leveraging in-memory data grids. • Hazelcast (Johns 2013) • Infinispan (Marchioni 2012) • ... Powerpoint Templates 5
  • 6. Contributions •An adaptive distributed architecture – for cloud and MapReduce simulations. •A generic adaptive scaling algorithm. •A scalable middleware platform – elastic – multi-tenanted •Evaluation of MapReduce implementations. –Hazelcast vs Infinispan. Powerpoint Templates 6
  • 7. Major Features of the Work •Simulations → Actual Technology. •Loosely coupled. •Fault-Tolerant. •Internal cycle-sharing. •Deployable over real clouds. Powerpoint Templates 7
  • 9. Design and Deployment Storage, Execution, and Data Locality • Simulator–Initiator based Approach • Simulator–SimulatorSub based Approach •Multiple Simulator Instances Approach Powerpoint Templates 9
  • 10. Cloud2Sim Execution Flow Powerpoint Templates 10
  • 11. 1. Objects Initialization & Scheduling Powerpoint Templates 11
  • 12. 2. Final Execution Powerpoint Templates 12
  • 13. Cloud2Sim Execution Flow Powerpoint Templates 13
  • 14. Powerpoint Templates 14 Cloud2Sim Software Architecture
  • 15. Algorithms: Dynamic Scaling and Elasticity Powerpoint Templates 15
  • 16. Algorithms: Dynamic Scaling and Elasticity •Auto Scaling •Adaptive Scaling Powerpoint Templates 16
  • 17. Auto Scaling Powerpoint Templates 17
  • 20. Subscribing for Scaling Powerpoint Templates 20
  • 21. High Load Powerpoint Templates 21
  • 22. Updating the flag Powerpoint Templates 22
  • 23. Open Access Powerpoint Templates 23
  • 24. Scaling Out Powerpoint Templates 24
  • 25. Spawning an Initiator Instance Powerpoint Templates 25
  • 28. Monitor for Scale Ins Too.. Powerpoint Templates 28
  • 29. After some time.. Powerpoint Templates 29
  • 30. Scale Out Again.. Powerpoint Templates 30
  • 31. One more Initiator.. Powerpoint Templates 31
  • 32. After more scalings.. Powerpoint Templates 32
  • 33. Scale In.. Powerpoint Templates 33
  • 34. Shut down an Initiator Instance Powerpoint Templates 34
  • 39. Implementation •CloudSim trunk forked •Hazelcast version 3.2 and Infinispan version 6.0.2. •Dependencies abstracted away. Powerpoint Templates 39
  • 40. Evaluation •Setup: Cluster with 6 identical nodes –Intel® Core™ i7-2600K CPU @ 3.40GHz and 12 GB memory. •Varying number of parameters –Cloudlets: 100 → 400. –VMs: 100 → 200. –Nodes: 1 → 6. Powerpoint Templates 40
  • 41. Simulation 1: CloudSim and Cloud2Sim •Round robin application scheduling with 200 VMs and 400 cloudlets. Execution Time Powerpoint Templates 41
  • 42. Varying number of Cloudlets Powerpoint Templates 42
  • 43. With Adaptive Scaling Powerpoint Templates 43
  • 44. Simulation 2: Matchmaking-based Application Scheduling Execution Time Powerpoint Templates 44
  • 45. Speed up Powerpoint Templates 45
  • 46. Simulation 3: MapReduce Implementations Powerpoint Templates 46
  • 47. Scalability Powerpoint Templates 47 Hazelcast Implementation Map() invocations = 3 Infinispan Implementation Reduce() invocations = 159,069
  • 48. Conclusion •Summary – Distribution strategies and algorithms for cloud and MapReduce simulations. – Implementation of an Elastic Middleware platform. – Scale and perform with multiple nodes and larger simulations. Powerpoint Templates 48
  • 49. Conclusion •Conclusions –Distributed architecture facilitates larger simulations. – Faster execution of time-consuming applications. Powerpoint Templates 49
  • 50. Conclusion Powerpoint Templates 50 • Conclusions – Distributed architecture facilitates larger simulations. – Faster execution of time-consuming applications. • Future Work – State-aware Adaptive Scaling – Infinispan based Cloud Simulations. – Lighter objects. – Generic Elastic Middleware Platform-as-a- Service.
  • 51. Conclusion Powerpoint Templates 51 • Conclusions – Distributed architecture facilitates larger simulations. – Faster execution of time-consuming applications. • Future Work – State-aware Adaptive Scaling – Infinispan based Cloud Simulations. – Lighter objects. – Generic Elastic Middleware Platform-as-a- Service. TThhaannkk yyoouu!! QQuueessttiioonnss??
  • 52. References  Buyya, R., R. Ranjan, & R. N. Calheiros (2009). Modeling and simulation of scalable cloud computing environments and the cloudsim toolkit: Challenges and opportunities. In High Performance Computing & Simulation, 2009. HPCS’09. International Conference on, pp. 1–11. IEEE.  Calheiros, R. N., R. Ranjan, C. A. De Rose, & R. Buyya (2009). Cloudsim: A novel framework for modeling and simulation of cloud computing infrastructures and services. arXiv preprint arXiv:0903.2525  Calheiros, R. N., R. Ranjan, A. Beloglazov, C. A. De Rose, & R. Buyya (2011). Cloudsim: a toolkit for modeling and simulation of cloud computing environments and evaluation of resource provisioning algorithms. Software: Practice and Experience 41 (1), 23–50.  Casanova, H. (2001). Simgrid: A toolkit for the simulation of application scheduling. In Cluster Computing and the Grid, 2001. Proceedings. First IEEE/ACM International Symposium on, pp. 430–437. IEEE.  Casanova, H., A. Legrand, & M. Quinson (2008). Simgrid: A generic framework for large-scale distributed experiments. In Computer Modeling and Simulation, 2008. UKSIM 2008. Tenth International Conference on, pp. 126–131. IEEE.  Johns, M. (2013). Getting Started with Hazelcast. Packt Publishing Ltd.  Kliazovich, D., P. Bouvry, & S. U. Khan (2012). Greencloud: a packet-level simulator of energy-aware cloud computing data centers. The Journal of Supercomputing 62 (3), 1263–1283.  Legrand, A., L. Marchal, & H. Casanova (2003). Scheduling distributed applications: the simgrid simulation framework. In Cluster Computing and the Grid, 2003. Proceedings. CCGrid 2003. 3rd IEEE/ACM International Symposium on, pp. 138–145. IEEE.  Marchioni, F. (2012). Infinispan Data Grid Platform. Packt Publishing Ltd. Powerpoint Templates 52