Skip to content

Cloudslab/cloudsim

Repository files navigation

CloudSim: A Framework For Modeling And Simulation Of Cloud Computing Infrastructures And Services

Cloud computing is the leading approach for delivering reliable, secure, fault-tolerant, sustainable, and scalable computational services. Hence timely, repeatable, and controllable methodologies for performance evaluation of new cloud applications and policies before their actual development are reqruied. Because utilization of real testbeds limits the experiments to the scale of the testbed and makes the reproduction of results an extremely difficult undertaking, simulation may be used.

CloudSim goal is to provide a generalized and extensible simulation framework that enables modeling, simulation, and experimentation of emerging Cloud computing infrastructures and application services, allowing its users to focus on specific system design issues that they want to investigate, without getting concerned about the low level details related to Cloud-based infrastructures and services.

CloudSim is developed in the Cloud Computing and Distributed Systems (CLOUDS) Laboratory, at the Computer Science and Software Engineering Department of the University of Melbourne.

More information can be found on the CloudSim's web site.

Main features

  • support for modeling and simulation of large scale Cloud computing data centers
  • support for modeling and simulation of virtualized server hosts, with customizable policies for provisioning host resources to virtual machines
  • support for modeling and simulation of application containers
  • support for modeling and simulation of energy-aware computational resources
  • support for modeling and simulation of data center network topologies and message-passing applications
  • support for modeling and simulation of federated clouds
  • support for dynamic insertion of simulation elements, stop and resume of simulation
  • support for user-defined policies for allocation of hosts to virtual machines and policies for allocation of host resources to virtual machines

Download

The downloaded package contains all the source code, examples, jars, and API html files.

Install CloudSim (Linux)

  1. Install Java JDK21 on your system:
sudo apt install openjdk-21-jdk
  1. Set Java JDK21 as default:
sudo update-java-alternatives --set java-1.21.0-openjdk-amd64
  1. Install Maven as shown on the official website
  2. Compile and run tests:
mvn build
mvn test
  1. Run an example in cloudsim-examples:
mvn exec:java -pl modules/cloudsim-examples/ -Dexec.mainClass=org.cloudbus.cloudsim.examples.CloudSimExample1

Suggestion: Use an IDE such as IDEA Intellij to faciliate steps 4) and 5)

Preferred Publication (under submission, currently available on arxiv only)

Publications (Legacy)