SlideShare une entreprise Scribd logo
1  sur  38
CloudSim 2.0 Report Rodrigo N. Calheiros, Rajiv Ranjan, Anton Beloglazov, Cesar A. F. De Rose, and RajkumarBuyya, CloudSim: A Toolkit for Modeling and Simulation of Cloud Computing Environments and Evaluation of Resource Provisioning Algorithms, Software: Practice and Experience, ISSN: 0038-0644, Wiley Press, New York, USA, 2010 (in press, accepted on June 14, 2010). Presented by farseerfc@sjtu.edu.cn , Green Computing Group @ SE.SJTU
Introduction Background Features Layered architecture of cloud Federation of clouds Green Computing @ SE.SJTU 2
Cloud Computing Background subscription-based services – aim to simulate Infrastructure as a Service (IaaS) Platform as a Service (PaaS) Software as a Service (SaaS) Cloud model – described by ownership and paying models private clouds public clouds hybrid clouds federated clouds Green Computing @ SE.SJTU 3
CloudSim Features modeling and simulation of large scale Cloud computing environments a self-contained platform for modeling Clouds, service brokers, provisioning, and allocations policies support for simulation of network connections among the simulated system elements facility for simulation of federated Cloud environment that inter-networks resources from both private and public domains availability of a virtualization engine that aids in creation and management of multiple, independent, and co-hosted virtualized services on a data center node flexibility to switch between space-shared and time-shared allocation of processing cores to virtualized services Green Computing @ SE.SJTU 4
Layered architecture of Cloud Green Computing @ SE.SJTU 5
Federation of Clouds Green Computing @ SE.SJTU 6
CloudSim Architecture Layered CloudSim 2.0 architecture Modeling the Cloud Modeling the VM Allocation Modeling the Cloud Market Modeling the Network Behavior Modeling Dynamic Workloads Modeling Data Center Power Consumption Green Computing @ SE.SJTU 7
Layered CloudSim 2.0 architecture Green Computing @ SE.SJTU 8
Compare to CloudSim 1.0 Replaced SimJava layer as core simulation engine To provide a more powerful event framework that support adding entities at run-time In-built GridSim layer To provide a cleaner abstraction of Hosts, VMs and network topology. Green Computing @ SE.SJTU 9
Modeling the Cloud Federation Datacenters Hosts VMs Application services Green Computing @ SE.SJTU 10
Init CloudSim CloudSim.init(num_user, calendar, trace_flag); Build DataCenters Datacenter: This class encapsulates a set of compute hosts that can either be homogeneous or heterogeneous with respect to their hardware configurations. Furthermore, every Datacenter component instantiates a generalized application provisioning component that implements a set of policies for allocating bandwidth, memory, and storage devices to hosts and VMs.  Build DatacenterBroker or CloudCoordinator DatacenterBroker: The broker acts on behalf of SaaS providers. It discovers suitable Cloud service providers by querying the Cloud Information Service (CIS) and undertakes on-line negotiations for allocation of resources/services that can meet application’s QoS needs. The researchers and system developers must extend this class for evaluating and testing custom brokering policies. CloudCoordinator: This abstract class extends a Cloud-based data center to the federation. It is responsible for periodically monitoring the internal state of data center resources and based on that it undertakes dynamic load-shredding decisions. Concrete implementation of this component includes the specific sensors and the policy that should be followed during load-shredding. Monitoring of data center resources is performed by the updateDatacenter() method by sending queries Sensors. Build and submit VMs to broker Build and submit cloudlets to broker Green Computing @ SE.SJTU 11
Datacenter DatacenterCharacteristics: Hosts arch, os, vmm, time_zone Cost (cpu, mem, storage, bandwith) VmmAllocationPolicy: select available host in a data center that meets the memory, storage, and availability requirement for a VM deployment.  VmAllocationPolicySimple is an VmAllocationPolicythat chooses, as the host for a VM, the host with less PEs in use. Green Computing @ SE.SJTU 12
Host PEs : Physical processing element, a cpu core PeProvisioner: provisioning pe to VMs PeProvisionerSimple MIPS Ram  RamProvisioner RamProvisionerSimple Bandwidth BwProvisioner BwProvisionerSimple Storage VmScheduler Green Computing @ SE.SJTU 13
VM size amount of storage  ram amount of ram  bw amount of bandwidth  pesNumber amount of CPUs  vmm virtual machine monitor  priority the priority  mips the mips cloudletSchedulercloudletScheduler policy for cloudlets  Green Computing @ SE.SJTU 14
Cloudlet cloudletLength the length or size (in MI) of this cloudlet to be executed in a PowerDatacenter cloudletFileSize the file size (in byte) of this cloudlet BEFORE submitting to a PowerDatacenter cloudletOutputSize the file size (in byte) of this cloudlet AFTER finish executing by a PowerDatacenter pesNumber utilizationModelCpu utilizationModelRam utilizationModelBw Green Computing @ SE.SJTU 15
Modeling the VM Allocation CloudSim supports VM provisioning at two levels. At the host level, it is possible to specify how much of the overall processing power of each core will be assigned to each VM. At the VM level, the VM assigns a fixed amount of the available processing power to the individual application services (task units) that are hosted within its execution engine.  At each level, CloudSim implements the time-shared and space-shared provisioning policies.  Green Computing @ SE.SJTU 16
Space-shared and time-shared Space-shared provisioning for VMs and tasks Space-shared provisioning for VMs and time-shared provisioning for tasks Time-shared provisioning for VMs, space-shared provisioning for tasks Time-shared provisioning for VMs and tasks. Green Computing @ SE.SJTU 17
Space-shared and time-shared where eft(p) is the estimated finish time, ctis the current simulation time, and cores(p) is the number of cores (processing elements) required by the Cloudlet.  In time-shared mode, multiple Cloudlets (task units) can simultaneously multi-task within a VM.  where est(p) is the Cloudlet (cloud task) estimated start time and rlis the total number of instructions that the Cloudlet will need to execute on a processor. Cloudlets are put in the queue when there are free processing cores available that can be assigned to the VM.  Green Computing @ SE.SJTU 18
Modeling the Cloud Market Modeling of costs and economic policies are important aspects to be considered when designing a Cloud simulator. The Cloud market is modeled based on a multi-layered (two layers) design.  The first layer contains economic of features related to IaaS model such as cost per unit of memory, cost per unit of storage, and cost per unit of used bandwidth. Cloud customers (SaaS providers) have to pay for the costs of memory and storage when they create and instantiate VMs whereas the costs for network usage are only incurred in event of data transfer.  The second layer models the cost metrics related to SaaS model. Costs at this layer are directly applicable to the task units (application service requests) that are served by the application services. Hence, if a Cloud customer provisions a VM without an application service (task unit), then they would only be charged for layer 1 resources (i.e. the costs of memory and storage). This behavior may be changed or extended by CloudSim users.  Green Computing @ SE.SJTU 19
Modeling the Network Behavior There are no actual entities available for simulating network entities, such as routers or switches. Instead, network latency that a message can experience on its path from one CloudSim entity (host) to another (Cloud Broker) is simulated based on the information stored in the latency matrix Define the topology by hand coding, or writing BRITE format. Green Computing @ SE.SJTU 20
define network topology by BRITE The topology description is stored in BRITE† format that contains a number of network nodes, which may be greater than the number of simulated nodes. These nodes represent various CloudSim entities including hosts, data centers, Cloud Brokers etc. Data Centers and Brokers are also required to be mapped as the network nodes.  ,[object Object]
Messages (events) sent by CloudSim entities are first processed by NetworkTopology object that stores the network topology information. This object augments the latency information to the event and passes it on to the event management engine for further processing.
A. Medina, A. Lakhina, I. Matta, J. Byer. BRITE: An Approach to Universal Topology Generation. Proceedings of the 9th International Workshop on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (MASCOTS 2001), Cincinnati, OH, USA, 15-18 August 2001Green Computing @ SE.SJTU 21
Modeling Dynamic Workloads In the CloudSim framework, Utilization Model is an abstract class that must be extended for implementing a workload pattern required to model the application’s resource demand. CloudSim users are required to override the method, getUtilization(), whose input type is discrete time parameter and return type is percentage of computational resource required by the Cloudlet.  Another important requirement for Cloud computing environments is to ensure that the agreed SLA in terms of QoS parameters such as availability, reliability, and throughput are delivered to the applications. To simulate such behavior, SLA model can either be defined as fully allocating the requested amount of resources or allowing flexible resource allocations up to a specific rate as long as the agreed SLA can be delivered. Green Computing @ SE.SJTU 22
Modeling Data Center Power Consumption extending the Processing Element (PE) object to include an additional Power Model object for managing power consumption on a per Cloud host basis. PowerModel abstract class should be extended for simulating custom power consumption model of a PE. CloudSim users need to override the method getPower() of this class, whose input parameter is the current utilization metric for Cloud host and return parameters is the current power consumption value.  This capability enables the creation of energy-conscious provisioning policies that require real-time knowledge of power consumption by Cloud system components. Furthermore, it enables accounting of total energy consumed by the system during the simulation period. Green Computing @ SE.SJTU 23
Implementation Details Class Diagram Core Simulation Engine Data Center Internal Processing Green Computing @ SE.SJTU 24
Class Diagram Green Computing @ SE.SJTU 25
Core Simulation Engine A framework of simulation events CloudSim: This is the main class, which is responsible for managing event queues and controlling step by step (sequential) execution of simulation events.  SimEvent SimEvent SimEvent SimEvent SimEvent SimEvent CloudSimTag CloudSimTag CloudSimTag CloudSimTag CloudSimTag CloudSimTag CloudSim CIS SimEntity SimEntity SimEntity SimEntity FutureQueue DeferredQueue Green Computing @ SE.SJTU 26
Core Simulation Engine SimEntity: This is an abstract class, which represents a simulation entity that is able to send messages to other entities and process received messages as well as fire and handle events.  CloudInformationService: A Cloud Information Service (CIS) is an entity that provides resource registration, indexing, and discovering capabilities.  CloudSimTags. This class contains various static event/command tags that indicate the type of action that needs to be undertaken by CloudSim entities when they receive or send events. SimEvent: This entity represents a simulation event that is passed between two or more entities. SimEvent stores following information about an event: type, init time, time at which the event should occur, finish time, time at which the event should be delivered to its destination entity, IDs of the source(s?) and destination entities, tag of the event and data that has to be passed to the destination entity.  CloudSimShutdown: This is an entity that waits for the termination of all end-user and broker entities, and then signals the end of simulation to CIS.  Green Computing @ SE.SJTU 27
Event predicate Predicate: Predicates are used for selecting events from the deferred queue. This is an abstract class and must be extended to create a new predicate. Some standard predicates are provided that are presented in Figure 7 (b).  PredicateAny: This class represents a predicate that matches any event on the deferred event queue. There is a publicly accessible instance of this predicate in the CloudSim class, called CloudSim.SIM_ANY, and hence no new instances need to be created.  PredicateFrom: This class represents a predicate that selects events fired by specific entities.  ,[object Object]
PredicateNotFrom: This class represents a predicate that selects events that have not been sent by specific entities.
PredicateNotType: This class represents a predicate to select events that don't match specific tags.
PredicateType: This class represents a predicate to select events with specific tags.Green Computing @ SE.SJTU 28
Updating Process Green Computing @ SE.SJTU 29
CIS registry At the beginning of a simulation, each Datacenter entity registers with the CIS (Cloud Information Service) Registry. CIS then provides information registry type functionalities, such as match-making services for mapping user/Brokers requests to suitable Cloud providers. Next, the DataCenter Brokers acting on behalf of users consult the CIS service to obtain the list of cloud providers who can offer infrastructure services that match application’s QoS, hardware, and software requirements. In the event of a match, the DataCenter broker deploys the application with the CIS suggested cloud.  Green Computing @ SE.SJTU 30
Experiments and Evaluation  CloudSim: Scalability and Overhead Evaluation  Evaluating Federated Cloud Computing Components  Case study: Hybrid Cloud Provisioning Strategy  Case study: Energy-Conscious Management of Data Center  Green Computing @ SE.SJTU 31
Scalability and Overhead The tests were conducted on a machine that had two Intel Xeon Quad-core 2.27 GHz and 16 GB of RAM memory.  Green Computing @ SE.SJTU 32
space-shared & time-shared  As expected, in the space-shared mode, every task took 20 minutes for completion as they had dedicated access to the processing core. In space share mode, arrival of new task did not have any effect on the tasks under execution. Every new task was simply queued in for future consideration.  However, in the time-shared mode, execution time of each task varied with an increase in the number of submitted task units. Time-shared policy for allocating task units to VMs had a significant effect on execution times, as the processing core was massively context switched among the active tasks.  Green Computing @ SE.SJTU 33

Contenu connexe

Tendances

Introduction to cloud and Cloud Computing
Introduction to cloud and Cloud ComputingIntroduction to cloud and Cloud Computing
Introduction to cloud and Cloud ComputingNIKHILKUMAR SHARDOOR
 
introduction to cloudsim
introduction to cloudsimintroduction to cloudsim
introduction to cloudsimJassika
 
A tutorial on CloudSim
A tutorial on CloudSimA tutorial on CloudSim
A tutorial on CloudSimHabibur Rahman
 
Cloud Security Strategy
Cloud Security StrategyCloud Security Strategy
Cloud Security StrategyCapgemini
 
Presentation data center design overview
Presentation   data center design overviewPresentation   data center design overview
Presentation data center design overviewxKinAnx
 
Layers and types of cloud
Layers and types of cloudLayers and types of cloud
Layers and types of cloudANUSUYA T K
 
Introduction to Cloud Computing
Introduction to Cloud ComputingIntroduction to Cloud Computing
Introduction to Cloud ComputingAnimesh Chaturvedi
 
Cloud Computing and Virtualization
Cloud Computing and Virtualization Cloud Computing and Virtualization
Cloud Computing and Virtualization Mahbub Noor Bappy
 
Cloud Computing Presentation
Cloud Computing PresentationCloud Computing Presentation
Cloud Computing PresentationVivek Ravindran
 
basic concept of Cloud computing and its architecture
basic concept of Cloud computing  and its architecturebasic concept of Cloud computing  and its architecture
basic concept of Cloud computing and its architectureMohammad Ilyas Malik
 
Cloud computing ppt
Cloud computing pptCloud computing ppt
Cloud computing pptYogi Dadhich
 
Virtualization in cloud computing ppt
Virtualization in cloud computing pptVirtualization in cloud computing ppt
Virtualization in cloud computing pptMehul Patel
 
Green Cloud Computing
Green Cloud ComputingGreen Cloud Computing
Green Cloud ComputingSeungyun Lee
 
Network Attached Storage (NAS)
Network Attached Storage (NAS) Network Attached Storage (NAS)
Network Attached Storage (NAS) Kshitij Shete
 
Research in Cloud Computing
Research in Cloud ComputingResearch in Cloud Computing
Research in Cloud ComputingRajshri Mohan
 
Service level agreement in cloud computing an overview
Service level agreement in cloud computing  an overviewService level agreement in cloud computing  an overview
Service level agreement in cloud computing an overviewDr Neelesh Jain
 

Tendances (20)

Introduction to cloud and Cloud Computing
Introduction to cloud and Cloud ComputingIntroduction to cloud and Cloud Computing
Introduction to cloud and Cloud Computing
 
introduction to cloudsim
introduction to cloudsimintroduction to cloudsim
introduction to cloudsim
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
A tutorial on CloudSim
A tutorial on CloudSimA tutorial on CloudSim
A tutorial on CloudSim
 
Cloud Security Strategy
Cloud Security StrategyCloud Security Strategy
Cloud Security Strategy
 
Cloud computing
Cloud computing Cloud computing
Cloud computing
 
Presentation data center design overview
Presentation   data center design overviewPresentation   data center design overview
Presentation data center design overview
 
Layers and types of cloud
Layers and types of cloudLayers and types of cloud
Layers and types of cloud
 
Introduction to Cloud Computing
Introduction to Cloud ComputingIntroduction to Cloud Computing
Introduction to Cloud Computing
 
Fundamental Cloud Computing
Fundamental Cloud ComputingFundamental Cloud Computing
Fundamental Cloud Computing
 
Cloud Computing and Virtualization
Cloud Computing and Virtualization Cloud Computing and Virtualization
Cloud Computing and Virtualization
 
Cloud Computing Presentation
Cloud Computing PresentationCloud Computing Presentation
Cloud Computing Presentation
 
basic concept of Cloud computing and its architecture
basic concept of Cloud computing  and its architecturebasic concept of Cloud computing  and its architecture
basic concept of Cloud computing and its architecture
 
Cloud computing ppt
Cloud computing pptCloud computing ppt
Cloud computing ppt
 
Virtualization in cloud computing ppt
Virtualization in cloud computing pptVirtualization in cloud computing ppt
Virtualization in cloud computing ppt
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Green Cloud Computing
Green Cloud ComputingGreen Cloud Computing
Green Cloud Computing
 
Network Attached Storage (NAS)
Network Attached Storage (NAS) Network Attached Storage (NAS)
Network Attached Storage (NAS)
 
Research in Cloud Computing
Research in Cloud ComputingResearch in Cloud Computing
Research in Cloud Computing
 
Service level agreement in cloud computing an overview
Service level agreement in cloud computing  an overviewService level agreement in cloud computing  an overview
Service level agreement in cloud computing an overview
 

Similaire à Cloud sim report

LOCALITY SIM: CLOUD SIMULATOR WITH DATA LOCALITY
LOCALITY SIM: CLOUD SIMULATOR WITH DATA LOCALITY LOCALITY SIM: CLOUD SIMULATOR WITH DATA LOCALITY
LOCALITY SIM: CLOUD SIMULATOR WITH DATA LOCALITY ijccsa
 
Locality Sim : Cloud Simulator with Data Locality
Locality Sim : Cloud Simulator with Data LocalityLocality Sim : Cloud Simulator with Data Locality
Locality Sim : Cloud Simulator with Data Localityneirew J
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentIJERD Editor
 
ESTIMATING CLOUD COMPUTING ROUND-TRIP TIME (RTT) USING FUZZY LOGIC FOR INTERR...
ESTIMATING CLOUD COMPUTING ROUND-TRIP TIME (RTT) USING FUZZY LOGIC FOR INTERR...ESTIMATING CLOUD COMPUTING ROUND-TRIP TIME (RTT) USING FUZZY LOGIC FOR INTERR...
ESTIMATING CLOUD COMPUTING ROUND-TRIP TIME (RTT) USING FUZZY LOGIC FOR INTERR...IJCI JOURNAL
 
Dynamic congestion management system for cloud service broker
Dynamic congestion management system for cloud service  brokerDynamic congestion management system for cloud service  broker
Dynamic congestion management system for cloud service brokerIJECEIAES
 
Load Balancing in Cloud Computing Environment: A Comparative Study of Service...
Load Balancing in Cloud Computing Environment: A Comparative Study of Service...Load Balancing in Cloud Computing Environment: A Comparative Study of Service...
Load Balancing in Cloud Computing Environment: A Comparative Study of Service...Eswar Publications
 
Performance Improvement of Cloud Computing Data Centers Using Energy Efficien...
Performance Improvement of Cloud Computing Data Centers Using Energy Efficien...Performance Improvement of Cloud Computing Data Centers Using Energy Efficien...
Performance Improvement of Cloud Computing Data Centers Using Energy Efficien...IJAEMSJORNAL
 
Task Performance Analysis in Virtual Cloud Environment
Task Performance Analysis in Virtual Cloud EnvironmentTask Performance Analysis in Virtual Cloud Environment
Task Performance Analysis in Virtual Cloud EnvironmentRSIS International
 
2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...
2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...
2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...IEEEFINALYEARSTUDENTPROJECT
 
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS A stochastic model to investigate dat...
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS A stochastic model to investigate dat...IEEE 2014 JAVA CLOUD COMPUTING PROJECTS A stochastic model to investigate dat...
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS A stochastic model to investigate dat...IEEEGLOBALSOFTSTUDENTPROJECTS
 
Iaetsd effective fault toerant resource allocation with cost
Iaetsd effective fault toerant resource allocation with costIaetsd effective fault toerant resource allocation with cost
Iaetsd effective fault toerant resource allocation with costIaetsd Iaetsd
 
A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...
A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...
A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...IRJET Journal
 
2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...
2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...
2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...IEEEFINALSEMSTUDENTPROJECTS
 
COMPARISON_BETWEEN_CLOUD_AND_GRID_COMPUT.pdf
COMPARISON_BETWEEN_CLOUD_AND_GRID_COMPUT.pdfCOMPARISON_BETWEEN_CLOUD_AND_GRID_COMPUT.pdf
COMPARISON_BETWEEN_CLOUD_AND_GRID_COMPUT.pdfSbonelo Biyela
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 

Similaire à Cloud sim report (20)

Scheduling in CCE
Scheduling in CCEScheduling in CCE
Scheduling in CCE
 
LOCALITY SIM: CLOUD SIMULATOR WITH DATA LOCALITY
LOCALITY SIM: CLOUD SIMULATOR WITH DATA LOCALITY LOCALITY SIM: CLOUD SIMULATOR WITH DATA LOCALITY
LOCALITY SIM: CLOUD SIMULATOR WITH DATA LOCALITY
 
Locality Sim : Cloud Simulator with Data Locality
Locality Sim : Cloud Simulator with Data LocalityLocality Sim : Cloud Simulator with Data Locality
Locality Sim : Cloud Simulator with Data Locality
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
International Journal of Engineering Research and Development
International Journal of Engineering Research and DevelopmentInternational Journal of Engineering Research and Development
International Journal of Engineering Research and Development
 
ESTIMATING CLOUD COMPUTING ROUND-TRIP TIME (RTT) USING FUZZY LOGIC FOR INTERR...
ESTIMATING CLOUD COMPUTING ROUND-TRIP TIME (RTT) USING FUZZY LOGIC FOR INTERR...ESTIMATING CLOUD COMPUTING ROUND-TRIP TIME (RTT) USING FUZZY LOGIC FOR INTERR...
ESTIMATING CLOUD COMPUTING ROUND-TRIP TIME (RTT) USING FUZZY LOGIC FOR INTERR...
 
Dynamic congestion management system for cloud service broker
Dynamic congestion management system for cloud service  brokerDynamic congestion management system for cloud service  broker
Dynamic congestion management system for cloud service broker
 
E42053035
E42053035E42053035
E42053035
 
Load Balancing in Cloud Computing Environment: A Comparative Study of Service...
Load Balancing in Cloud Computing Environment: A Comparative Study of Service...Load Balancing in Cloud Computing Environment: A Comparative Study of Service...
Load Balancing in Cloud Computing Environment: A Comparative Study of Service...
 
N1803048386
N1803048386N1803048386
N1803048386
 
Performance Improvement of Cloud Computing Data Centers Using Energy Efficien...
Performance Improvement of Cloud Computing Data Centers Using Energy Efficien...Performance Improvement of Cloud Computing Data Centers Using Energy Efficien...
Performance Improvement of Cloud Computing Data Centers Using Energy Efficien...
 
Task Performance Analysis in Virtual Cloud Environment
Task Performance Analysis in Virtual Cloud EnvironmentTask Performance Analysis in Virtual Cloud Environment
Task Performance Analysis in Virtual Cloud Environment
 
2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...
2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...
2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...
 
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS A stochastic model to investigate dat...
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS A stochastic model to investigate dat...IEEE 2014 JAVA CLOUD COMPUTING PROJECTS A stochastic model to investigate dat...
IEEE 2014 JAVA CLOUD COMPUTING PROJECTS A stochastic model to investigate dat...
 
Iaetsd effective fault toerant resource allocation with cost
Iaetsd effective fault toerant resource allocation with costIaetsd effective fault toerant resource allocation with cost
Iaetsd effective fault toerant resource allocation with cost
 
A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...
A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...
A Host Selection Algorithm for Dynamic Container Consolidation in Cloud Data ...
 
2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...
2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...
2014 IEEE JAVA CLOUD COMPUTING PROJECT A stochastic model to investigate data...
 
B03410609
B03410609B03410609
B03410609
 
COMPARISON_BETWEEN_CLOUD_AND_GRID_COMPUT.pdf
COMPARISON_BETWEEN_CLOUD_AND_GRID_COMPUT.pdfCOMPARISON_BETWEEN_CLOUD_AND_GRID_COMPUT.pdf
COMPARISON_BETWEEN_CLOUD_AND_GRID_COMPUT.pdf
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 

Plus de Jiachen Yang

データモデルの更新を効率よく検証するの並列可能性
データモデルの更新を効率よく検証するの並列可能性データモデルの更新を効率よく検証するの並列可能性
データモデルの更新を効率よく検証するの並列可能性Jiachen Yang
 
Slides for Semantic Versioning versus Breaking Changes: A Study of the Maven ...
Slides for Semantic Versioning versus Breaking Changes: A Study of the Maven ...Slides for Semantic Versioning versus Breaking Changes: A Study of the Maven ...
Slides for Semantic Versioning versus Breaking Changes: A Study of the Maven ...Jiachen Yang
 
チェックリストと分割に基づく 網羅と使用テスト
チェックリストと分割に基づく  網羅と使用テストチェックリストと分割に基づく  網羅と使用テスト
チェックリストと分割に基づく 網羅と使用テストJiachen Yang
 
Active Refinement of Clone Anomaly Reports
Active Refinement of Clone Anomaly ReportsActive Refinement of Clone Anomaly Reports
Active Refinement of Clone Anomaly ReportsJiachen Yang
 
Inference and Checking of Object Ownership
Inference  and  Checking  of  Object OwnershipInference  and  Checking  of  Object Ownership
Inference and Checking of Object OwnershipJiachen Yang
 
基于OpenNEbula的虚拟化服务器集群中节能 的研究
基于OpenNEbula的虚拟化服务器集群中节能 的研究基于OpenNEbula的虚拟化服务器集群中节能 的研究
基于OpenNEbula的虚拟化服务器集群中节能 的研究Jiachen Yang
 
Output fica.beamer.43
Output fica.beamer.43Output fica.beamer.43
Output fica.beamer.43Jiachen Yang
 
Ukk's Algorithm of Suffix Tree
Ukk's Algorithm of Suffix TreeUkk's Algorithm of Suffix Tree
Ukk's Algorithm of Suffix TreeJiachen Yang
 

Plus de Jiachen Yang (8)

データモデルの更新を効率よく検証するの並列可能性
データモデルの更新を効率よく検証するの並列可能性データモデルの更新を効率よく検証するの並列可能性
データモデルの更新を効率よく検証するの並列可能性
 
Slides for Semantic Versioning versus Breaking Changes: A Study of the Maven ...
Slides for Semantic Versioning versus Breaking Changes: A Study of the Maven ...Slides for Semantic Versioning versus Breaking Changes: A Study of the Maven ...
Slides for Semantic Versioning versus Breaking Changes: A Study of the Maven ...
 
チェックリストと分割に基づく 網羅と使用テスト
チェックリストと分割に基づく  網羅と使用テストチェックリストと分割に基づく  網羅と使用テスト
チェックリストと分割に基づく 網羅と使用テスト
 
Active Refinement of Clone Anomaly Reports
Active Refinement of Clone Anomaly ReportsActive Refinement of Clone Anomaly Reports
Active Refinement of Clone Anomaly Reports
 
Inference and Checking of Object Ownership
Inference  and  Checking  of  Object OwnershipInference  and  Checking  of  Object Ownership
Inference and Checking of Object Ownership
 
基于OpenNEbula的虚拟化服务器集群中节能 的研究
基于OpenNEbula的虚拟化服务器集群中节能 的研究基于OpenNEbula的虚拟化服务器集群中节能 的研究
基于OpenNEbula的虚拟化服务器集群中节能 的研究
 
Output fica.beamer.43
Output fica.beamer.43Output fica.beamer.43
Output fica.beamer.43
 
Ukk's Algorithm of Suffix Tree
Ukk's Algorithm of Suffix TreeUkk's Algorithm of Suffix Tree
Ukk's Algorithm of Suffix Tree
 

Dernier

New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 

Dernier (20)

New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 

Cloud sim report

  • 1. CloudSim 2.0 Report Rodrigo N. Calheiros, Rajiv Ranjan, Anton Beloglazov, Cesar A. F. De Rose, and RajkumarBuyya, CloudSim: A Toolkit for Modeling and Simulation of Cloud Computing Environments and Evaluation of Resource Provisioning Algorithms, Software: Practice and Experience, ISSN: 0038-0644, Wiley Press, New York, USA, 2010 (in press, accepted on June 14, 2010). Presented by farseerfc@sjtu.edu.cn , Green Computing Group @ SE.SJTU
  • 2. Introduction Background Features Layered architecture of cloud Federation of clouds Green Computing @ SE.SJTU 2
  • 3. Cloud Computing Background subscription-based services – aim to simulate Infrastructure as a Service (IaaS) Platform as a Service (PaaS) Software as a Service (SaaS) Cloud model – described by ownership and paying models private clouds public clouds hybrid clouds federated clouds Green Computing @ SE.SJTU 3
  • 4. CloudSim Features modeling and simulation of large scale Cloud computing environments a self-contained platform for modeling Clouds, service brokers, provisioning, and allocations policies support for simulation of network connections among the simulated system elements facility for simulation of federated Cloud environment that inter-networks resources from both private and public domains availability of a virtualization engine that aids in creation and management of multiple, independent, and co-hosted virtualized services on a data center node flexibility to switch between space-shared and time-shared allocation of processing cores to virtualized services Green Computing @ SE.SJTU 4
  • 5. Layered architecture of Cloud Green Computing @ SE.SJTU 5
  • 6. Federation of Clouds Green Computing @ SE.SJTU 6
  • 7. CloudSim Architecture Layered CloudSim 2.0 architecture Modeling the Cloud Modeling the VM Allocation Modeling the Cloud Market Modeling the Network Behavior Modeling Dynamic Workloads Modeling Data Center Power Consumption Green Computing @ SE.SJTU 7
  • 8. Layered CloudSim 2.0 architecture Green Computing @ SE.SJTU 8
  • 9. Compare to CloudSim 1.0 Replaced SimJava layer as core simulation engine To provide a more powerful event framework that support adding entities at run-time In-built GridSim layer To provide a cleaner abstraction of Hosts, VMs and network topology. Green Computing @ SE.SJTU 9
  • 10. Modeling the Cloud Federation Datacenters Hosts VMs Application services Green Computing @ SE.SJTU 10
  • 11. Init CloudSim CloudSim.init(num_user, calendar, trace_flag); Build DataCenters Datacenter: This class encapsulates a set of compute hosts that can either be homogeneous or heterogeneous with respect to their hardware configurations. Furthermore, every Datacenter component instantiates a generalized application provisioning component that implements a set of policies for allocating bandwidth, memory, and storage devices to hosts and VMs. Build DatacenterBroker or CloudCoordinator DatacenterBroker: The broker acts on behalf of SaaS providers. It discovers suitable Cloud service providers by querying the Cloud Information Service (CIS) and undertakes on-line negotiations for allocation of resources/services that can meet application’s QoS needs. The researchers and system developers must extend this class for evaluating and testing custom brokering policies. CloudCoordinator: This abstract class extends a Cloud-based data center to the federation. It is responsible for periodically monitoring the internal state of data center resources and based on that it undertakes dynamic load-shredding decisions. Concrete implementation of this component includes the specific sensors and the policy that should be followed during load-shredding. Monitoring of data center resources is performed by the updateDatacenter() method by sending queries Sensors. Build and submit VMs to broker Build and submit cloudlets to broker Green Computing @ SE.SJTU 11
  • 12. Datacenter DatacenterCharacteristics: Hosts arch, os, vmm, time_zone Cost (cpu, mem, storage, bandwith) VmmAllocationPolicy: select available host in a data center that meets the memory, storage, and availability requirement for a VM deployment. VmAllocationPolicySimple is an VmAllocationPolicythat chooses, as the host for a VM, the host with less PEs in use. Green Computing @ SE.SJTU 12
  • 13. Host PEs : Physical processing element, a cpu core PeProvisioner: provisioning pe to VMs PeProvisionerSimple MIPS Ram RamProvisioner RamProvisionerSimple Bandwidth BwProvisioner BwProvisionerSimple Storage VmScheduler Green Computing @ SE.SJTU 13
  • 14. VM size amount of storage ram amount of ram bw amount of bandwidth pesNumber amount of CPUs vmm virtual machine monitor priority the priority mips the mips cloudletSchedulercloudletScheduler policy for cloudlets Green Computing @ SE.SJTU 14
  • 15. Cloudlet cloudletLength the length or size (in MI) of this cloudlet to be executed in a PowerDatacenter cloudletFileSize the file size (in byte) of this cloudlet BEFORE submitting to a PowerDatacenter cloudletOutputSize the file size (in byte) of this cloudlet AFTER finish executing by a PowerDatacenter pesNumber utilizationModelCpu utilizationModelRam utilizationModelBw Green Computing @ SE.SJTU 15
  • 16. Modeling the VM Allocation CloudSim supports VM provisioning at two levels. At the host level, it is possible to specify how much of the overall processing power of each core will be assigned to each VM. At the VM level, the VM assigns a fixed amount of the available processing power to the individual application services (task units) that are hosted within its execution engine. At each level, CloudSim implements the time-shared and space-shared provisioning policies. Green Computing @ SE.SJTU 16
  • 17. Space-shared and time-shared Space-shared provisioning for VMs and tasks Space-shared provisioning for VMs and time-shared provisioning for tasks Time-shared provisioning for VMs, space-shared provisioning for tasks Time-shared provisioning for VMs and tasks. Green Computing @ SE.SJTU 17
  • 18. Space-shared and time-shared where eft(p) is the estimated finish time, ctis the current simulation time, and cores(p) is the number of cores (processing elements) required by the Cloudlet. In time-shared mode, multiple Cloudlets (task units) can simultaneously multi-task within a VM. where est(p) is the Cloudlet (cloud task) estimated start time and rlis the total number of instructions that the Cloudlet will need to execute on a processor. Cloudlets are put in the queue when there are free processing cores available that can be assigned to the VM. Green Computing @ SE.SJTU 18
  • 19. Modeling the Cloud Market Modeling of costs and economic policies are important aspects to be considered when designing a Cloud simulator. The Cloud market is modeled based on a multi-layered (two layers) design. The first layer contains economic of features related to IaaS model such as cost per unit of memory, cost per unit of storage, and cost per unit of used bandwidth. Cloud customers (SaaS providers) have to pay for the costs of memory and storage when they create and instantiate VMs whereas the costs for network usage are only incurred in event of data transfer. The second layer models the cost metrics related to SaaS model. Costs at this layer are directly applicable to the task units (application service requests) that are served by the application services. Hence, if a Cloud customer provisions a VM without an application service (task unit), then they would only be charged for layer 1 resources (i.e. the costs of memory and storage). This behavior may be changed or extended by CloudSim users. Green Computing @ SE.SJTU 19
  • 20. Modeling the Network Behavior There are no actual entities available for simulating network entities, such as routers or switches. Instead, network latency that a message can experience on its path from one CloudSim entity (host) to another (Cloud Broker) is simulated based on the information stored in the latency matrix Define the topology by hand coding, or writing BRITE format. Green Computing @ SE.SJTU 20
  • 21.
  • 22. Messages (events) sent by CloudSim entities are first processed by NetworkTopology object that stores the network topology information. This object augments the latency information to the event and passes it on to the event management engine for further processing.
  • 23. A. Medina, A. Lakhina, I. Matta, J. Byer. BRITE: An Approach to Universal Topology Generation. Proceedings of the 9th International Workshop on Modeling, Analysis, and Simulation of Computer and Telecommunication Systems (MASCOTS 2001), Cincinnati, OH, USA, 15-18 August 2001Green Computing @ SE.SJTU 21
  • 24. Modeling Dynamic Workloads In the CloudSim framework, Utilization Model is an abstract class that must be extended for implementing a workload pattern required to model the application’s resource demand. CloudSim users are required to override the method, getUtilization(), whose input type is discrete time parameter and return type is percentage of computational resource required by the Cloudlet. Another important requirement for Cloud computing environments is to ensure that the agreed SLA in terms of QoS parameters such as availability, reliability, and throughput are delivered to the applications. To simulate such behavior, SLA model can either be defined as fully allocating the requested amount of resources or allowing flexible resource allocations up to a specific rate as long as the agreed SLA can be delivered. Green Computing @ SE.SJTU 22
  • 25. Modeling Data Center Power Consumption extending the Processing Element (PE) object to include an additional Power Model object for managing power consumption on a per Cloud host basis. PowerModel abstract class should be extended for simulating custom power consumption model of a PE. CloudSim users need to override the method getPower() of this class, whose input parameter is the current utilization metric for Cloud host and return parameters is the current power consumption value. This capability enables the creation of energy-conscious provisioning policies that require real-time knowledge of power consumption by Cloud system components. Furthermore, it enables accounting of total energy consumed by the system during the simulation period. Green Computing @ SE.SJTU 23
  • 26. Implementation Details Class Diagram Core Simulation Engine Data Center Internal Processing Green Computing @ SE.SJTU 24
  • 27. Class Diagram Green Computing @ SE.SJTU 25
  • 28. Core Simulation Engine A framework of simulation events CloudSim: This is the main class, which is responsible for managing event queues and controlling step by step (sequential) execution of simulation events. SimEvent SimEvent SimEvent SimEvent SimEvent SimEvent CloudSimTag CloudSimTag CloudSimTag CloudSimTag CloudSimTag CloudSimTag CloudSim CIS SimEntity SimEntity SimEntity SimEntity FutureQueue DeferredQueue Green Computing @ SE.SJTU 26
  • 29. Core Simulation Engine SimEntity: This is an abstract class, which represents a simulation entity that is able to send messages to other entities and process received messages as well as fire and handle events. CloudInformationService: A Cloud Information Service (CIS) is an entity that provides resource registration, indexing, and discovering capabilities. CloudSimTags. This class contains various static event/command tags that indicate the type of action that needs to be undertaken by CloudSim entities when they receive or send events. SimEvent: This entity represents a simulation event that is passed between two or more entities. SimEvent stores following information about an event: type, init time, time at which the event should occur, finish time, time at which the event should be delivered to its destination entity, IDs of the source(s?) and destination entities, tag of the event and data that has to be passed to the destination entity. CloudSimShutdown: This is an entity that waits for the termination of all end-user and broker entities, and then signals the end of simulation to CIS. Green Computing @ SE.SJTU 27
  • 30.
  • 31. PredicateNotFrom: This class represents a predicate that selects events that have not been sent by specific entities.
  • 32. PredicateNotType: This class represents a predicate to select events that don't match specific tags.
  • 33. PredicateType: This class represents a predicate to select events with specific tags.Green Computing @ SE.SJTU 28
  • 34. Updating Process Green Computing @ SE.SJTU 29
  • 35. CIS registry At the beginning of a simulation, each Datacenter entity registers with the CIS (Cloud Information Service) Registry. CIS then provides information registry type functionalities, such as match-making services for mapping user/Brokers requests to suitable Cloud providers. Next, the DataCenter Brokers acting on behalf of users consult the CIS service to obtain the list of cloud providers who can offer infrastructure services that match application’s QoS, hardware, and software requirements. In the event of a match, the DataCenter broker deploys the application with the CIS suggested cloud. Green Computing @ SE.SJTU 30
  • 36. Experiments and Evaluation CloudSim: Scalability and Overhead Evaluation Evaluating Federated Cloud Computing Components Case study: Hybrid Cloud Provisioning Strategy Case study: Energy-Conscious Management of Data Center Green Computing @ SE.SJTU 31
  • 37. Scalability and Overhead The tests were conducted on a machine that had two Intel Xeon Quad-core 2.27 GHz and 16 GB of RAM memory. Green Computing @ SE.SJTU 32
  • 38. space-shared & time-shared As expected, in the space-shared mode, every task took 20 minutes for completion as they had dedicated access to the processing core. In space share mode, arrival of new task did not have any effect on the tasks under execution. Every new task was simply queued in for future consideration. However, in the time-shared mode, execution time of each task varied with an increase in the number of submitted task units. Time-shared policy for allocating task units to VMs had a significant effect on execution times, as the processing core was massively context switched among the active tasks. Green Computing @ SE.SJTU 33
  • 39. Evaluating Federated Cloud Computing Components shows the average turn-around time for each Cloudlet and the overall makespan of the end-user application in both cases. An end user application consisted of one or more Cloudlets that had sequential dependencies. The simulation results revealed that the availability of federated infrastructure of clouds reduces the average turn-around time by more than 50%, while improving the makespan by 20%. Green Computing @ SE.SJTU 34
  • 40. Hybrid Cloud Provisioning Strategy As expected, with an increase in the size of the resource pool that was available to task provisioning, the overall makespan of tasks reduced. However, the cost associated with the processing also increased, with an increase in % of public cloud resource. Nevertheless, we found that the increased cost offered significant gains in terms of improved make span. Overall, it was always cheaper to rent resources from public clouds for handling sudden peaks in demands as compared to buying or installing private infrastructures. Green Computing @ SE.SJTU 35
  • 41. Energy-Conscious Management of Data Center DVFS enabled with linear power model on PEs. Apply live-migration based on DVFS to consolidate. Green Computing @ SE.SJTU 36
  • 42. Energy-Conscious Management of Data Center Green Computing @ SE.SJTU 37
  • 43. THANKS Green Computing @ SE.SJTU 38