Abstract
Ternary content-addressable memory (TCAM) plays an important role in network. TCAM is used as high-speed search engine to achieve packet classification. Software-defined network (SDN) data plane is a typical application field where achieves network communication and security protection. Field-programmable gate array (FPGA) offers a programmable hardware platform to emulate TCAM based on static random-access memory (SRAM). However, block RAM resource on FPGA is finite and SRAM-based TCAM structure consumes a large number of block RAMs. Existing methods aim memory utilization to do lots of research. However, memory resources remain to be tight with increasing demand of network packet complexity. Aiming to memory utilization, this paper presents a multi-region SRAM-based TCAM structure. Our method divides entry into address field and data field. The first data pre-processing determines suitable parameter closely related to memory utilization and classification principle in two types of field. The second mapping mechanism is mapping data field to SRAM memory cell combined with longest prefix feature for IP address. The proposed design efficiently reduces consumed numbers of block RAMs on FPGA. Our proposed design is implemented on a Xilinx Virtex FPGA device. Compared to existing SRAM-based TCAMs, our method reduces 33.5938% memory space for a rule set with size of \( 2048 \times 64 \). With increasing scale of rule sets, proposed design has better and more stable memory utilization.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Huang, J.Y., Wang, P.C.: TCAM-Based IP Address Lookup Using Longest Suffix Split. IEEE/ACM Trans. Networking PP(2), 1–14 (2018)
Omer, M., Zahid, U., Hassan, M., et al.: Fast Pattern Recognition through an LBP driven CAM on FPGA. IEEE Access, 1 (2018)
Guerra-Hernandez, E.I., Espinal, A., Batres-Mendoza, P., et al.: A FPGA-based neuromorphic locomotion system for multi-legged robots. IEEE Access, pp. 8301–8312 (2017)
Karam, R., Puri, R., Ghosh, S., et al.: Emerging trends in design and applications of memory-based computing and content-addressable memories. Proc. IEEE 103(8), 1311–1330 (2015)
Hu, F., Hao, Q., Bao, K.: A survey on software-defined network and OpenFlow: from concept to implementation. Commun. Surv. Tutorials IEEE 16(4), 2181–2206 (2014)
Kreutz, D., Ramos, F., Verissimo, P.E., et al.: Software-defined networking: a comprehensive survey. Proceedings of the IEEE 103(1) (2014)
Mckeown, N., Anderson, T., Balakrishnan, H., et al.: OpenFlow: Enabling innovation in campus networks. ACM SIGCOMM Comput. Commun. Rev. 38(2), 69–74 (2008)
Sindhura, B., Shobha, K.R.: Implementation and testing of openflow switch using FPGA. In: International Conference on Computing. IEEE Computer Society (2017)
Norige, E., Liu, A.X., Torng, E.: A ternary unification framework for optimizing TCAM-based packet classification systems. IEEE/ACM Trans. Networking, 1–14 (2018)
Chen, T.S., Lee, D.Y., Liu, T.T., et al.: Dynamic Reconfigurable Ternary Content Addressable Memory for OpenFlow-Compliant Low-Power Packet Processing[J]. Circuits and Systems I: Regular Papers, IEEE Transactions on 63(10), 1661–1672 (2016)
Ghosh, S., Baliyan, M.: A hash based architecture of longest prefix matching for fast IP processing. In: TENCON 2016–2016 IEEE Region 10 Conference. IEEE (2016)
Ullah, Z., Jaiswal, M.K., Chan, Y.C., et al.: FPGA Implementation of SRAM-based ternary content addressable memory. In: Parallel & Distributed Processing Symposium Workshops & Phd Forum. IEEE (2012)
Jiang, W.: Scalable ternary content addressable memory implementation using FPGAs. In: 2013 ACM/IEEE Symposium on Architectures for Networking and Communications Systems (ANCS). ACM (2013)
Irfan, M., Ullah, Z.: G-AETCAM: gate-based area efficient ternary content-addressable memory on FPGA. IEEE Access PP(99), 1 (2017)
Ullah, Z.: LH-CAM: logic-based higher performance binary CAM architecture on FPGA. IEEE Embedded Syst. Lett., 1 (2017)
Irfan, M., Ullah, Z., Chowdhury, M.H., et al.: RPE-TCAM: reconfigurable power-efficient ternary content-addressable memory on FPGAs. IEEE Trans. Very Large Scale Integr. (VLSI) Syst. PP(99), 1–5 (2020)
Fouzder, T., Hafeez, A., Rehman, N.U., et al.: Power efficient FPGA-based TCAM architecture by using segmented matchline strategy. In: 2019 International Conference on Advances in the Emerging Computing Technologies (AECT) (2020)
Zahir, A., Khattak, S.K., Ullah, A., et al.: FracTCAM: Fracturable LUTRAM-Based TCAM Emulation on Xilinx FPGAs. IEEE Trans. Very Large Scale Integr. (VLSI) Syst. (2020)
Ullah, I., Ullah, Z., Afzaal, U., et al.: DURE: An energy- and resource-efficient TCAM architecture for FPGAs with dynamic updates. IEEE Trans. Very Large Scale Integr. (VLSI) Syst. PP(99), 1–10 (2019)
Irfan, M., Ullah, Z., Cheung, R.: D-TCAM: a high-performance distributed RAM based TCAM architecture on FPGAs. IEEE Access (2019)
Zhuo, Q., Margala, M.: Low power RAM-based hierarchical CAM on FPGA. In: International Conference on Reconfigurable Computing & Fpgas. IEEE (2015)
Ullah, Z., Ilgon, K., Baeg, S.: Hybrid partitioned SRAM-based ternary content addressable memory. IEEE Trans. Circuits Syst. I: Regular Papers 59(12), 2969–2979 (2012)
Ullah, Z., Jaiswal, M.K., Cheung, R.C.: E-TCAM: an efficient SRAM-based architecture for TCAM. Birkhauser Boston Inc. (2014)
Ullah, Z., Jaiswal, M.K., Cheung, R.C.C.: Z-TCAM: an SRAM-based architecture for TCAM. IEEE Trans. Very Large Scale Integr. Syst. 23(2), 402–406 (2015)
Ullah, Z., Jaiswal, M.K., Cheung, R., et al.: UE-TCAM: an ultra efficient SRAM-based TCAM. Tencon IEEE Region 10 Conference. IEEE (2015)
Ullah, I., Ullaha, Z., Lee, J.A.: Efficient TCAM design based on multipumping-enabled multiported SRAM on FPGA. IEEE Access, 1 (2018)
Zhang, J., Yang, R., Cao, X., et al.: A resource-saving TCAM structure based on SRAM. In: 2019 IEEE 5th International Conference on Computer and Communications (ICCC). IEEE (2019)
Qazi, A., Ullah, Z, Hafeez, A.: Fast mapping and updating algorithms for a binary CAM on FPGA (2021)
Ullah, Inayat, Zahid, et al. EE-TCAM: an energy-efficient SRAM-based TCAM on FPGA. Electronics (2018)
Turner, D.: ClassBench: a packet classification benchmark. IEEE/ACM Trans. Networking 15(3), 499–511 (2007)
Acknowledgement
This work is supported by Project of Chinese Academy of Sciences (Grant No. KGFZD-145-21-03).
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Zou, Q., Zhang, N., Guo, F., Kong, Q., Lv, Z. (2022). Multi-region SRAM-Based TCAM for Longest Prefix. In: Su, C., Sakurai, K., Liu, F. (eds) Science of Cyber Security. SciSec 2022. Lecture Notes in Computer Science, vol 13580. Springer, Cham. https://doi.org/10.1007/978-3-031-17551-0_29
Download citation
DOI: https://doi.org/10.1007/978-3-031-17551-0_29
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-17550-3
Online ISBN: 978-3-031-17551-0
eBook Packages: Computer ScienceComputer Science (R0)