[Paper Review] FlexCloud: A Flexible and Extendible Simulator for Performance Evaluation of Virtual Machine Allocation
FlexCloud is a lightweight, flexible, and extensible simulator for evaluating virtual machine (VM) allocation algorithms in cloud data centers, particularly focusing on Infrastructure-as-a-Service (IaaS). It supports dynamic VM scheduling, migration modeling, and customizable configurations, outperforming CloudSim in execution time and memory efficiency while validating performance using real-world LLNL traces and demonstrating superior load balancing and utilization with the Capacity_makespan Prepartition (CMP) algorithm.
Cloud Data centers aim to provide reliable, sustainable and scalable services for all kinds of applications. Resource scheduling is one of keys to cloud services. To model and evaluate different scheduling policies and algorithms, we propose FlexCloud, a flexible and scalable simulator that enables users to simulate the process of initializing cloud data centers, allocating virtual machine requests and providing performance evaluation for various scheduling algorithms. FlexCloud can be run on a single computer with JVM to simulate large scale cloud environments with focus on infrastructure as a service; adopts agile design patterns to assure the flexibility and extensibility; models virtual machine migrations which is lack in the existing tools; provides user-friendly interfaces for customized configurations and replaying. Comparing to existing simulators, FlexCloud has combining features for supporting public cloud providers, load-balance and energy-efficiency scheduling. FlexCloud has advantage in computing time and memory consumption to support large-scale simulations. The detailed design of FlexCloud is introduced and performance evaluation is provided.
Motivation & Objective
- To address the lack of extensible, scalable, and realistic simulators for evaluating VM allocation in cloud environments.
- To support comprehensive simulation of VM allocation, migration, and scheduling across large-scale IaaS cloud infrastructures.
- To enable performance evaluation of diverse scheduling algorithms, including load-balancing and energy-efficiency strategies.
- To provide a modular, agile architecture that allows easy extension of resource models, request specifications, and scheduling algorithms.
- To validate the simulator using real-world workload traces (LLNL) and compare performance against existing tools like CloudSim.
Proposed method
- Designing a layered, extensible architecture using agile design patterns to support modular integration of resources, VM requests, and scheduling algorithms.
- Modeling virtual machine requests using real traces from Lawrence Livermore National Laboratory (LLNL), converted into 5-minute time slots.
- Implementing VM migration simulation to capture dynamic load redistribution, a missing feature in many existing simulators.
- Defining performance metrics including average utilization, imbalance degree, makespan, and capacity_makespan for algorithm comparison.
- Introducing the Capacity_makespan Prepartition (CMP) algorithm, which pre-partitions VM requests based on capacity and makespan to optimize load distribution.
- Using offline scheduling with varying PM configurations (15 to 240 PMs) and VM specifications aligned with Amazon EC2 to simulate realistic cloud workloads.
Experimental results
Research questions
- RQ1How does FlexCloud’s architecture enable flexible and extensible simulation of VM allocation in large-scale cloud environments?
- RQ2To what extent does FlexCloud outperform existing simulators like CloudSim in terms of execution time and memory consumption?
- RQ3How do different scheduling algorithms—such as RoundRobin, LPT, MIG, and CMP—affect key performance metrics like utilization, makespan, and imbalance degree?
- RQ4Can the CMP algorithm achieve significantly better load balancing and resource utilization compared to traditional algorithms when using real-world workload traces?
- RQ5How does the number of partitions (k) in the CMP algorithm influence load balance and performance metrics like makespan and imbalance degree?
Key findings
- The Capacity_makespan Prepartition (CMP) algorithm achieved 10–20% higher average utilization than MIG and LPT, and 40–50% higher than RoundRobin (R-R).
- CMP reduced average makespan and capacity_makespan by 10–20% compared to MIG and LPT, and by 40–50% compared to R-R.
- Increasing the partition number (k) in the CMP algorithm improved load balance, with larger k values yielding lower imbalance degree.
- The Post Migration (MIG) algorithm failed to match the performance of CMP in any metric, including utilization, makespan, and capacity_makespan.
- FlexCloud demonstrated superior performance in execution time and memory consumption compared to CloudSim, especially in large-scale simulations.
- Validation using LLNL real-world traces confirmed the simulator’s accuracy and relevance to real cloud workloads.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.