Abstract
In-network ML-based traffic classification using programmable switches has enabled faster decisions and reduced the cost of the security infrastructure and management overheads. However, due to constraints on per-packet operations and limited stateful memory in the switch data plane, there is a fundamental tradeoff between traffic classification accuracy and switch memory requirements. Existing works fall short of accurately classifying traffic with diverse flow characteristics while keeping the memory footprint low. In this paper, we propose AdaFlow, a system that aims to address this gap by incorporating traffic-specific heuristics while designing the in-network classifier. We evaluate the AdaFlow prototype via simulations and also on a testbed with an Intel Barefoot Tofino switch. Compared to the state-of-the-art, AdaFlow improves accuracy up to 7% for various use-cases while keeping the memory overheads similar to or lower than those of the existing systems.
Funding Information
  • National Security Council Secretariat (NSCS) and ZF Technologies, India