Enforcing network policy in heterogeneous network function box environment

Weijia Jia, Lin Cui, Fung Po Tso, Weijia Jia 0001Computer Networks 2018 · DOI

TL;DR

This paper tackles the challenge of efficiently enforcing network policies in modern data centers that utilize a mix of physical and virtual network functions (NFBs). They propose a novel scheme, HOOC, that optimizes network function placement to minimize latency while ensuring policy correctness, and demonstrate its effectiveness through simulations and a testbed implementation.

What Problem Does This Paper Address?

Modern data centers are increasingly deploying a heterogeneous mix of network functions (NFs). These NFs can be implemented on purpose-built physical hardware (middleboxes) or as virtual instances running on commodity servers (NFV). This heterogeneity offers benefits like efficiency from physical NFs and agility from virtual ones. However, it introduces significant challenges for network policy enforcement. Existing solutions often struggle to manage this mix, are limited to either physical or virtual NFs, and don't effectively handle the complexity of placing these functions across various locations in the network. This complexity can lead to suboptimal performance, particularly in terms of latency, which is critical for many data center applications. The paper aims to address this by providing a scheme that can correctly and efficiently place these heterogeneous NFs to minimize end-to-end latency.

Methods

The authors propose a Heterogeneous network policy enforCement scheme (HOOC). The core of HOOC involves:

  • Problem Formulation: They first model the problem of placing network functions onto heterogeneous NFBs to minimize latency. This problem is shown to be NP-Hard by reducing it from the Multiple Knapsack Problem (MKP).
  • Service Chain Network Construction: For each policy, they construct a directed graph representing the possible service chain paths, considering the capabilities and capacities of available NFBs. This graph incorporates transmission delays between NFBs and processing delays of the network functions themselves.
  • Shortest Service Chain Path (SSP) Algorithm: They develop a modified shortest path algorithm (Algorithm 1) that can find the optimal placement of NFs to minimize latency. This algorithm accounts for "conflict nodes" – NFBs that might become saturated if multiple functions are assigned to them.
  • Greedy Approach: Recognizing the computational cost of the optimal SSP algorithm, they also propose a faster greedy approach (Algorithm 3) that offers a good trade-off between speed and accuracy.

Datasets

Not discussed in the paper. The authors conducted experiments using their own testbed and simulations.

Key Insights and Ideas

  • Heterogeneity is the Norm: The paper strongly argues that the future of data center networking involves a mix of physical and virtual NFs, and solutions must account for this.
  • Latency is a Critical Metric: For many data center applications, minimizing latency is paramount, and the proposed HOOC scheme directly targets this.
  • NP-Hardness of the Problem: Demonstrating that the problem is NP-Hard highlights the need for efficient heuristic or approximation algorithms, which HOOC provides.
  • Conflict Nodes are a Real Challenge: The concept of "conflict nodes" (NFBs with limited capacity that can be shared by multiple functions) is crucial and requires specialized algorithms beyond standard shortest path approaches.
  • Greedy vs. Optimal Trade-off: The paper effectively shows that a greedy approach can provide significant speedups with only a minor loss in optimality, making it practical for dynamic environments.

Key Results

  • HOOC-SSP Achieves Optimal Latency: The HOOC-SSP algorithm consistently finds service chain paths with the same latency as a brute-force optimal approach.
  • HOOC-Greedy is Efficient: The greedy approach is significantly faster than HOOC-SSP, achieving results within 23% of optimal latency. For instance, for k=18 and k=20, HOOC-Greedy takes 2.8s and 3.7s respectively, while HOOC-SSP takes 10s and 23s.
  • Significant Speedup over Brute-Force: Both HOOC-SSP and HOOC-Greedy are orders of magnitude faster than a brute-force approach, which becomes prohibitively expensive for larger networks. HOOC-SSP is 9-61 times faster, and HOOC-Greedy is up to 61 times faster.
  • Testbed Validation: A proof-of-concept testbed implementation demonstrated that HOOC can be easily deployed in data center environments.
  • Performance Heterogeneity: Experiments showed that performance of the same network function can vary significantly across different NFB configurations (e.g., CPU allocation).

Limitations and Future Work

  • Optimizing Service Chain Network Construction: The authors note that a significant portion of HOOC-SSP's runtime is spent constructing the service chain network. Future work will focus on optimizing this construction process to further improve efficiency while maintaining optimality.
  • Dynamic Traffic Changes: While the paper mentions that HOOC can be adapted to changing traffic demands through SDN mechanisms, further investigation into more sophisticated dynamic re-optimization strategies could be beneficial.
  • Other Metrics: The paper primarily focuses on latency. While the authors suggest their approach can be adapted to other metrics (like cost), further exploration in this direction would be valuable.

Summary updated

BibTeX
@article{jia2018enforcing,
  author = {Weijia Jia and Lin Cui and Fung Po Tso and Weijia Jia},
  title = {{Enforcing network policy in heterogeneous network function box environment}},
  journal = {Computer Networks},
  year = {2018},
  doi = {10.1016/j.comnet.2018.03.029},
}

Loading related content...

Figure