Abstract
Due to increases in communication link capacity and growth of the Internet traffic, packet processing like IP address lookup and classification becomes a major concern in the network. The packet processing performed at Switch/Router does not cope up with the growing link speed. Since Graphics processing unit (GPU) has high parallelism and more flexibility for the programmers, it can be used for solving IP address lookup problem in the Switch/Router devices. This paper proposes a variant of trie based approach to find a solution for longest prefix match (LPM) problem using GPU. In this paper, IP address database is partitioned into a different table based on first k bits of IP address, then a variant of trie approach is proposed to find the next hop. The proposed lookup approach shows 64.46% and 94.32% improvement than binary trie and BST implementations.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
CUDA, Compute Unified Device Architecture. http://nvidia.com/. Accessed 2016
Han, S., Jang, K., Park, K.S., Moon, S.: Packetshader: a GPU-accelerated software router. ACM SIGCOMM Comput. Commun. Rev. 40(4), 195–206 (2010)
Indira, B., Valarmathi, K., Devaraj, D.: A trie based IP lookup for high performance router/switch. IEEE International Conference on Intelligent Techniques in Control, Optimization and Signal Processing, pp. 1–6 (2019)
Kasnavi, S., Gaudet, V.C., Berube, P., Amaral, J.N.: A hardware-based longest prefix matching scheme for TCAMs. IEEE International Symposium on Circuits and Systems, ISCAS, pp. 3339–3342 (2005)
Mu, S., Zhang, X., Zhang, N., Lu, J., Deng, Y.S., Zhang, S.: IP routing processing with graphic processors. In: Proceedings of the Conference on Design, Automation and Test in Europe, pp. 93–98 (2010)
Nilsson, S., Karlsson, G.: IP Address lookup using LC-tries. IEEE J. Sel. Areas Commun. 17(6), 1083–1092 (1999)
Padmashani, R., Sathyadevan, S., Dath, D.: BSnort IPS better snort intrusion detection/prevention system. In: 2012 12th International Conference on Intelligent Systems Design and Applications (ISDA), pp. 46–51 (2012)
Pan, M., Haibin, L.: Build shape-shifting tries for fast IP lookup in o(n) time. Comput. Commun. 30(18), 3787–3795 (2007)
Rekhter, Y., Li, T.: An architecture for IP address allocation with CIDR. RFC 1518 (1993)
RIS. Routing information service (2015)
Rojas-Cessa, R., Ramesh, L., Dong, Z., Cai, L., Ansari, N.: Parallel search trie-based scheme for fast IP lookup. In: IEEE Global Telecommunications Conference, GLOBECOM 2007, pp. 210–214 (2007)
Ruiz-Sanchez, M.A., Biersack, E.W., Dabbous, W.: Survey and taxonomy of IP address lookup algorithms. IEEE Netw. 15(2), 8–23 (2001)
Sartaj Sahni and Kun Suk Kim: Efficient construction of multibit tries for IP lookup. IEEE/ACM Trans. Netw. (TON) 11(4), 650–662 (2003)
Sajeev, G.P., Nair, L.M.: LASER: a novel hybrid peer to peer network traffic classification technique. In: 2016 International Conference on Advances in Computing, Communications and Informatics (ICACCI), pp. 1364–1370 (2016)
Shekhar, A., Goyal, J.: Parallel binary search trees for rapid IP lookup using graphic processors. In: 2nd International Conference on Information Management in the Knowledge Economy (IMKE), pp. 176–179 (2013)
Veeramani, S., Mahammad, N.: Minimization of flow table for TCAM based openflow switches by virtual compression approach. In: IEEE International Conference on Advanced Networks and Telecommunication Systems (ANTS), pp. 1–4 (2013)
Srinivasan, V., Varghese, G.: Faster IP lookups using controlled prefix expansion. ACM SIGMETRICS Perform. Eval. Rev. 26(1), 1–10 (1998)
Veeramani, S., Mahammad, N.: Hybrid trie based partitioning of TCAM based openflow switches. In: IEEE IEEE International Conference on Advanced Networks and Telecommunication Systems (ANTS), pp. 1–5 (2013)
Veeramani, S., Mahammad, N.: Efficient IP lookup using hybrid trie-based partitioning of TCAM-based Openflow switches. Photonic Netw. Commun. 28(2), 135–145 (2014)
Veeramani, S., Rahul Sharma, S., Noor Mahammad, SK.: Constructing scalable hierarchical switched openflow network using adaptive replacement of flow table management. In: 2013 IEEE International Conference on Advanced Networks and Telecommunications Systems (ANTS), pp. 1–3 (2013)
Yim, C., Lee, B., Lim, H.: Efficient binary search for IP address lookup. IEEE Commun. Lett. 9(7), 652–654 (2005)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Sonai, V., Bharathi, I., Noor Mahammad, S. (2023). A Perspective of IP Lookup Approach Using Graphical Processing Unit (GPU). In: Molla, A.R., Sharma, G., Kumar, P., Rawat, S. (eds) Distributed Computing and Intelligent Technology. ICDCIT 2023. Lecture Notes in Computer Science, vol 13776. Springer, Cham. https://doi.org/10.1007/978-3-031-24848-1_7
Download citation
DOI: https://doi.org/10.1007/978-3-031-24848-1_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-24847-4
Online ISBN: 978-3-031-24848-1
eBook Packages: Computer ScienceComputer Science (R0)