MCPcopy Index your code
hub / github.com/Cloudslab/cloudsim

github.com/Cloudslab/cloudsim @7.0.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release 7.0.1 ↗ · + Follow
3,097 symbols 9,928 edges 380 files 1,921 documented · 62%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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 4) Compile and Run tests using the command prompt: prompt mvn clean install You will find the jars in modules/cloudsim/target/cloudsim-$VERSION.jar and modules/cloudsim-examples/target/cloudsim-examples-$VERSION.jar

5) 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: bash sudo apt install openjdk-21-jdk - On Red Hat-based Linux:
bash sudo yum install java-21-openjdk 2) Set Java JDK21 as default: - On Debian-based Linux & Windows WSL2: bash sudo update-java-alternatives --set java-1.21.0-openjdk-amd64 - On Red Hat-based Linux: bash sudo update-alternatives --config 'java' 3) Install Maven as shown on the Official Website 4) Compile and run tests: bash mvn clean install You will find the jars in modules/cloudsim/target/cloudsim-$VERSION.jar and modules/cloudsim-examples/target/cloudsim-examples-$VERSION.jar

5) Run an example (e.g., CloudSimExample1) in cloudsim-examples using the terminal: bash 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

Publications (Legacy)

Extension points exported contracts — how you extend this code

UtilizationModel (Interface)
The UtilizationModel interface needs to be implemented in order to provide a fine-grained control over resource usage by [10 …
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/UtilizationModel.java
CloudSimTags (Interface)
A public interface to define different enums to be used by the CloudSim event system. @author Remo Andreoli @since Clou [6 …
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/core/CloudSimTags.java
NetworkedEntity (Interface)
An interface exposing the functionalities required by an entity that needs to interact with a virtual/physical network [6 …
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/core/NetworkedEntity.java
ContinuousDistribution (Interface)
Interface to be implemented by a random number generator. @author Marcos Dias de Assuncao @since CloudSim Toolkit 1.0 [16 …
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/distributions/ContinuousDistribution.java
IVmBootDelayDistribution (Interface)
Defines how much boot delay should be there for a given VM. @author nikolay.grozev @author Remo Andreoli [8 implementers]
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/EX/delay/IVmBootDelayDistribution.java

Core symbols most depended-on inside this repo

println
called by 409
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/Log.java
format
called by 250
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/Log.java
put
called by 222
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/EX/vm/MonitoredVmEX.java
size
called by 222
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/EX/vm/MonitoredVmEX.java
getId
called by 214
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/core/HostEntity.java
getId
called by 201
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/Packet.java
clock
called by 148
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/core/CloudSim.java
isEmpty
called by 141
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/web/IGenerator.java

Shape

Method 2,696
Class 363
Interface 27
Enum 11

Languages

Java100%

Modules by API surface

modules/cloudsim/src/main/java/org/cloudbus/cloudsim/Cloudlet.java78 symbols
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/Vm.java70 symbols
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/Host.java55 symbols
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/container/core/Container.java49 symbols
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/CloudletScheduler.java42 symbols
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/DatacenterBroker.java41 symbols
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/Datacenter.java40 symbols
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/core/CloudSim.java37 symbols
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/DatacenterCharacteristics.java37 symbols
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/web/WebSession.java36 symbols
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/container/core/PowerContainerDatacenter.java36 symbols
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/core/HostEntity.java35 symbols

For agents

$ claude mcp add cloudsim \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact