Data compression algorithms for flow tables in Network Processor RuNPU
https://doi.org/10.15514/ISPRAS-2021-33(4)-6
Abstract
This paper addresses the problem of packet classification within a network processor (NP) architecture without the separate associative device. By the classification, we mean the process of identifying a packet by its header. The classification stage requires the implementation of data structures to store the flow tables. In our work, we consider the NP without the associative memory. Flow tables are represented by an assembly language program in the NP. For translating flow tables into assembly language programs, a tables translator was used. The main reason for implementing data compression algorithms in a flow tables translator is that modern flow tables can take up to tens of megabytes. In this paper, we describe the following data compression algorithms: Optimal rule caching, recursive end-point cutting and common data compression algorithms. An evaluation of the implemented data compression algorithms was performed on a simulation model of the NP.
About the Authors
Nikita Igorevitch NIKIFOROVRussian Federation
Master's student at the department of Computer Systems and Automation
Dmitry Yuryevitch VOLKANOV
Russian Federation
Candidate of physical and mathematical sciences, associate professor at the department of Computer Systems and Automation
References
1. Smeliansky R.L. System Defined networks. Open Systems. DBMS, issue 9, 2012, pp. 15-26 (in Russian) / Смелянский Р.Л. Программно-конфигурируемые сети. Открытые системы. СУБД, вып. 9, 2012 г., стр. 15-26.
2. Open Networking Foundation. OpenFlow Switch Specification Version 1.3.0 (Wire Protocol 0x04). 2012.
3. Markoborodov A., Skobtsova Y., and Volkanov D. Representation of the OpenFlow Switch Flow Table. In Proc. of the International Scientific and Technical Conference Modern Computer Network Technologies (MoNeTeC). 2020, pp. 1–7.
4. Braun Wolfgang and Menth Michael. Wildcard compression of inter-domain routing tables for OpenFlow-based software-defined networking. In Proc. of the Third European Workshop on Software Defined Networks, 2014, pp. 25–30.
5. Rottenstreich Ori and Tapolcai János. Optimal rule caching and lossy compression for longest prefix matching. IEEE/ACM Transactions on Networking, vol. 25, issue 2, 2016, pp. 864–878.
6. Chang Yeim-Kuan and Chen Han-Chen. Fast packet classification using recursive endpoint-cutting and bucket compression on FPGA. Computer Journal, vol. 62, no. 2, 2019, pp. 198–214.
Review
For citations:
NIKIFOROV N.I., VOLKANOV D.Yu. Data compression algorithms for flow tables in Network Processor RuNPU. Proceedings of the Institute for System Programming of the RAS (Proceedings of ISP RAS). 2021;33(4):77-86. https://doi.org/10.15514/ISPRAS-2021-33(4)-6