Compressing IP Forwarding Tables: Realizing Information-theoretical Space Bounds and Fast Lookups Simultaneously

被引:12
作者
Korosi, Attila [1 ]
Tapolcai, Janos [2 ]
Mihalka, Bence [2 ]
Meszaros, Gabor [2 ]
Retvari, Gabor [2 ]
机构
[1] Budapest Univ Technol & Econ, MTA BME Informat Syst Res Grp, Budapest, Hungary
[2] Budapest Univ Technol & Econ, MTA BME Future Internet Res Grp, Budapest, Hungary
来源
2014 IEEE 22ND INTERNATIONAL CONFERENCE ON NETWORK PROTOCOLS (ICNP) | 2014年
基金
匈牙利科学研究基金会;
关键词
IP forwarding; prefix trees; data compression; EVOLUTION;
D O I
10.1109/ICNP.2014.55
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
The Internet routing ecosystem is facing compelling scalability challenges, manifested primarily in the rapid growth of IP packet forwarding tables. The forwarding table, implemented at the data plane fast path of Internet routers to drive the packet forwarding process, currently contains about half a million entries and counting. Meanwhile, it needs to support millions of complex queries and updates per second. In this paper, we make the curious observation that the entropy of IP forwarding tables is very small and, what is more, seems to increase at a lower pace than the size of the network. This suggests that a sophisticated compression scheme may effectively and persistently reduce the memory footprint of IP forwarding tables, shielding operators from scalability matters at least temporarily. Our main contribution is such a compression scheme which, for the first time, admits both the required information-theoretical size bounds and attains fast lookups, thanks to aggressive level compression. Although we find the underlying optimization problem NP-complete, we can still give a lightweight heuristic algorithm with firm approximation guarantees. This allows us to squeeze real IP forwarding tables, comprising almost 500,000 prefixes, to just about 140-200 KBytes of memory within a factor of 2-3 of the entropy bound, so that forwarding decisions take only 8-10 memory accesses on average and updates are supported efficiently. Our compression scheme may be of more general interest, as it is applicable to essentially any prefix tree.
引用
收藏
页码:332 / 343
页数:12
相关论文
共 50 条
[1]  
Andersson A., 1994, Algorithms - ESA '94. Second Annual European Symposium Proceedings, P82, DOI 10.1007/BFb0049399
[2]  
[Anonymous], 4984 RFC IETF
[3]  
[Anonymous], 2001, Approximation algorithms
[4]  
[Anonymous], 1999, IEEE INFOCOM
[5]   On approximation properties of the independent set problem for low degree graphs [J].
Berman, P ;
Fujito, T .
THEORY OF COMPUTING SYSTEMS, 1999, 32 (02) :115-132
[6]  
Bolla R., 2006, 2006 Workshop on High Performance Switching and Routing (IEEE Cat. No. 06EX1229C)
[7]  
BRYANT RE, 1992, COMPUT SURV, V24, P293, DOI 10.1145/136035.136043
[8]   On characterizing BGP routing table growth [J].
Bu, T ;
Gao, LX ;
Towsley, D .
COMPUTER NETWORKS, 2004, 45 (01) :45-54
[9]   Evolution of Internet Address Space Deaggregation: Myths and Reality [J].
Cittadini, Luca ;
Muehlbauer, Wolfgang ;
Uhlig, Steve ;
Bush, Randy ;
Francois, Pierre ;
Maennel, Olaf .
IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, 2010, 28 (08) :1238-1249
[10]  
Cover T.M., 2006, ELEMENTS INFORM THEO, V2nd ed