Skip to content
Preprint

Programmable Data Plane Switch based Heavy Hitter Flow Detection using Packet-Count and Packet-Size features

Sep 2026 · 0 citations · 23 references
Computer Science

TL;DR

The results show that in several scenarios cases, the False Negatives for HHs can be significantly reduced by using the packet count data effectively and efficiently.

Abstract

In data networks carrying large numbers of flows, Heavy Hitters (HHs) or Elephant flows are the flows exceeding pre-determined thresholds (e.g. number of packets or bytes) in a given time window. Such HH flows need to be handled differently in order to minimize their impact on other smaller flows. HH detection techniques have been shown to be more effective when implemented in programmable data plane switches. In recent work, it was shown that the inter-packet gap can be used to identify heavy hitters. Such schemes use a limited-size hash table for storing flow state information and using this for the detection. However, when hash collisions occur, it is possible that a valid HH flow in the table can be replaced by a non-HH flow resulting in missing detection of HH flows. To address this problem, this paper incorporates a flow's medium-term Packet Count (PC) feature. In order to limit the packet count field size in the hash table, counting is done only till hash collision occurs so as to reduce the range of values to be stored and thus, the required number of bits. Also, another flow's medium-term feature, Packet Size (PS) is incorporated independently. The proposed scheme has been implemented in the P4 language and tested on Intel Tofino hardware. Performance evaluation has been performed using CAIDA and MAWI-based real-life traffic traces. The results show that in several scenarios cases, we can significantly reduce the False Negatives for HHs by using the packet count data effectively and efficiently.

View source

Similar papers

Open access Oct 2026

PIF-Detector: An Accurate Low-Overhead Method for Detecting Persistent and Infrequent Flows

Persistent and infrequent (PI) flows refer to packet flows that last for a long time at low packet arrival rates in network traffic. It is crucial to accurately find these flows for uncovering stealthy network threats, such as advanced persistent threats (APTs) and low-rate denial-of-service attacks (LDoS). To this end...

Bing Xiong, Shi-Yue Guo, Yu-Shan Liang et al. · 0 citations
Open access Oct 2026

Payload-Independent Continual Detection of DDoS and Low-Rate Attacks in Software-Defined Networks Using SCX

Software-defined networking (SDN) improves network programmability by separating network control from packet forwarding. However, distributed denial-of-service (DDoS) and low-rate attacks can exhaust network and service resources through different traffic patterns. A detection model needs to identify these patterns and...

Shi-Jin Liu, H. Fukuda, Paul Leger · 0 citations
Open access 2026

Traffic-adaptive Field Ordering for Improving Tree-rule Firewall Performance

—Firewall performance depends heavily on the order in which packet fields are examined during rule matching. The Tree-Rule Firewall (TRF) organizes rules as a hierarchical tree whose levels correspond to packet fields, but existing designs fix the field-to-level assignment staticaly at compile time, which is suboptimal...

Thawatchai Chomsiri, Suwichai Phunsa · 0 citations
2026

Accurate Traffic Load Properties Verification in Data Center Networks

This paper presents our experiences in deploying YU, Alibaba’s in-house traffic load verification system for wide area networks (WAN), in data center networks (DCN). We encounter two key challenges: the opaque ISP challenge, where the opaque nature of the configurations of peering ISPs results in low accuracy of inter-...

Zijian Zhang, Yi-Fan Li, Xing Fang et al. · 0 citations

Sensitive-Topic Leakage Through LLM Routing Metadata: Measurement and Mitigation

LLM routers pick a cheap or expensive model per request by its content, and many gateways and some cloud platforms can log that choice with content logging off. We measure this privacy channel beyond token counts, accounting for noisy labels and repeated prompts. We run pre-registered studies on 1.7 million real reques...

Teng-Ruei Chen · 1 citation
#software testing Open access Nov 2026

Throughput bottleneck shift in an embedded Wi-Fi gateway

An ESP32 software access point (SoftAP) often serves as the sole transmission control protocol (TCP) gateway in field deployments without routers; however, prior benchmarks varied only one factor at a time. We varied two factors that differ in practice: TCP connection count (3, 5, and 10) and per-packet payload size (1...

Jia-Nan Zhao, Yuan-Bin Mu · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.