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 required. 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's 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

Either clone the repository or download a release. The release package contains all the source code, examples, jars, and API html files.

Installation

Windows

  1. Install Java JDK21 on your system from the official website as shown in JDK installation instructions
  2. Install Maven as shown on the official website
  3. Compile and Run tests using the command prompt:
mvn clean package
  1. Run an example (e.g., CloudSimExample1) in cloudsim-examples using the command prompt:
mvn exec:java -pl modules/cloudsim-examples/ -Dexec.mainClass=org.cloudbus.cloudsim.examples.CloudSimExample1

Linux

  1. Install Java JDK21 on your system:
  • On Debian-based Linux & Windows WSL2:
    sudo apt install openjdk-21-jdk
  • On Red Hat-based Linux:
    sudo yum install java-21-openjdk
  1. Set Java JDK21 as default:
  • On Debian-based Linux & Windows WSL2:
    sudo update-java-alternatives --set java-1.21.0-openjdk-amd64
  • On Red Hat-based Linux:
    sudo update-alternatives --config 'java'
  1. Install Maven as shown on the Official Website
  2. Compile and run tests using the terminal:
mvn clean package
  1. Run an example (e.g., CloudSimExample1) in cloudsim-examples using the terminal:
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 (Accepted for Publication, Available on arxiv only as a pre-print)

Publications (Legacy)

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages