Kaleidoscope让神经网络在数据平面高效分析流量,兼顾灵活、低延迟和不干扰原有性能。
Inference-to-complete: A High-performance and Programmable Data-plane Co-processor for Neural-network-driven Traffic Analysis
- 在数据平面旁路部署可编程加速器,支持多种神经网络模型灵活运行。
- 实现256-352纳秒推理延迟与100 Gbps吞吐率,鼠流低延迟、象流高精度处理。
- 基于原始字节的神经网络设计,避免对数据平面造成任何性能或功能影响。
基于神经网络的智能数据平面(NN-driven IDP)因其高准确率和高性能正成为新兴方向。然而,现有方案或过度修改神经网络以适配数据平面,或在线插入流水线加速器,难以同时满足灵活性、低延迟高吞吐及对数据平面无感知三大目标。本文提出Kaleidoscope,一种位于数据平面旁路的可编程协处理器。通过三项关键技术:可编程的运行至完成加速器提升灵活性;可扩展推理引擎实现鼠流低延迟、象流高精度处理;引入基于原始字节的神经网络,达成对数据平面的无感知。我们在FPGA和ASIC库上实现原型,在六种神经网络模型上测试,达到256-352纳秒推理延迟和100 Gbps吞吐率,对数据平面影响极小。其在本地验证的神经网络表现达到当前最优准确率,凸显灵活性对流量分析精度的显著提升。
原文摘要 · Abstract (English)
Neural-networks-driven intelligent data-plane (NN-driven IDP) is becoming an emerging topic for excellent accuracy and high performance. Meanwhile we argue that NN-driven IDP should satisfy three design goals: the flexibility to support various NNs models, the low-latency-high-throughput inference performance, and the data-plane-unawareness harming no performance and functionality. Unfortunately, existing work either over-modify NNs for IDP, or insert inline pipelined accelerators into the data-plane, failing to meet the flexibility and unawareness goals. In this paper, we propose Kaleidoscope, a flexible and high-performance co-processor located at the bypass of the data-plane. To address the challenge of meeting three design goals, three key techniques are presented. The programmable run-to-completion accelerators are developed for flexible inference. To further improve performance, we design a scalable inference engine which completes low-latency and low-cost inference for the mouse flows, and perform complex NNs with high-accuracy for the elephant flows. Finally, raw-bytes-based NNs are introduced, which help to achieve unawareness. We prototype Kaleidoscope on both FPGA and ASIC library. In evaluation on six NNs models, Kaleidoscope reaches 256-352 ns inference latency and 100 Gbps throughput with negligible influence on the data-plane. The on-board tested NNs perform state-of-the-art accuracy among other NN-driven IDP, exhibiting the the significant impact of flexibility on enhancing traffic analysis accuracy.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。