SlideShare uma empresa Scribd logo
1 de 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,
Infrastructure }
So users can access and
deploy applications from
anywhere in the Internet
driven by demand and QoS
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: SimulationTool
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
Query
AvailableDatacenters
Allocation
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 “Re vo lutio niz ing
Data Ce nte r Ene rg y Efficie ncy” :
• A typical data centerconsumes 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
 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
A Key to Power Saving!
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/pla
netlab").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 Compu
, 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 Com
, 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 Cl
, Journal of Parallel and Distributed
Computing, 71(6):732-749, Elsevier
Press, Amsterdam, The Netherlands,
June 2011.
Thanks for your attention!
Any Questions , Suggestions and
Comments?

Mais conteúdo relacionado

Mais procurados

Lamport’s algorithm for mutual exclusion
Lamport’s algorithm for mutual exclusionLamport’s algorithm for mutual exclusion
Lamport’s algorithm for mutual exclusionNeelamani Samal
 
Intruders
IntrudersIntruders
Intruderstechn
 
A tutorial on CloudSim
A tutorial on CloudSimA tutorial on CloudSim
A tutorial on CloudSimHabibur Rahman
 
Security services and mechanisms
Security services and mechanismsSecurity services and mechanisms
Security services and mechanismsRajapriya82
 
11 distributed file_systems
11 distributed file_systems11 distributed file_systems
11 distributed file_systemslongly
 
Hacking with Reverse Engineering and Defense against it
Hacking with Reverse Engineering and Defense against it Hacking with Reverse Engineering and Defense against it
Hacking with Reverse Engineering and Defense against it Prakashchand Suthar
 
Cloud computing (IT-703) UNIT 1 & 2
Cloud computing (IT-703) UNIT 1 & 2Cloud computing (IT-703) UNIT 1 & 2
Cloud computing (IT-703) UNIT 1 & 2Jitendra s Rathore
 
Evolution of Cloud Computing
Evolution of Cloud ComputingEvolution of Cloud Computing
Evolution of Cloud ComputingNephoScale
 
Google file system GFS
Google file system GFSGoogle file system GFS
Google file system GFSzihad164
 
Synchronization in distributed systems
Synchronization in distributed systems Synchronization in distributed systems
Synchronization in distributed systems SHATHAN
 
IDS - Fact, Challenges and Future
IDS - Fact, Challenges and FutureIDS - Fact, Challenges and Future
IDS - Fact, Challenges and Futureamiable_indian
 
Lecture 4 mobile database system
Lecture 4 mobile database systemLecture 4 mobile database system
Lecture 4 mobile database systemsalbiahhamzah
 
Designing Distributed Systems: Google Cas Study
Designing Distributed Systems: Google Cas StudyDesigning Distributed Systems: Google Cas Study
Designing Distributed Systems: Google Cas StudyMeysam Javadi
 
Locks In Disributed Systems
Locks In Disributed SystemsLocks In Disributed Systems
Locks In Disributed Systemsmridul mishra
 
Sensor networks
Sensor networksSensor networks
Sensor networksMarc Pous
 

Mais procurados (20)

Lamport’s algorithm for mutual exclusion
Lamport’s algorithm for mutual exclusionLamport’s algorithm for mutual exclusion
Lamport’s algorithm for mutual exclusion
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Intruders
IntrudersIntruders
Intruders
 
Cloud sim
Cloud simCloud sim
Cloud sim
 
A tutorial on CloudSim
A tutorial on CloudSimA tutorial on CloudSim
A tutorial on CloudSim
 
Security services and mechanisms
Security services and mechanismsSecurity services and mechanisms
Security services and mechanisms
 
11 distributed file_systems
11 distributed file_systems11 distributed file_systems
11 distributed file_systems
 
Hacking with Reverse Engineering and Defense against it
Hacking with Reverse Engineering and Defense against it Hacking with Reverse Engineering and Defense against it
Hacking with Reverse Engineering and Defense against it
 
Cloud computing (IT-703) UNIT 1 & 2
Cloud computing (IT-703) UNIT 1 & 2Cloud computing (IT-703) UNIT 1 & 2
Cloud computing (IT-703) UNIT 1 & 2
 
Evolution of Cloud Computing
Evolution of Cloud ComputingEvolution of Cloud Computing
Evolution of Cloud Computing
 
Amps
AmpsAmps
Amps
 
Frequency Reuse
Frequency ReuseFrequency Reuse
Frequency Reuse
 
Google file system GFS
Google file system GFSGoogle file system GFS
Google file system GFS
 
Synchronization in distributed systems
Synchronization in distributed systems Synchronization in distributed systems
Synchronization in distributed systems
 
Google File System
Google File SystemGoogle File System
Google File System
 
IDS - Fact, Challenges and Future
IDS - Fact, Challenges and FutureIDS - Fact, Challenges and Future
IDS - Fact, Challenges and Future
 
Lecture 4 mobile database system
Lecture 4 mobile database systemLecture 4 mobile database system
Lecture 4 mobile database system
 
Designing Distributed Systems: Google Cas Study
Designing Distributed Systems: Google Cas StudyDesigning Distributed Systems: Google Cas Study
Designing Distributed Systems: Google Cas Study
 
Locks In Disributed Systems
Locks In Disributed SystemsLocks In Disributed Systems
Locks In Disributed Systems
 
Sensor networks
Sensor networksSensor networks
Sensor networks
 

Destaque

2015 cloud sim projects
2015 cloud sim projects2015 cloud sim projects
2015 cloud sim projectsHari Krishnan
 
Survey on cloud simulator
Survey on cloud simulatorSurvey on cloud simulator
Survey on cloud simulatorHabibur Rahman
 
Common Workloads on the AWS Cloud
Common Workloads on the AWS CloudCommon Workloads on the AWS Cloud
Common Workloads on the AWS CloudAmazon Web Services
 
GCP Gaming 2016 Seoul, Korea Gaming Analytics
GCP Gaming 2016 Seoul, Korea Gaming AnalyticsGCP Gaming 2016 Seoul, Korea Gaming Analytics
GCP Gaming 2016 Seoul, Korea Gaming AnalyticsChris Jang
 
Conference Paper: Simulating High Availability Scenarios in Cloud Data Center...
Conference Paper: Simulating High Availability Scenarios in Cloud Data Center...Conference Paper: Simulating High Availability Scenarios in Cloud Data Center...
Conference Paper: Simulating High Availability Scenarios in Cloud Data Center...Ericsson
 
A tutorial on GreenCloud
A tutorial on GreenCloudA tutorial on GreenCloud
A tutorial on GreenCloudHabibur Rahman
 
Task scheduling Survey in Cloud Computing
Task scheduling Survey in Cloud ComputingTask scheduling Survey in Cloud Computing
Task scheduling Survey in Cloud ComputingRamandeep Kaur
 
Green cloud computing
Green cloud computingGreen cloud computing
Green cloud computingNalini Mehta
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram Nidhi Sharma
 
Green Cloud Computing
Green Cloud ComputingGreen Cloud Computing
Green Cloud ComputingSeungyun Lee
 

Destaque (19)

2015 cloud sim projects
2015 cloud sim projects2015 cloud sim projects
2015 cloud sim projects
 
Survey on cloud simulator
Survey on cloud simulatorSurvey on cloud simulator
Survey on cloud simulator
 
Cloudsim modified
Cloudsim modifiedCloudsim modified
Cloudsim modified
 
Cloud sim report
Cloud sim reportCloud sim report
Cloud sim report
 
Enterprise Workloads on AWS
Enterprise Workloads on AWSEnterprise Workloads on AWS
Enterprise Workloads on AWS
 
Common Workloads on the AWS Cloud
Common Workloads on the AWS CloudCommon Workloads on the AWS Cloud
Common Workloads on the AWS Cloud
 
Application scheduling in cloud sim
Application scheduling in cloud simApplication scheduling in cloud sim
Application scheduling in cloud sim
 
GCP Gaming 2016 Seoul, Korea Gaming Analytics
GCP Gaming 2016 Seoul, Korea Gaming AnalyticsGCP Gaming 2016 Seoul, Korea Gaming Analytics
GCP Gaming 2016 Seoul, Korea Gaming Analytics
 
Sims
SimsSims
Sims
 
Conference Paper: Simulating High Availability Scenarios in Cloud Data Center...
Conference Paper: Simulating High Availability Scenarios in Cloud Data Center...Conference Paper: Simulating High Availability Scenarios in Cloud Data Center...
Conference Paper: Simulating High Availability Scenarios in Cloud Data Center...
 
A tutorial on GreenCloud
A tutorial on GreenCloudA tutorial on GreenCloud
A tutorial on GreenCloud
 
JUNit Presentation
JUNit PresentationJUNit Presentation
JUNit Presentation
 
JUnit Presentation
JUnit PresentationJUnit Presentation
JUnit Presentation
 
Green cloud computing
Green cloud computingGreen cloud computing
Green cloud computing
 
Unit testing with JUnit
Unit testing with JUnitUnit testing with JUnit
Unit testing with JUnit
 
Task scheduling Survey in Cloud Computing
Task scheduling Survey in Cloud ComputingTask scheduling Survey in Cloud Computing
Task scheduling Survey in Cloud Computing
 
Green cloud computing
Green cloud computingGreen cloud computing
Green cloud computing
 
Data flow diagram
Data flow diagram Data flow diagram
Data flow diagram
 
Green Cloud Computing
Green Cloud ComputingGreen Cloud Computing
Green Cloud Computing
 

Semelhante a Cloudsim & greencloud

Cloudsim & Green Cloud
Cloudsim & Green CloudCloudsim & Green Cloud
Cloudsim & Green CloudNeda Maleki
 
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
 
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
 
Cloud computing overview
Cloud computing overviewCloud computing overview
Cloud computing overviewkarthik s
 
TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6Sravanthi N
 
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
 
Simulating Heterogeneous Resources in CloudLightning
Simulating Heterogeneous Resources in CloudLightningSimulating Heterogeneous Resources in CloudLightning
Simulating Heterogeneous Resources in CloudLightningCloudLightning
 
IncQuery-D: Incremental Queries in the Cloud
IncQuery-D: Incremental Queries in the CloudIncQuery-D: Incremental Queries in the Cloud
IncQuery-D: Incremental Queries in the CloudGábor Szárnyas
 
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...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
 
Autonomous control in Big Data platforms: and experience with Cassandra
Autonomous control in Big Data platforms: and experience with CassandraAutonomous control in Big Data platforms: and experience with Cassandra
Autonomous control in Big Data platforms: and experience with CassandraEmiliano
 
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
 
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...Amazon Web Services
 

Semelhante a Cloudsim & greencloud (20)

Cloudsim & Green Cloud
Cloudsim & Green CloudCloudsim & Green Cloud
Cloudsim & Green Cloud
 
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
 
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
 
Cloud computing overview
Cloud computing overviewCloud computing overview
Cloud computing overview
 
TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6TechTalk_Cloud Performance Testing_0.6
TechTalk_Cloud Performance Testing_0.6
 
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.)
 
Simulating Heterogeneous Resources in CloudLightning
Simulating Heterogeneous Resources in CloudLightningSimulating Heterogeneous Resources in CloudLightning
Simulating Heterogeneous Resources in CloudLightning
 
IncQuery-D: Incremental Queries in the Cloud
IncQuery-D: Incremental Queries in the CloudIncQuery-D: Incremental Queries in the Cloud
IncQuery-D: Incremental Queries in the Cloud
 
High Throughput Analytics with Cassandra & Azure
High Throughput Analytics with Cassandra & AzureHigh Throughput Analytics with Cassandra & Azure
High Throughput Analytics with Cassandra & Azure
 
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
 
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...
 
Autonomous control in Big Data platforms: and experience with Cassandra
Autonomous control in Big Data platforms: and experience with CassandraAutonomous control in Big Data platforms: and experience with Cassandra
Autonomous control in Big Data platforms: and experience with Cassandra
 
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
 
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
SRV402 Deep Dive on Amazon EC2 Instances, Featuring Performance Optimization ...
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxRemote DBA Services
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...apidays
 

Último (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

Cloudsim & greencloud

  • 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, Infrastructure } So users can access and deploy applications from anywhere in the Internet driven by demand and QoS
  • 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: SimulationTool
  • 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 Query AvailableDatacenters Allocation
  • 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 “Re vo lutio niz ing Data Ce nte r Ene rg y Efficie ncy” : • A typical data centerconsumes 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  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
  • 28. A Key to Power Saving!
  • 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/pla netlab").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 Compu , 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 Com , 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 Cl , Journal of Parallel and Distributed Computing, 71(6):732-749, Elsevier Press, Amsterdam, The Netherlands, June 2011.
  • 35. Thanks for your attention! Any Questions , Suggestions and Comments?

Notas do Editor

  1. With the improvement of technology, the power consumption of datacenters is also increasing. Most of the power actually goes in the IT applications running on the servers. Even in cooling, the energy consumption is due to server heat.