Skip to main content
QUICK REVIEW

[Paper Review] An Approximation Algorithm for Path Computation and Function Placement in SDNs

Guy Even, Matthias Rost|arXiv (Cornell University)|Mar 30, 2016
Complexity and Algorithms in GraphsComputer Science1 references8 citations
TL;DR

This paper presents a randomized approximation algorithm for joint path computation and function placement in Software-Defined Networks (SDNs), using fractional linear programming relaxation and randomized rounding. Under a logarithmic capacity-to-demand ratio assumption, it achieves a (1−ε)-approximate solution with high probability, maximizing total request benefit while respecting link and node capacity constraints.

ABSTRACT

We consider the task of computing (combined) function mapping and routing for requests in Software-Defined Networks (SDNs). Function mapping refers to the assignment of nodes in the substrate network to various processing stages that requests must undergo. Routing refers to the assignment of a path in the substrate network that begins in a source node of the request, traverses the nodes that are assigned functions for this request, and ends in a destination of the request. The algorithm either rejects a request or completely serves a request, and its goal is to maximize the sum of the benefits of the served requests. The solution must abide edge and vertex capacities. We follow the framework suggested by Even for the specification of the processing requirements and routing of requests via processing-and-routing graphs (PR-graphs). In this framework, each request has a demand, a benefit, and PR-graph. Our main result is a randomized approximation algorithm for path computation and function placement with the following guarantee. Let $m$ denote the number of links in the substrate network, $\eps$ denote a parameter such that $0< \eps <1$, and $\opt_f$ denote the maximum benefit that can be attained by a fractional solution (one in which requests may be partly served and flow may be split along multiple paths). Let $\cmin$ denote the minimum edge capacity, and let $\dmax$ denote the maximum demand. Let $\Deltamax$ denote an upper bound on the number of processing stages a request undergoes. If $\cmin/(\Deltamax\cdot\dmax)=Ω((\log m)/\eps^2)$, then with probability at least $1-\frac{1}{m}- extit{exp}(-Ω(\eps^2\cdot \opt_f /(\bmax \cdot \dmax)))$, the algorithm computes a $(1-\eps)$-approximate solution.

Motivation & Objective

  • To address the joint optimization of routing and function mapping in SDNs, where requests require processing at specific network nodes along their path.
  • To maximize the total benefit of served requests under edge and vertex capacity constraints.
  • To provide a polynomial-time approximation algorithm for the NP-hard problem of combined path computation and function placement.
  • To handle requests that must undergo multiple processing stages (e.g., firewall, encryption) along their path, modeled via PR-graphs.
  • To ensure all-or-nothing request acceptance—either fully served or rejected—while maintaining network capacity limits.

Proposed method

  • Formulates the problem using processing-and-routing graphs (PR-graphs), representing both routing and processing requirements per request.
  • Relies on a fractional relaxation of the problem, modeling it as a general packing linear program over product graphs.
  • Applies randomized rounding to the fractional solution, independently rounding each request’s flow to an integral assignment.
  • Uses Chernoff bounds to analyze edge congestion and benefit concentration, ensuring capacity and benefit guarantees.
  • Scales capacities to ensure that the probability of violating capacity constraints is bounded by 1/|E|².
  • Introduces a prescaling step to ensure that the final solution respects original capacity limits while maintaining approximation quality.

Experimental results

Research questions

  • RQ1Can a polynomial-time approximation algorithm be designed for the joint path computation and function placement problem in SDNs with capacity constraints?
  • RQ2What conditions on network capacity and request parameters ensure a (1−ε)-approximate solution with high probability?
  • RQ3How can fractional solutions be rounded to integral solutions without violating capacity constraints or sacrificing benefit?
  • RQ4What is the impact of processing stage count (Δ_max) and request demand (d_max) on the approximation guarantee?
  • RQ5How does the algorithm handle requests with varying benefits and processing requirements in a scalable, distributed network environment?

Key findings

  • The algorithm achieves a (1−ε)-approximate solution with probability at least 1−1/m−exp(−Ω(ε²·opt_f/(b_max·d_max))) under the condition that c_min/(Δ_max·d_max) = Ω((log m)/ε²).
  • The probability of violating edge capacity constraints is bounded by 1/|E|², and a union bound ensures feasibility across all edges.
  • For unit-benefit requests (b_max=1), the algorithm achieves a (1−O(ε))-approximate solution with high probability when opt_f > c_min.
  • The analysis relies on Chernoff bounds applied to independent random variables representing flow assignments, ensuring concentration of edge load and total benefit.
  • The method is robust under realistic network assumptions, particularly when the minimum capacity-to-demand ratio is logarithmically scaled.
  • The framework supports arbitrary processing sequences and allows for non-simple paths, enabling modeling of complex service function chains in NFV/SDN environments.

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.