<scp>CloudSim 7G</scp>: An Integrated Toolkit for Modeling and Simulation of Future Generation Cloud Computing Environments

Remo Andreoli, Jie Zhao, Tommaso Cucinotta, Rajkumar Buyya

TL;DR

CloudSim 7G is a major overhaul of the popular CloudSim simulator, introducing a re-engineered architecture with standardized interfaces to seamlessly integrate diverse cloud computing modules (VMs, containers, networking, etc.). This significantly improves flexibility, extensibility, and performance, making it easier for researchers to model and simulate complex, next-generation cloud environments.

What Problem Does This Paper Address?

Evaluating novel resource management techniques for cloud computing environments is challenging due to the inherent complexity and cost of real-world data centers. While simulators like CloudSim have been invaluable, previous versions suffered from fragmentation and difficulty integrating various extensions (e.g., for containers, networking, IoT). This led to code duplication, compatibility issues, and a hindered ability to model sophisticated, multi-paradigm cloud scenarios. The paper addresses this by creating a unified, extensible framework that allows for the seamless coexistence and interaction of multiple CloudSim modules.

Methods

The core of CloudSim 7G's advancement lies in its re-engineered internal architecture. Key methodological contributions include:

  • Standardized Java Interfaces: New interfaces (e.g., HostEntity, GuestEntity, VirtualEntity, SelectionPolicy) abstract common functionalities, enabling modules to interact more cohesively. This replaces the previous approach where extensions often duplicated existing code with minor modifications.
  • Code Refactoring and Optimization: Extensive refactoring and refinement of existing modules (NetworkCloudSim, ContainerCloudSim, power module) led to a significant reduction in codebase size (over 13,000 lines removed) without losing functionality.
  • Nested Virtualization Support: The architecture now explicitly supports simulating nested virtualization scenarios (e.g., containers within VMs, or VMs within VMs).
  • Virtualization Overhead Parameter: A new parameter allows for the modeling of the performance impact of virtualization layers on communication.
  • Performance Enhancements: Optimizations in the simulation core engine (e.g., using PriorityQueue for event dispatching) and data structure choices improve run-time performance and memory efficiency.

Datasets

The paper does not introduce new datasets. Instead, it uses:

  • PlanetLab package [38]: Workload traces from this package are used for evaluation.
  • Power module [5] heuristics: Simple heuristic algorithms from the power module are employed.
  • Simulated scenarios: The case study utilizes a simulated datacenter and workflow application with specific parameters defined in Table 3.

Key Insights and Ideas

  • Unified Extensibility is Key: The most significant insight is that a generalized architectural approach with standardized interfaces is crucial for fostering a truly integrated and extensible simulation ecosystem, rather than a collection of disparate, single-feature extensions.
  • Codebase Modernization Pays Off: Massive refactoring and optimization, while labor-intensive, yield substantial improvements in performance (memory and speed) and maintainability.
  • Nested Virtualization is Now First-Class: The explicit support for nested virtualization is a critical step towards accurately modeling modern, complex cloud deployments.
  • Abstraction Reduces Redundancy: By abstracting common concepts like "selection policies," CloudSim 7G drastically reduces code duplication and simplifies the development of new modules.

Key Results

  • Performance Improvements: CloudSim 7G shows significant performance gains over CloudSim 6G, with up to 25% less heap memory allocated and 4-10 seconds saved in run-time for selected experiments.
  • Codebase Reduction: Over 13,000 lines of code were removed through deduplication and refactoring.
  • Enhanced Flexibility: The new architecture allows for the seamless integration of multiple modules (VMs, containers, networking, etc.) within a single simulation scenario, enabling the modeling of hybrid cloud environments.
  • Improved Readability and Usability: The refactored codebase and standardized interfaces make the simulator easier for developers and researchers to understand and use.

Limitations and Future Work

  • Limitations:
    • While CloudSim 7G aims for backward compatibility, module developers will need to update their extensions to adhere to the new Java interfaces.
  • The paper acknowledges that the current cloudlet scheduling component's accuracy might still be a concern for evaluating production-quality cloud components, though CloudSim 7G represents a significant advancement.
  • Future Work:
    • More Realistic Scheduling: Support for more realistic time-shared CPU scheduling policies for multi-core VMs and parallel processes.
  • Richer Network Simulation: Evolving network simulation components for more detailed modeling of network behavior in distributed cloud infrastructures.
  • Unified Entity Interface: Merging host and guest entity components into a single standardized interface for future releases to further simplify compatibility.
  • Enhanced Capability Modeling: Updating the simulator to specify computational capabilities in terms of clock frequency, in addition to MIPS.
  • Comprehensive Test Suite: Developing a more extensive test suite to ensure correctness and prevent regressions.
  • AI/ML Integration: Exploring the integration of components for training and evaluating AI/ML models for resource management strategies.
  • Module Development: Encouraging the research community to develop new modules leveraging the design shift and investigate novel scheduling policies for hybrid scenarios.

Summary updated

Abstract

ABSTRACT Background Cloud Computing has established itself as an efficient and cost‐effective paradigm for the execution of web‐based applications, and scientific workloads, that need elasticity and on‐demand scalability capabilities. However, the evaluation of novel resource provisioning and management techniques is a major challenge due to the complexity of large‐scale data centers. Therefore, Cloud simulators are an essential tool for academic and industrial researchers, to investigate the effectiveness of novel algorithms and mechanisms in large‐scale scenarios. Aim This paper proposes CloudSim 7G, the seventh generation of CloudSim, which features a re‐engineered and generalized internal architecture to facilitate the integration of multiple CloudSim extensions within the same simulated environment. Methods As part of the new design, we introduced a set of standardized interfaces to abstract common functionalities and carried out extensive refactoring and refinement of the codebase. Results The result is a substantial reduction in lines of code with no loss in functionality, significant improvements in run‐time performance and memory efficiency (up to 25\% less heap memory allocated), as well as increased flexibility, ease‐of‐use, and extensibility of the framework. Conclusion These improvements benefit not only CloudSim developers but also researchers and practitioners using the framework for modeling and simulating next‐generation Cloud Computing environments.
BibTeX
@inproceedings{andreoli2025scp,
  author = {Remo Andreoli and Jie Zhao and Tommaso Cucinotta and Rajkumar Buyya},
  title = {{<scp>CloudSim 7G</scp>: An Integrated Toolkit for Modeling and Simulation of Future Generation Cloud Computing Environments}},
  booktitle = {Software},
  year = {2025},
  doi = {10.1002/spe.3413},
}
Figure