IP Address Lookup by Using GPU

被引:4
作者
Chu, Hung-Mao [1 ]
Li, Tsung-Hsien [1 ]
Wang, Pi-Chung [1 ]
机构
[1] Natl Chung Hsing Univ, Dept Comp Sci & Engn, Taichung 402, Taiwan
关键词
IP address lookup; CUDA; longest prefix matching;
D O I
10.1109/TETC.2015.2460453
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We present a novel parallel IP address lookup architecture based on graphics processing unit (GPU) via compute unified device architecture (CUDA). Our architecture consists of two functions: 1) host function and 2) device function. The host function is executed by a CPU to construct and update the data structure of IP address lookup executed by the device function in a GPU. Both host and device functions are executed simultaneously to fully utilize computational resources. To shorten the lookup time, a trie-based data structure optimized for CUDA is developed. The trie-based data structure uses multi-bit stride to shorten the trie depth and also improves the efficiency of texture cache in GPUs. The experimental results show that a low-end G92 GPU can achieve a throughput of more than 1.3 billion packets per second for IPv4 routing tables with more than 350K prefixes while a high-end GT200 GPU can further double the performance. By employing dual data structures, the implementation can support several hundred thousand updates per second.
引用
收藏
页码:187 / 198
页数:12
相关论文
共 36 条
[1]  
[Anonymous], 2010, P 19 USENIX C SEC
[2]  
[Anonymous], 2013, CUDA C PROGRAMMING G
[3]  
[Anonymous], 1993, 1518 RFC
[4]  
APNIC, 2011, BGP ROUT TABL AN
[5]   Consistent Updates for Packet Classifiers [J].
Banerjee-Mishra, Tania ;
Sahni, Sartaj .
IEEE TRANSACTIONS ON COMPUTERS, 2012, 61 (09) :1284-1295
[6]  
Cisco, 2011, CISC XR 12000 12000
[7]   Longest prefix matching using bloom filters [J].
Dharmapurikar, S ;
Krishnamurthy, P ;
Taylor, DE .
IEEE-ACM TRANSACTIONS ON NETWORKING, 2006, 14 (02) :397-409
[8]   Tree bitmap: Hardware/software IP lookups with incremental updates [J].
Eatherton, W ;
Varghese, G ;
Dittia, Z .
ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2004, 34 (02) :97-122
[9]   TRIE MEMORY [J].
FREDKIN, E .
COMMUNICATIONS OF THE ACM, 1960, 3 (09) :490-499
[10]  
Gao M, 2006, 20TH INTERNATIONAL CONFERENCE ON ADVANCED INFORMATION NETWORKING AND APPLICATIONS, VOL 1, PROCEEDINGS, P249