SlideShare a Scribd company logo
1 of 35
First National Workshop of Cloud Computing
Amirkabir University of Technology
Persented by: Neda Maleki
nedamaleki87@gmail.com
CloudSim: A Toolkit for Modeling and
Simulation of
Cloud Computing Environments
OutLine
• Introduction
• Related Work
• CloudSim Architecture
• CloudSim Modelings
• Design and Implementation
• CloudSim Steps
• Conclusions and Future works
• Green Cloud
Introduction(1/2):Clo
ud
• Cloud computing delivers:
XaaS
• X
:{Software, Platform, Infrastr
ucture }
So users can access and
deploy applications from
anywhere in the Internet
Introduction(2/2):Why
Simulation?
Cloud Providor Challenges:
• Maintain Quality of Service
• Efficient Resourse Utilization
• Dynamic Workload
• Violation of Service Level Agreement
• Difficulties in Testing
It’s not possible to perform benchmarking
experiments in repeatable, dependable, and
scalable environment using real-world Cloud.
Possible alternative: Simulation Tool
Related Works
Grid simulators:
GridSim
SimGrid
OptoSim
GangSim
But none of them are
able to isolate the
multi-layer service
abstractions(SaaS/Pa
aS/IaaS)
differentiation and
model the virtualized
resources required by
Cloud. So:
Main Contribution:
CloudSim
 A holistic software framework for
modeling Cloud computing environments
And
Performance testing application services.
Features & Advantages
Features
• Discrete Time Event-Driven
• Support modeling and simulation of large scale
Cloud computing environments, including data
centers
• Support simulation of network connections among
simulated elements
Advantages
• Time effectiveness
• Flexibility and applicability
• Test policies in repeatable and controllable
environment
• Tune system bottlenecks before deploying on real
clouds
Layered CloudSim Architecture(1/7)
Modeling in Cloudsim (1/5)
 Modeling DataCenter
 Modeling VM Allocation
 Modeling Network Behavior
 Modeling Dynamic Workloads
 Modeling Power Consumption
CloudSim Steps(1/2)
a
broker
(VMs , Apps)
Cloud
Information
Service(CIS)
Is Registered all
Datacenters and
their
characteristics
Cloud
Datacenter A
Cloud
Datacenter B
Cloud
Datacenter C
Allocation Policies: Enough
Capacity,Ram,Storage,Bandwidth
VM1,V10,VM6,VM7
VM2,VM4
VM9,V3,VM5
VM8
Scheduling Policies: Sharing of Host Mips
between VMs
• Space Shared
• Time Shared
DataCenter Modeling
 Number of Hosts, VMs and Cloudlets (tasks)
o Host(mips, ram, storage, bandwidth)
o Datacenter(arch, os, vmm, hostlist, cost
mem/bw/storage)
 VM
o MIPS, pesNumber(no. of
cpu), Ram(MB), BW(MB/s)
 Cloudlet
o Length (MI), pesNumber, input Size, output
VM Allocation Modeling
• Time Shared policy
• Space Shared Policy
Simulation Setup:
========== OUTPUT ==========
Cloudlet ID STATUS Data center ID VM ID Time Start
Time Finish Time
0 SUCCESS 2 0 2
0.1 2.1
2 SUCCESS 2 0 2
0.1 2.1
1 SUCCESS 2 1 2
0.1 2.1
3 SUCCESS 2 1 2
0.1 2.1
*****Datacenter: Datacenter_0*****
 1 datecenter
 1 dual-core host, each core'mips: 1000
 2 vm, mips:1000
 4 cloudlets, length: 1000mips
 core1 deal with two cloudlets(t1 and t2), and core2 deal with
the other two cloudlets(t3 and t4), so, all cloudlets should
finished at 2.1s
Network Modeling
• Latency Matrix
Delay time from entity i to
entity j
Entity i Entity j
Dynamic Workload Modeling
• The Strategy is to Vary VM Utilization!
25% 43% 60% 30% 10% 90% ….
Delay= not all the
time, CPU is utilized
Design and Implementation(1/2)
CloudSim Class Design Diagram
Design and Implementation(2/2)
Simulation Data Flow
Design and Impelementation(3/4)
CloudSim Sequence Diagram
Conclusion
 Time effectiveness
 Flexibility and applicability
 Test services in repeatable and
controllable environment
 Tune system bottlenecks before
deploying on real clouds
Green Cloud
Power(1/4):Powering Cloud
Infrastructure
• Modern data centers, operating under the
Cloud computing model, are hosting a variety
of applications ranging from those that run for
a few seconds (e.g. serving requests of web
applications such as e-commerce and social
networks portals) to those that run for longer
periods of time (e.g. large dataset
processing).
• So, Cloud Data Centers consume excessive
amount of energy:
• According to McKinsey report on “Revolutionizing
Data Center Energy Efficiency” :
• A typical data center consumes as much energy as
25,000 households!!!
Power (1/2)
 Data centers are not only
expensive to maintain, but
also unfriendly to the
environment.
 High energy costs and huge
carbon emission are incurred
due to the massive amount of
electricity needed to power and
cool the numerous servers
hosted in these data centers.
Power Consumption in the Datacenter
Compute resources
and particularly servers
are at the heart of a
complex, evolving
system! They
Consumes most power.
Where Does the Go?
Google Datacenter
2007
Pow
er
Levels of Power
Consideration(1/2):
System level
System level
DPMs
DVS
DPS
DVFS
DCD
SPMs
Low Level Design:
Gates,Transistor
 The objective of PA computing/communications is to improve
power management and consumption using the awareness of
power consumption of devices.
 Recent devices (CPU, disk, communication links, etc.) support
multiple power modes.
DVS(Dynamic Voltage Scaling)
• DVS (Dynamic Voltage Scaling) technique
– Reducing the dynamic energy consumption by lowering the supply voltage at the
cost of performance degradation
– Recent processors support such ability to adjust the supply voltage dynamically.
– The dynamic energy consumption = * Vdd2 * f
• Vdd : the supply voltage
• f : the number of clock cycle
• An example
5.02
10ms 25ms
deadline
power
power deadline
10ms 25ms
(a) Supply voltage = 5.0 V (b) Supply voltage = 2.0 V
2.02
Levels of Power
Consideration(2/2):
DataCenter Level
Data center level
Virtualization
System resources
Target systems
Goal
Power saving techniques
Workload
Yes
No
Multiple resources
Single resource
Homogeneous
Heterogeneous
Minimize power / energy
consumption
Minimize performance
loss
DVFS
Meet power budget
Resource throttling
DCD
Arbitrary
Real-time applications
HPC-applications
Workload consolidation
A Key to Power Saving!
Power On Power Off
Pool of
physical
computer
nodes
Virtualization layer
(VMMs, local resources managers)
Consumer, scientific and business
applications
Global resource managers
User User User
VM provisioning SLA negotiation Application requests
Virtual
Machines
and
users’
applications
WWW: Three Sub Problems
• When to migrate VMs?
• Host overload detection algorithms
• Host underload detection algorithms
• Which VMs to migrate?
• VM selection algorithms
• Where to migrate VMs?
• VM placement algorithms
Algorithms in each w
 Host overload detection
 Adaptive utilization threshold based algorithms
 Median Absolute Deviation algorithm (MAD)
 Interquartile Range algorithm (IQR)
 Regression based algorithms
• Local Regression algorithm (LR)
• Robust Local Regression algorithm (LRR)
 Host underload detection algorithms
 Migrating the VMs from the least utilized host
 VM selection algorithms
 Minimum Migration Time policy (MMT)
 Random Selection policy (RS)
 Maximum Correlation policy (MC)
 VM placement algorithms
 Heuristic for the bin-packing problem – Power-Aware Best Fit
Decreasing algorithm (PABFD)
Performance Metrics
SLA violation metrics
• Overloading Time Fraction (OTF) - the time
fraction, during which active hosts experienced
the 100% CPU utilization
• Performance Degradation due to VM Migrations
(PDM)
• A combined SLA Violation metric (SLAV):
SLAV = OTF * PDM
A combined metric that captures both energy
consumption and the level of SLA
violations, Energy and SLA Violation (ESV):
ESV = Energy * SLAV
Real Workloads
• Workload traces from more than 1000 VMs from
servers located in more than 500 places around the
world.
• The data were obtained from the CoMon project, a
monitoring infrastructure for PlanetLab
• PlanetLab is a distributed execution environment for
doing benchmarked experiments . Totally it is a
global research network that supports the
development of new network services.
• A Data Center consisting 800 heterogeneous
physical servers containing HP ProLiant ML110 G4
and HP ProLiant ML110 G5 servers.
• More than 1000 Heterogeneous VMs corresponding
to Amazon EC2 instance types.
Content of WorkLoad Files
 These files contain CPU utilization values measured
every 5 minutes in PlanetLab's VMs for one day so:
One day=24 hours= 5minutes*288
 CloudSim contain a class called :
UtilizationModelPlanetLabInMemory
which can be used to read those workload traces.
 An example: String inputFolder =
Dvfs.class.getClassLoader().getResource("workload/pl
anetlab").getPath();
 String outputFolder = "output";
 String workload = "20110303"; // PlanetLab workload
Number of
Samples
References
 R. Buyya, A. Beloglazov, J.
Abawajy, Energy-Efficient Management of
Data Center Resources for Cloud
Computing: A Vision, Architectural
Elements, and Open
Challenges, Proceedings of the 2010
International Conference on Parallel and
Distributed Processing Techniques and
Applications (PDPTA2010), Las
Vegas, USA, July 12-15, 2010.
 A. Beloglazov, R. Buyya, Y. Lee, A.
Zomaya, A Taxonomy and Survey of
Energy-Efficient Data Centers and Cloud
Computing Systems, Advances in
Computers, Volume 82, 47-111pp, M.
Zelkowitz
(editor), Elsevier, Amsterdam, The
Netherlands,March 2011.
 S. Garg, C. Yeo, A Anandasivam, R.
Buyya, Environment-Conscious
Scheduling of HPC Applications on
Distributed Cloud-oriented Data
Thanks for your attention!
Any Questions , Suggestions and
Comments?

More Related Content

What's hot

Cloudstack for beginners
Cloudstack for beginnersCloudstack for beginners
Cloudstack for beginnersJoseph Amirani
 
introduction to cloudsim
introduction to cloudsimintroduction to cloudsim
introduction to cloudsimJassika
 
Containers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red HatContainers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red HatAmazon Web Services
 
Research in Cloud Computing
Research in Cloud ComputingResearch in Cloud Computing
Research in Cloud ComputingRajshri Mohan
 
A tutorial on GreenCloud
A tutorial on GreenCloudA tutorial on GreenCloud
A tutorial on GreenCloudHabibur Rahman
 
Resource provisioning optimization in cloud computing
Resource provisioning optimization in cloud computingResource provisioning optimization in cloud computing
Resource provisioning optimization in cloud computingMasoumeh_tajvidi
 
Load Balancing In Cloud Computing newppt
Load Balancing In Cloud Computing newpptLoad Balancing In Cloud Computing newppt
Load Balancing In Cloud Computing newpptUtshab Saha
 
Hybrid Cloud and Its Implementation
Hybrid Cloud and Its ImplementationHybrid Cloud and Its Implementation
Hybrid Cloud and Its ImplementationSai P Mishra
 
Survey on cloud simulator
Survey on cloud simulatorSurvey on cloud simulator
Survey on cloud simulatorHabibur Rahman
 
Kubernetes Application Deployment with Helm - A beginner Guide!
Kubernetes Application Deployment with Helm - A beginner Guide!Kubernetes Application Deployment with Helm - A beginner Guide!
Kubernetes Application Deployment with Helm - A beginner Guide!Krishna-Kumar
 
Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...
Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...
Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...Majid Hajibaba
 
Virtual desktop infrastructure
Virtual desktop infrastructureVirtual desktop infrastructure
Virtual desktop infrastructureGokulan Subramani
 
Introduction to Cloud Computing
Introduction to Cloud Computing Introduction to Cloud Computing
Introduction to Cloud Computing CloudSyntrix
 
Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...
Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...
Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...AzarulIkhwan
 
Introduction to Cloud Computing
Introduction to Cloud ComputingIntroduction to Cloud Computing
Introduction to Cloud ComputingTom Eberle
 
[CNCF TAG-Runtime 2022-10-06] Lima
[CNCF TAG-Runtime 2022-10-06] Lima[CNCF TAG-Runtime 2022-10-06] Lima
[CNCF TAG-Runtime 2022-10-06] LimaAkihiro Suda
 
Integration Patterns for Microservices Architectures
Integration Patterns for Microservices ArchitecturesIntegration Patterns for Microservices Architectures
Integration Patterns for Microservices ArchitecturesNATS
 
OpenStack Introduction
OpenStack IntroductionOpenStack Introduction
OpenStack Introductionopenstackindia
 

What's hot (20)

Cloudstack for beginners
Cloudstack for beginnersCloudstack for beginners
Cloudstack for beginners
 
introduction to cloudsim
introduction to cloudsimintroduction to cloudsim
introduction to cloudsim
 
Containers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red HatContainers Anywhere with OpenShift by Red Hat
Containers Anywhere with OpenShift by Red Hat
 
Research in Cloud Computing
Research in Cloud ComputingResearch in Cloud Computing
Research in Cloud Computing
 
A tutorial on GreenCloud
A tutorial on GreenCloudA tutorial on GreenCloud
A tutorial on GreenCloud
 
Resource provisioning optimization in cloud computing
Resource provisioning optimization in cloud computingResource provisioning optimization in cloud computing
Resource provisioning optimization in cloud computing
 
Load Balancing In Cloud Computing newppt
Load Balancing In Cloud Computing newpptLoad Balancing In Cloud Computing newppt
Load Balancing In Cloud Computing newppt
 
Hybrid Cloud and Its Implementation
Hybrid Cloud and Its ImplementationHybrid Cloud and Its Implementation
Hybrid Cloud and Its Implementation
 
Survey on cloud simulator
Survey on cloud simulatorSurvey on cloud simulator
Survey on cloud simulator
 
Kubernetes Application Deployment with Helm - A beginner Guide!
Kubernetes Application Deployment with Helm - A beginner Guide!Kubernetes Application Deployment with Helm - A beginner Guide!
Kubernetes Application Deployment with Helm - A beginner Guide!
 
Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...
Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...
Cloud Computing Principles and Paradigms: 6 on the management of virtual mach...
 
Virtual desktop infrastructure
Virtual desktop infrastructureVirtual desktop infrastructure
Virtual desktop infrastructure
 
Introduction to Cloud Computing
Introduction to Cloud Computing Introduction to Cloud Computing
Introduction to Cloud Computing
 
Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...
Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...
Task Scheduling using Tabu Search algorithm in Cloud Computing Environment us...
 
Introduction to Cloud Computing
Introduction to Cloud ComputingIntroduction to Cloud Computing
Introduction to Cloud Computing
 
[CNCF TAG-Runtime 2022-10-06] Lima
[CNCF TAG-Runtime 2022-10-06] Lima[CNCF TAG-Runtime 2022-10-06] Lima
[CNCF TAG-Runtime 2022-10-06] Lima
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
High performance computing
High performance computingHigh performance computing
High performance computing
 
Integration Patterns for Microservices Architectures
Integration Patterns for Microservices ArchitecturesIntegration Patterns for Microservices Architectures
Integration Patterns for Microservices Architectures
 
OpenStack Introduction
OpenStack IntroductionOpenStack Introduction
OpenStack Introduction
 

Similar to Cloudsim & Green Cloud

Cloudsim & greencloud
Cloudsim & greencloud Cloudsim & greencloud
Cloudsim & greencloud nedamaleki87
 
Simulation of Heterogeneous Cloud Infrastructures
Simulation of Heterogeneous Cloud InfrastructuresSimulation of Heterogeneous Cloud Infrastructures
Simulation of Heterogeneous Cloud InfrastructuresCloudLightning
 
CloudLightning Simulator
CloudLightning SimulatorCloudLightning Simulator
CloudLightning SimulatorCloudLightning
 
Dynamic resource allocation using virtual machines for cloud computing enviro...
Dynamic resource allocation using virtual machines for cloud computing enviro...Dynamic resource allocation using virtual machines for cloud computing enviro...
Dynamic resource allocation using virtual machines for cloud computing enviro...IEEEFINALYEARPROJECTS
 
JAVA 2013 IEEE PARALLELDISTRIBUTION PROJECT Dynamic resource allocation using...
JAVA 2013 IEEE PARALLELDISTRIBUTION PROJECT Dynamic resource allocation using...JAVA 2013 IEEE PARALLELDISTRIBUTION PROJECT Dynamic resource allocation using...
JAVA 2013 IEEE PARALLELDISTRIBUTION PROJECT Dynamic resource allocation using...IEEEGLOBALSOFTTECHNOLOGIES
 
Cloud computing(bit mesra kolkata extn.)
Cloud computing(bit mesra kolkata extn.)Cloud computing(bit mesra kolkata extn.)
Cloud computing(bit mesra kolkata extn.)ASHUTOSH KUMAR
 
TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6Sravanthi N
 
Simulating Heterogeneous Resources in CloudLightning
Simulating Heterogeneous Resources in CloudLightningSimulating Heterogeneous Resources in CloudLightning
Simulating Heterogeneous Resources in CloudLightningCloudLightning
 
Cloud computing overview
Cloud computing overviewCloud computing overview
Cloud computing overviewkarthik s
 
High virtualizationdegree
High virtualizationdegreeHigh virtualizationdegree
High virtualizationdegreesscetrajiv
 
Supporting bioinformatics applications with hybrid multi-cloud services
Supporting bioinformatics applications with hybrid multi-cloud servicesSupporting bioinformatics applications with hybrid multi-cloud services
Supporting bioinformatics applications with hybrid multi-cloud servicesAhmed Abdullah
 
High Throughput Analytics with Cassandra & Azure
High Throughput Analytics with Cassandra & AzureHigh Throughput Analytics with Cassandra & Azure
High Throughput Analytics with Cassandra & AzureDataStax Academy
 
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...SaikiranReddy Sama
 
Desktop to Cloud Transformation Planning
Desktop to Cloud Transformation PlanningDesktop to Cloud Transformation Planning
Desktop to Cloud Transformation PlanningPhearin Sok
 
Distributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesDistributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesPapitha Velumani
 
Distributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesDistributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesPapitha Velumani
 
Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...Papitha Velumani
 

Similar to Cloudsim & Green Cloud (20)

Cloudsim & greencloud
Cloudsim & greencloud Cloudsim & greencloud
Cloudsim & greencloud
 
Simulation of Heterogeneous Cloud Infrastructures
Simulation of Heterogeneous Cloud InfrastructuresSimulation of Heterogeneous Cloud Infrastructures
Simulation of Heterogeneous Cloud Infrastructures
 
Scheduling in CCE
Scheduling in CCEScheduling in CCE
Scheduling in CCE
 
CloudLightning Simulator
CloudLightning SimulatorCloudLightning Simulator
CloudLightning Simulator
 
Dynamic resource allocation using virtual machines for cloud computing enviro...
Dynamic resource allocation using virtual machines for cloud computing enviro...Dynamic resource allocation using virtual machines for cloud computing enviro...
Dynamic resource allocation using virtual machines for cloud computing enviro...
 
JAVA 2013 IEEE PARALLELDISTRIBUTION PROJECT Dynamic resource allocation using...
JAVA 2013 IEEE PARALLELDISTRIBUTION PROJECT Dynamic resource allocation using...JAVA 2013 IEEE PARALLELDISTRIBUTION PROJECT Dynamic resource allocation using...
JAVA 2013 IEEE PARALLELDISTRIBUTION PROJECT Dynamic resource allocation using...
 
Univa Presentation at DAC 2020
Univa Presentation at DAC 2020 Univa Presentation at DAC 2020
Univa Presentation at DAC 2020
 
Cloud computing(bit mesra kolkata extn.)
Cloud computing(bit mesra kolkata extn.)Cloud computing(bit mesra kolkata extn.)
Cloud computing(bit mesra kolkata extn.)
 
TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6
 
Simulating Heterogeneous Resources in CloudLightning
Simulating Heterogeneous Resources in CloudLightningSimulating Heterogeneous Resources in CloudLightning
Simulating Heterogeneous Resources in CloudLightning
 
Cloud computing overview
Cloud computing overviewCloud computing overview
Cloud computing overview
 
High virtualizationdegree
High virtualizationdegreeHigh virtualizationdegree
High virtualizationdegree
 
Supporting bioinformatics applications with hybrid multi-cloud services
Supporting bioinformatics applications with hybrid multi-cloud servicesSupporting bioinformatics applications with hybrid multi-cloud services
Supporting bioinformatics applications with hybrid multi-cloud services
 
High Throughput Analytics with Cassandra & Azure
High Throughput Analytics with Cassandra & AzureHigh Throughput Analytics with Cassandra & Azure
High Throughput Analytics with Cassandra & Azure
 
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...
Dynamic Resource Allocation Using Virtual Machines for Cloud Computing Enviro...
 
Brad stack - Digital Health and Well-Being Festival
Brad stack - Digital Health and Well-Being Festival Brad stack - Digital Health and Well-Being Festival
Brad stack - Digital Health and Well-Being Festival
 
Desktop to Cloud Transformation Planning
Desktop to Cloud Transformation PlanningDesktop to Cloud Transformation Planning
Desktop to Cloud Transformation Planning
 
Distributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesDistributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databases
 
Distributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databasesDistributed, concurrent, and independent access to encrypted cloud databases
Distributed, concurrent, and independent access to encrypted cloud databases
 
Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...Probabilistic consolidation of virtual machines in self organizing cloud data...
Probabilistic consolidation of virtual machines in self organizing cloud data...
 

Recently uploaded

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxnelietumpap1
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxChelloAnnAsuncion2
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 

Recently uploaded (20)

call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Q4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptxQ4 English4 Week3 PPT Melcnmg-based.pptx
Q4 English4 Week3 PPT Melcnmg-based.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptxGrade 9 Q4-MELC1-Active and Passive Voice.pptx
Grade 9 Q4-MELC1-Active and Passive Voice.pptx
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 

Cloudsim & Green Cloud

  • 1. First National Workshop of Cloud Computing Amirkabir University of Technology Persented by: Neda Maleki nedamaleki87@gmail.com CloudSim: A Toolkit for Modeling and Simulation of Cloud Computing Environments
  • 2. OutLine • Introduction • Related Work • CloudSim Architecture • CloudSim Modelings • Design and Implementation • CloudSim Steps • Conclusions and Future works • Green Cloud
  • 3. Introduction(1/2):Clo ud • Cloud computing delivers: XaaS • X :{Software, Platform, Infrastr ucture } So users can access and deploy applications from anywhere in the Internet
  • 4. Introduction(2/2):Why Simulation? Cloud Providor Challenges: • Maintain Quality of Service • Efficient Resourse Utilization • Dynamic Workload • Violation of Service Level Agreement • Difficulties in Testing It’s not possible to perform benchmarking experiments in repeatable, dependable, and scalable environment using real-world Cloud. Possible alternative: Simulation Tool
  • 5. Related Works Grid simulators: GridSim SimGrid OptoSim GangSim But none of them are able to isolate the multi-layer service abstractions(SaaS/Pa aS/IaaS) differentiation and model the virtualized resources required by Cloud. So:
  • 6. Main Contribution: CloudSim  A holistic software framework for modeling Cloud computing environments And Performance testing application services.
  • 7. Features & Advantages Features • Discrete Time Event-Driven • Support modeling and simulation of large scale Cloud computing environments, including data centers • Support simulation of network connections among simulated elements Advantages • Time effectiveness • Flexibility and applicability • Test policies in repeatable and controllable environment • Tune system bottlenecks before deploying on real clouds
  • 9. Modeling in Cloudsim (1/5)  Modeling DataCenter  Modeling VM Allocation  Modeling Network Behavior  Modeling Dynamic Workloads  Modeling Power Consumption
  • 10. CloudSim Steps(1/2) a broker (VMs , Apps) Cloud Information Service(CIS) Is Registered all Datacenters and their characteristics Cloud Datacenter A Cloud Datacenter B Cloud Datacenter C
  • 11. Allocation Policies: Enough Capacity,Ram,Storage,Bandwidth VM1,V10,VM6,VM7 VM2,VM4 VM9,V3,VM5 VM8 Scheduling Policies: Sharing of Host Mips between VMs • Space Shared • Time Shared
  • 12. DataCenter Modeling  Number of Hosts, VMs and Cloudlets (tasks) o Host(mips, ram, storage, bandwidth) o Datacenter(arch, os, vmm, hostlist, cost mem/bw/storage)  VM o MIPS, pesNumber(no. of cpu), Ram(MB), BW(MB/s)  Cloudlet o Length (MI), pesNumber, input Size, output
  • 13. VM Allocation Modeling • Time Shared policy • Space Shared Policy
  • 14. Simulation Setup: ========== OUTPUT ========== Cloudlet ID STATUS Data center ID VM ID Time Start Time Finish Time 0 SUCCESS 2 0 2 0.1 2.1 2 SUCCESS 2 0 2 0.1 2.1 1 SUCCESS 2 1 2 0.1 2.1 3 SUCCESS 2 1 2 0.1 2.1 *****Datacenter: Datacenter_0*****  1 datecenter  1 dual-core host, each core'mips: 1000  2 vm, mips:1000  4 cloudlets, length: 1000mips  core1 deal with two cloudlets(t1 and t2), and core2 deal with the other two cloudlets(t3 and t4), so, all cloudlets should finished at 2.1s
  • 15. Network Modeling • Latency Matrix Delay time from entity i to entity j Entity i Entity j
  • 16. Dynamic Workload Modeling • The Strategy is to Vary VM Utilization! 25% 43% 60% 30% 10% 90% …. Delay= not all the time, CPU is utilized
  • 20. Conclusion  Time effectiveness  Flexibility and applicability  Test services in repeatable and controllable environment  Tune system bottlenecks before deploying on real clouds
  • 22. Power(1/4):Powering Cloud Infrastructure • Modern data centers, operating under the Cloud computing model, are hosting a variety of applications ranging from those that run for a few seconds (e.g. serving requests of web applications such as e-commerce and social networks portals) to those that run for longer periods of time (e.g. large dataset processing). • So, Cloud Data Centers consume excessive amount of energy: • According to McKinsey report on “Revolutionizing Data Center Energy Efficiency” : • A typical data center consumes as much energy as 25,000 households!!!
  • 23. Power (1/2)  Data centers are not only expensive to maintain, but also unfriendly to the environment.  High energy costs and huge carbon emission are incurred due to the massive amount of electricity needed to power and cool the numerous servers hosted in these data centers.
  • 24. Power Consumption in the Datacenter Compute resources and particularly servers are at the heart of a complex, evolving system! They Consumes most power. Where Does the Go? Google Datacenter 2007 Pow er
  • 25. Levels of Power Consideration(1/2): System level System level DPMs DVS DPS DVFS DCD SPMs Low Level Design: Gates,Transistor  The objective of PA computing/communications is to improve power management and consumption using the awareness of power consumption of devices.  Recent devices (CPU, disk, communication links, etc.) support multiple power modes.
  • 26. DVS(Dynamic Voltage Scaling) • DVS (Dynamic Voltage Scaling) technique – Reducing the dynamic energy consumption by lowering the supply voltage at the cost of performance degradation – Recent processors support such ability to adjust the supply voltage dynamically. – The dynamic energy consumption = * Vdd2 * f • Vdd : the supply voltage • f : the number of clock cycle • An example 5.02 10ms 25ms deadline power power deadline 10ms 25ms (a) Supply voltage = 5.0 V (b) Supply voltage = 2.0 V 2.02
  • 27. Levels of Power Consideration(2/2): DataCenter Level Data center level Virtualization System resources Target systems Goal Power saving techniques Workload Yes No Multiple resources Single resource Homogeneous Heterogeneous Minimize power / energy consumption Minimize performance loss DVFS Meet power budget Resource throttling DCD Arbitrary Real-time applications HPC-applications Workload consolidation
  • 28. A Key to Power Saving! Power On Power Off Pool of physical computer nodes Virtualization layer (VMMs, local resources managers) Consumer, scientific and business applications Global resource managers User User User VM provisioning SLA negotiation Application requests Virtual Machines and users’ applications
  • 29. WWW: Three Sub Problems • When to migrate VMs? • Host overload detection algorithms • Host underload detection algorithms • Which VMs to migrate? • VM selection algorithms • Where to migrate VMs? • VM placement algorithms
  • 30. Algorithms in each w  Host overload detection  Adaptive utilization threshold based algorithms  Median Absolute Deviation algorithm (MAD)  Interquartile Range algorithm (IQR)  Regression based algorithms • Local Regression algorithm (LR) • Robust Local Regression algorithm (LRR)  Host underload detection algorithms  Migrating the VMs from the least utilized host  VM selection algorithms  Minimum Migration Time policy (MMT)  Random Selection policy (RS)  Maximum Correlation policy (MC)  VM placement algorithms  Heuristic for the bin-packing problem – Power-Aware Best Fit Decreasing algorithm (PABFD)
  • 31. Performance Metrics SLA violation metrics • Overloading Time Fraction (OTF) - the time fraction, during which active hosts experienced the 100% CPU utilization • Performance Degradation due to VM Migrations (PDM) • A combined SLA Violation metric (SLAV): SLAV = OTF * PDM A combined metric that captures both energy consumption and the level of SLA violations, Energy and SLA Violation (ESV): ESV = Energy * SLAV
  • 32. Real Workloads • Workload traces from more than 1000 VMs from servers located in more than 500 places around the world. • The data were obtained from the CoMon project, a monitoring infrastructure for PlanetLab • PlanetLab is a distributed execution environment for doing benchmarked experiments . Totally it is a global research network that supports the development of new network services. • A Data Center consisting 800 heterogeneous physical servers containing HP ProLiant ML110 G4 and HP ProLiant ML110 G5 servers. • More than 1000 Heterogeneous VMs corresponding to Amazon EC2 instance types.
  • 33. Content of WorkLoad Files  These files contain CPU utilization values measured every 5 minutes in PlanetLab's VMs for one day so: One day=24 hours= 5minutes*288  CloudSim contain a class called : UtilizationModelPlanetLabInMemory which can be used to read those workload traces.  An example: String inputFolder = Dvfs.class.getClassLoader().getResource("workload/pl anetlab").getPath();  String outputFolder = "output";  String workload = "20110303"; // PlanetLab workload Number of Samples
  • 34. References  R. Buyya, A. Beloglazov, J. Abawajy, Energy-Efficient Management of Data Center Resources for Cloud Computing: A Vision, Architectural Elements, and Open Challenges, Proceedings of the 2010 International Conference on Parallel and Distributed Processing Techniques and Applications (PDPTA2010), Las Vegas, USA, July 12-15, 2010.  A. Beloglazov, R. Buyya, Y. Lee, A. Zomaya, A Taxonomy and Survey of Energy-Efficient Data Centers and Cloud Computing Systems, Advances in Computers, Volume 82, 47-111pp, M. Zelkowitz (editor), Elsevier, Amsterdam, The Netherlands,March 2011.  S. Garg, C. Yeo, A Anandasivam, R. Buyya, Environment-Conscious Scheduling of HPC Applications on Distributed Cloud-oriented Data
  • 35. Thanks for your attention! Any Questions , Suggestions and Comments?