Skip to main content

A Perspective of IP Lookup Approach Using Graphical Processing Unit (GPU)

  • Conference paper
  • First Online:
Distributed Computing and Intelligent Technology (ICDCIT 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13776))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. https://www.caida.org/research/traffic-analysis/

  2. (2016). http://www.nvidia.com/object/cuda_get.html

  3. CUDA, Compute Unified Device Architecture. http://nvidia.com/. Accessed 2016

  4. 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)

    Article  Google Scholar 

  5. 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)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. Nilsson, S., Karlsson, G.: IP Address lookup using LC-tries. IEEE J. Sel. Areas Commun. 17(6), 1083–1092 (1999)

    Article  Google Scholar 

  9. 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)

    Google Scholar 

  10. Pan, M., Haibin, L.: Build shape-shifting tries for fast IP lookup in o(n) time. Comput. Commun. 30(18), 3787–3795 (2007)

    Article  Google Scholar 

  11. Rekhter, Y., Li, T.: An architecture for IP address allocation with CIDR. RFC 1518 (1993)

    Google Scholar 

  12. RIS. Routing information service (2015)

    Google Scholar 

  13. 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)

    Google Scholar 

  14. Ruiz-Sanchez, M.A., Biersack, E.W., Dabbous, W.: Survey and taxonomy of IP address lookup algorithms. IEEE Netw. 15(2), 8–23 (2001)

    Article  Google Scholar 

  15. Sartaj Sahni and Kun Suk Kim: Efficient construction of multibit tries for IP lookup. IEEE/ACM Trans. Netw. (TON) 11(4), 650–662 (2003)

    Article  Google Scholar 

  16. 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)

    Google Scholar 

  17. 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)

    Google Scholar 

  18. 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)

    Google Scholar 

  19. Srinivasan, V., Varghese, G.: Faster IP lookups using controlled prefix expansion. ACM SIGMETRICS Perform. Eval. Rev. 26(1), 1–10 (1998)

    Article  Google Scholar 

  20. 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)

    Google Scholar 

  21. 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)

    Article  Google Scholar 

  22. 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)

    Google Scholar 

  23. Yim, C., Lee, B., Lim, H.: Efficient binary search for IP address lookup. IEEE Commun. Lett. 9(7), 652–654 (2005)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Veeramani Sonai .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics