A streaming algorithm and hardware accelerator for top-K flow detection in network traffic

📅 2025-11-20
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
To address the challenge of efficiently and accurately identifying Top-K flows under skewed traffic distributions in high-speed networks, this paper proposes a streaming algorithm that integrates a dynamically updated TowerSketch with a parallel priority-queue array, implemented as a high-throughput hardware accelerator on an AMD Virtex-U280 FPGA. Our contributions are threefold: (1) an enhanced TowerSketch adapted to dynamic flow spectra, significantly improving estimation accuracy under skew; (2) a parallelizable priority-queue array design that alleviates on-chip memory bottlenecks; and (3) line-rate processing capability ≥200 Gbps—achieving one packet per cycle. Experimental evaluation on real-world traces demonstrates Top-K identification accuracy exceeding 0.94 and average relative error in frequency estimation below 1.96%.

Technology Category

Application Category

📝 Abstract
Identifying the largest K flows in network traffic is an important task for applications such as flow scheduling and anomaly detection, which aim to improve network efficiency and security. However, accurately estimating flow frequencies is challenging due to the large number of flows and increasing network speeds. Hardware accelerators are often used in this endeavor due to their high computational power, but their limited amount of on-chip memory constrains their performance. Various sketch-based algorithms have been proposed to estimate properties of traffic such as frequency, with lower memory usage and theoretical bounds, but they often under perform with the skewed distribution of network traffic. In this work, we propose an algorithm for top-K identification using a modified TowerSketch and a priority queue array. Tested on real traffic traces, we identify the top-K flows, with K up to 32,768, with a precision of more than 0.94, and estimate their frequency with an average relative error under 1.96%. We designed and implemented an accelerator for this algorithm on an AMD VirtexU280 UltraScale+ FPGA, which processes one packet per cycle at392 MHz, reaching a minimum line rate of more than 200 Gbps.
Problem

Research questions and friction points this paper is trying to address.

Accurately identifying top-K network flows with limited memory
Handling skewed traffic distribution in frequency estimation algorithms
Achieving high-speed packet processing with hardware accelerator constraints
Innovation

Methods, ideas, or system contributions that make the work stand out.

Modified TowerSketch algorithm for top-K flow detection
Priority queue array for efficient flow frequency tracking
FPGA hardware accelerator achieving 200 Gbps processing speed
C
Carolina Gallardo-Pavesi
Department of Electrical Engineering - Universidad de Concepción, Concepción, Chile
Y
Yaime Fernández
Department of Electrical Engineering - Universidad de Concepción, Concepción, Chile
J
Javier E. Soto
Department of Electrical Engineering - Universidad de Concepción, Concepción, Chile
C
Cecilia Hernández
Department of Computer Science - Universidad de Concepción, Concepción, Chile; Center of Biotechnology and Bioengineering (CeBiB)
Miguel Figueroa
Miguel Figueroa
Department of Electrical Engineering - Universidad de Concepción, Concepción, Chile; Advanced Center for Electrical and Electronics Engineering (AC3E)