Introduction to CloudSim Package

posted Apr 4, 2014, 7:25 AM by Anupinder Singh   [ updated Oct 21, 2016, 7:02 AM ]
Simulation Environment Introduction(Previous)                                                                                                                                                       CloudSimExample Step by Step Working(Next)



The CloudSim Project is structured as java custom packages,where each package will contain the correlated classes in it. This project has in twelve packages as follows:
  1. org.cloudbus.cloudsim: This package contains classes that once instantiated will behave like some component in the system or support a specific component of the system for producing its relevant behavior during the simulation process. This package can be broadly categorized into two sections:
    • Simulating Components Classes: These are the set of classes that imitates a particular part of cloud setup. These are the classes that come under this category: Cloudlet, datacenter, datacenterbroker,host,storage,hardrivestorage, SANstorage,PE,datacloudTags & VM.
    • Policy Classes: These are the set of classes that imitate the policy behavior of a cloud component. Following are the classes that comes under this category: VMAllocationPolicy, CloudLetSchedulingPolicy, VMSchedulingPolicy,UtilizationModel and each of these class has there variants implemented in this package.
  2. org.cloudbus.cloudsim.core: This package contains the main classes of this project and are directly responsible for initiating(CloudInformationService.java, Cloudsim.java), starting(Cloudsim.java), maintaining(Cloudsim.java, SimEntity.java, SimEvent.java, FutureQueue.java and DeferedQueue.java) and end the simulation process(Cloudsim.java). This package contains a class 'cloudsimtags.java' this class contains all the event identifiers that are been implemented in datacenter and datacenterbroker class.  
  3. org.cloudbus.cloudsim.core.predicates:  This package classes are responsible for selecting matching events from deferredqueue class object during the simulation process for executing the event on specific entity.
  4. org.cloudbus.cloudsim.distributions: This package contain classes that have predefined network traffic distribution methods implemented in them. Classes defined here are: ContinuousDistribution,ExponentialDistribution etc
  5. org.cloudbus.cloudsim.lists: This package contain classes implementing predefined operations related to component list during simulation. Lists classes specified in this package are: CloudLetList, HostList, PeList, ResCloudLetList and VMList.
  6. org.cloudbus.cloudsim.network: This package hold the classes that produce behavior related to network packet routing.
  7. org.cloudbus.cloudsim.network.datacenter: This package contain classes to produce a simulation behavior for geographically distributed data centers of cloud service providers.
  8. org.cloudbus.cloudsim.power / org.cloudbus.cloudsim.power.lists/ org.cloudbus.cloudsim.power.models : In these packages the org.cloudbus.cloudsim package classes are extended to produce behavior for power aware components. These packages cab be used to implement green computing related work.
  9. org.cloudbus.cloudsim.provisioners: Classes in this package contains policies related to allocation of Bandwidth, Processing elements and RAM. Default policy implemented here is 'Best effort allocation policy'.
  10. org.cloudbus.cloudsim.util: Classes in this package provide the basic utility operations related to perform some math operations related to cloud computing services or some calculation of execution time during the simulation process.
In following video we have looked into these packages and discussed about few important classes and their role in simulation process:

Introduction to CloudSim Package


NOTE: In case your are not able to view video on this page Click Here.