Packet-Level Network Compression: Realization and Scaling of the Network-Wide Benefits

Ahmad Beirami, Mohsen Sardari, Faramarz Fekri

TL;DR

This paper introduces "memory-assisted compression" where network nodes store past traffic to better compress future data, significantly reducing network traffic. They demonstrate that even a small fraction of memory-enabled nodes in large-scale networks can yield substantial network-wide benefits, particularly in scale-free networks like the Internet.

What Problem Does This Paper Address?

The internet is drowning in data, and transmitting this data is a major cost. While redundancy elimination techniques exist, they often operate at the application layer or focus on exact duplicate strings, missing out on statistical redundancies within network packets. This paper tackles the challenge of exploiting these deeper statistical correlations at the packet level across the entire network to achieve significant traffic reduction. They aim to understand how the benefits of such "memory-assisted compression" scale as more network nodes are equipped with this capability.

Methods

The core innovation is "memory-assisted compression." This approach leverages intermediate network nodes (like routers) that store a history of observed traffic. This stored "memory" allows these nodes to build a statistical model of the data source. This model then acts as "side information" for compression algorithms, enabling them to achieve better compression ratios than traditional methods that lack this context. The paper explores both dictionary-based (like gzip/LZ77) and statistical (like CTW) compression algorithms in this memory-assisted framework.

For network-wide analysis, they introduce concepts of network compression gain and investigate optimal routing and memory placement strategies. They derive theoretical results for Erdős-Rényi random graphs and then extend their analysis to more realistic Internet-like scale-free networks (modeled as random power-law graphs).

Datasets

The paper uses real-world network traffic data, specifically mentioning:

  • Data gathered from CNN website traffic (mostly text and script files).
  • Network traffic collected from 30 different mobile users (smartphone and laptop) over three months, yielding over 26 Gigabytes of data.

Key Insights and Ideas

  • Memory as Side Information: The key insight is that network nodes storing past traffic can act as a powerful source of "side information," enabling compression algorithms to surpass theoretical limits for finite-length sequences without such context.
  • Beyond De-duplication: While de-duplication is effective for large, exact duplicates, memory-assisted compression can capture more subtle statistical dependencies, making the two techniques complementary.
  • Network-Wide Scaling is Achievable: The paper demonstrates that network-wide benefits are not just theoretical but can be realized even with a small percentage of memory-enabled nodes, especially in scale-free networks.
  • Optimal Placement Matters: The location of memory-enabled nodes significantly impacts network-wide gain, and simple shortest-path routing might not be optimal when memories are involved.
  • Threshold for Benefits: In random graphs, there's a threshold for the number of memory-enabled nodes beyond which network-wide benefits become significant.

Key Results

  • Memory-assisted compression, using as little as 4MB of memory at a node, can significantly reduce traffic compared to traditional compression. For example, a data sequence compressed to 87B without memory was compressed to 31B with memory.
  • On real network traces, memory-assisted compression (both CTW and LZ77) showed substantial improvements.
  • Combining de-duplication with memory-assisted compression yielded the highest traffic reduction (around 34% in one scenario).
  • In Erdős-Rényi random graphs, a sublinear number of memory-enabled nodes (scaling less than linearly with total nodes) can achieve non-negligible network-wide benefits.
  • For Internet-like scale-free networks, non-vanishing network-wide gain is achieved even when only a tiny fraction (e.g., 2.5%) of nodes are memory-enabled. This suggests a potential two-fold traffic reduction.
  • The paper shows that for large networks, the core (high-degree nodes) handles a disproportionate amount of traffic, making it an ideal location for memory deployment.

Limitations and Future Work

  • Computational Complexity: While memory-assisted compression offers benefits, it introduces computational overhead at the memory-enabled nodes. The paper notes that high-speed algorithms are suitable for high-throughput links, while high-performance statistical algorithms are better for lower-speed links.
  • Memory Size: The paper primarily uses 4MB as a reference memory size. It acknowledges that core routers might require more memory due to diverse traffic.
  • Bandwidth Constraints: The analysis often assumes no bandwidth constraints on links, which is a simplification. Future work could incorporate these constraints.
  • Optimal Memory Placement: While the paper studies memory placement in line networks and identifies the "core" in scale-free networks, finding optimal placement in general graphs remains an NP-hard problem.
  • General Routing Algorithms: The paper focuses on modified Dijkstra's algorithm for routing. Extending this to more complex routing scenarios and traffic engineering objectives is suggested.
  • Practical Deployment: The paper assumes practical implementation is feasible but acknowledges that the architecture needs to be flexible for incremental adoption.

Summary updated

BibTeX
@inproceedings{beirami2015packet,
  author = {Ahmad Beirami and Mohsen Sardari and Faramarz Fekri},
  title = {{Packet-Level Network Compression: Realization and Scaling of the Network-Wide Benefits}},
  booktitle = {IEEE/ACM},
  year = {2015},
  doi = {10.1109/tnet.2015.2418296},
}
Figure