Skip to main content
QUICK REVIEW

[Paper Review] Optimal bandwidth-aware VM allocation for Infrastructure-as-a-Service

Debojyoti Dutta, Michael Kapralov|arXiv (Cornell University)|Feb 16, 2012
Caching and Content DeliveryComputer Science14 references5 citations
TL;DR

This paper proposes a dynamic programming algorithm for optimal bandwidth-aware virtual machine (VM) allocation in Infrastructure-as-a-Service (IaaS) environments with tree-based data center topologies. It achieves minimum network congestion in O(3^k n) time for general request graphs and O(nk^2) for clique requests, proving the problem remains NP-hard even under strict topological constraints.

ABSTRACT

Infrastructure-as-a-Service (IaaS) providers need to offer richer services to be competitive while optimizing their resource usage to keep costs down. Richer service offerings include new resource request models involving bandwidth guarantees between virtual machines (VMs). Thus we consider the following problem: given a VM request graph (where nodes are VMs and edges represent virtual network connectivity between the VMs) and a real data center topology, find an allocation of VMs to servers that satisfies the bandwidth guarantees for every virtual network edge---which maps to a path in the physical network---and minimizes congestion of the network. Previous work has shown that for arbitrary networks and requests, finding the optimal embedding satisfying bandwidth requests is $\mathcal{NP}$-hard. However, in most data center architectures, the routing protocols employed are based on a spanning tree of the physical network. In this paper, we prove that the problem remains $\mathcal{NP}$-hard even when the physical network topology is restricted to be a tree, and the request graph topology is also restricted. We also present a dynamic programming algorithm for computing the optimal embedding in a tree network which runs in time $O(3^kn)$, where $n$ is the number of nodes in the physical topology and $k$ is the size of the request graph, which is well suited for practical requests which have small $k$. Such requests form a large class of web-service and enterprise workloads. Also, if we restrict the requests topology to a clique (all VMs connected to a virtual switch with uniform bandwidth requirements), we show that the dynamic programming algorithm can be modified to output the minimum congestion embedding in time $O(k^2n)$.

Motivation & Objective

  • Address the challenge of minimizing network congestion in IaaS environments while satisfying bandwidth guarantees between VMs.
  • Formulate the VM allocation problem as a graph embedding task where virtual network edges must map to physical paths with sufficient bandwidth.
  • Develop an efficient algorithm for optimal VM placement under tree-structured physical and request topologies to improve resource utilization and QoS.
  • Establish theoretical hardness results to demonstrate that the problem remains NP-hard even under restrictive topological constraints.
  • Provide scalable solutions for practical workloads such as enterprise applications and MapReduce, where request sizes are small but bandwidth guarantees are critical.

Proposed method

  • Use dynamic programming to compute the optimal VM-to-server mapping that minimizes network congestion in tree-structured data centers.
  • Model the problem as embedding a request graph (VMs and bandwidth requirements) into a physical tree network, with each virtual edge mapped to a physical path.
  • Design a state-space traversal that considers all possible placements of VMs and computes congestion based on cumulative bandwidth usage on physical links.
  • Introduce a modified algorithm for clique-based request topologies (e.g., virtual clusters) that reduces time complexity to O(nk^2) by exploiting symmetry and uniform bandwidth demands.
  • Prove NP-hardness of the problem even when both physical and request topologies are restricted to trees and paths, using reductions from known hard problems.
  • Validate the algorithm via linear scan over all feasible allocations for small instances, confirming correctness and demonstrating infeasibility of brute-force at scale.

Experimental results

Research questions

  • RQ1Is the problem of optimal bandwidth-aware VM allocation NP-hard even when both the physical network and request graph are restricted to tree topologies?
  • RQ2Can an efficient dynamic programming algorithm be designed to compute the minimum congestion embedding for small-sized VM request graphs in tree-based data centers?
  • RQ3How does the algorithm scale with respect to the number of servers (n) and the size of the request graph (k)?
  • RQ4Can the algorithm be optimized further for specific request patterns such as fully connected cliques (e.g., for MapReduce workloads) to achieve better time complexity?
  • RQ5To what extent do heuristic approaches fail in realistic settings due to lack of accurate flow modeling, and how does the optimal solution compare?

Key findings

  • The problem of minimizing network congestion in bandwidth-aware VM allocation remains NP-hard even when both the physical network and request topology are restricted to trees.
  • The proposed dynamic programming algorithm computes the optimal embedding in O(3^k n) time, which is feasible for practical workloads with small request sizes (k).
  • For clique-based requests (e.g., virtual clusters), the algorithm runs in O(nk^2) time, significantly improving efficiency for workloads like MapReduce.
  • Empirical evaluation shows linear scaling with respect to the number of servers (n), confirming the algorithm’s efficiency for large-scale data centers.
  • A brute-force linear scan over all possible VM allocations is infeasible for real-world data centers, requiring hours or days even for small instances (e.g., n=125, k=4), while the proposed algorithm runs in seconds.
  • The algorithm is robust to varying residual link capacities and provides optimal results regardless of the distribution of available bandwidth on physical links.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.