Compact Forwarding: a Probabilistic Approach to Packet Forwarding in Content-Oriented Networks
Total Page:16
File Type:pdf, Size:1020Kb
Christian Esteve Rothenberg Compact forwarding: A probabilistic approach to packet forwarding in content-oriented networks Tese de Doutorado apresentada à Faculdade de En- genharia Elétrica e de Computação como parte dos requisitos para obtenção do título de Doutor em En- genharia Elétrica. Área de concentração: Engenharia de Computação. Orientador: Prof. Dr. Maurício Ferreira Magalhães Campinas, SP 2010 FICHA CATALOGRÁFICA ELABORADA PELA BIBLIOTECA DA ÁREA DE ENGENHARIA - BAE - UNICAMP Esteve Rothenberg, Christian Rodolfo Es85c Compact forwarding: uma abordagem probabilística para o encaminhamento de pacotes em redes orientadas a conteúdo / Christian Rodolfo Esteve Rothenberg. – Campinas, SP: [s.n.], 2010. Orientador: Maurício Ferreira Magalhães. Tese de Doutorado - Universidade Estadual de Campinas, Faculdade de Engenharia Elétrica e de Computação. 1. Redes de computadores. 2. Comutação de pacotes. 3. Estruturas de dados (Computação). 4. Algoritmos 5. Probabilidade, Teoria da. I. Magalhães, Mauricio Ferreira. II. Universidade Estadual de Campinas. Faculdade de Engenharia Elétrica e de Computação. III. Título Título em Inglês: Compact forwarding: A probabilistic approach to packet forwarding in content-oriented networks Palavras-chave em Inglês: Computer networking, Packet switching, Data structures (Computer), Algorithms, Probability theory Área de concentração: Engenharia de Computação Titulação: Doutor em Engenharia Elétrica Banca Examinadora: Djamel Fawzi Hadj Sadok, Edmundo Roberto Mauro Madeira, Eleri Cardozo, José Ferreira de Rezende Data da defesa: 15/12/2010 Programa de Pós Graduação: Engenharia Elétrica ii iv Resumo Esta tese introduz um novo conceito para as redes de conteúdo denominado compact forward- ing. Este conceito traduz-se na utilização de técnicas probabilísticas no plano de encaminhamento onde o espaço de identificação não é mais relacionado a um host final, mas sim, à identificação de conteúdo(s). A essência do conceito originou-se de uma questão básica, qual seja, onde deve ser colocado o estado associado ao encaminhamento do pacote? Nos elementos de rede ou no cabeçalho do pacote? A tese propõe duas soluções que representam estes extremos, SPSwitch, na qual o estado é colocado nos elementos de rede e, LIPSIN, onde o estado é colocado no cabeçalho do pacote. O denominador comum a essas soluções consiste na utilização de técnicas probabilísticas inspiradas no Bloom filter como elemento base das decisões de encaminhamento. A utilização de estruturas de dados derivadas do Bloom filter traz um custo adicional necessário à minimização dos erros associ- ados à utilização de uma estrutura probabilística. A tese contribui com várias técnicas para redução desses erros incluindo a análise dos custos associados. Cenários de aplicação são apresentados para validação das propostas discutidas no trabalho. Palavras-chave: Redes de pacotes, algoritmos, estruturas de dados, Bloom filter. Abstract This thesis introduces the concept of compact forwarding in the field of content-oriented net- works. The main idea behind this concept is taking a probabilistic approach to the problem of packet forwarding in networks centered on content identifiers rather than traditional host addresses. The fundamental question explored is where to place the packet forwarding state, in network nodes or in packet headers? Solutions for both extremes are proposed. In the SPSwitch, approximate forward- ing state is kept in network nodes. In LIPSIN, the state is carried in the packets themselves. Both approaches are based on probabilistic packet forwarding functions inspired by the Bloom filter data structure. The approximate forwarding state comes at the cost of additional considerations due to the effects of one-sided error-prone data structures. The thesis contributes with a series of techniques to mitigate the false positive errors. The proposed compact forwarding methods are experimentally validated in several practical networking scenarios. Keywords: Packet networks, algorithms, data structures, Bloom filter. v vi Acknowledgements To my advisor, Prof. Maurício Ferreira Magalhães, I am truly thankful for his encouragement and support throughout this thesis. Beyond being an always present mentor, I thank you Mauricio for the extracurricular aspects that made me feel at home. I am greatly indebted to Dr. Pekka Nikander and the colleagues at Ericsson Research Nomadiclab. Thank you for showing me the meaning of high-quality corporate research. Having the opportunity of working together was a pivotal point in my PhD research for which I cannot be thankful enough. Group project colleagues and co-authors, I could not have done this alone. This thesis would not be the same piece without your contributions and influences. To the thesis committee for the insightful discussion and suggestions. To Ericsson Research, for the financial support and the opportunity of aligning my work to corporate goals. To Fundação CPqD, in addition to the professional opportunity, I am especially thankful to Helio Malavazzi and Jose Pedro de Freitas, who trusted and beliefed in me since our first E-Mail and VoIP conversations encouraging me to cross the ocean. I wish to express my sincere gratitute to all my friends who heartily welcome me from day 1 in Brazil and accompanied through happiness contributing with lots of wonderful experiences. To my parents, always supportive in the directions I have taken, I have not enough words to express what Anna and José Luis mean to me. Any skills that I may possess is born of their confidence in me and a consequence of having received their love, education, and blind support. vii To my parents, Anna e José Luís viii Contents List of Figures xi List of Tables xiii Glossary xv Publications xvii Intellectual Property Results xix 1 Introduction 1 1.1 How to read this Thesis . .4 2 Research Problem 5 2.1 Motivation and Scope . .5 2.2 Relation to Previous Work . .7 2.3 Compact Forwarding . .9 2.4 Approach and Contributions . 11 2.4.1 Publications . 12 2.4.2 Overview of the Achievements . 14 2.5 Summary . 22 3 Background 23 3.1 Principles and Evolution of the Internet Architecture . 23 3.1.1 The role of the Control and Data Planes . 26 3.1.2 Placement of Functions and State . 28 3.1.3 Towards the Future Internet Architecture . 33 3.2 The Rise of a Content-Oriented Internet . 35 3.2.1 A new Networking Paradigm . 40 3.2.2 Naming, Routing and Forwarding . 42 3.2.3 Architectural Proposals . 47 3.3 Networking with Probabilistic Data Structures . 55 3.3.1 Probabilistic Algorithms and Data Structures . 56 3.3.2 Bloom Filters . 58 3.3.3 Improved Bloom Filters . 60 ix x CONTENTS 3.3.4 Routing and Forwarding Applications . 61 3.4 Summary . 70 4 Contributions and Discussion 71 4.1 Reviewing the Contributions . 71 4.2 Principles and Applications . 83 4.3 Summary . 90 5 Concluding Remarks and Future Work 91 List of References 95 A Publication A 117 Publication I 117 B Publication B 125 Publication II 125 C Publication C 139 Publication III 139 D Publication D 147 Publication IV 147 E Publication E 155 Publication V 155 F Publication F 171 Publication VI 171 G Publication G 177 Publication VII 177 H Publication H 195 Publication VIII 195 List of Figures 2.1 Overview of the main topics and publications of the thesis. 13 3.1 IP Suite Protocol Layering. Source: [71] . 24 3.2 The left figure generally reflects the hierarchical historical BGP topology. The figure on the right illustrates emerging content-oriented Internet traffic patterns. Source: [124] 36 3.3 CCN replaces the global component of the network stack (IP) with chunks of named content. Source: [19] . 50 3.4 High level overview of the RTFM architecture. Source: [D] . 53 3.5 Overview of the Bloom filter probabilistic data structure. 59 4.1 The SPSwitch forwarding engine. Source: [A] . 73 4.2 The LIPSIN forwarding engine based on in-packet Bloom filters. Source: [B] . 74 4.3 The Z-formation compact forwarding method. Source: [D] . 75 4.4 False positive (right axis) and forwarding efficiency (left axis) simulation results for AS 6461 with d=8 Link ID Tag optimization and k=5 hash functions. Source: [B] . 77 4.5 False positive performance gains of the power of choices technique. Source: [G] . 79 4.6 Compact deletability capabilities of the Deletable Bloom filter. Source: [F] . 80 xi xii LIST OF FIGURES List of Tables 3.1 Concepts of content-oriented networking versus the original Internet design. Source: [A] 41 3.2 Main characteristics of the unicast. multicast and content-based modes of communi- cation services. Source: [153]. 42 3.3 Parameters of the Bloom filter data structure. 59 3.4 Key features of the Bloom filter variants, including the additional capabilities: Count- ing (C), Deletion (D), Popularity-awareness (P), False-Negatives (FN), and the output type. Source: [192] . 62 4.1 Summary of principles and applications of the contributions to compact forwarding. 84 xiii xiv LIST OF TABLES xv xvi GLOSSARY Glossary API Application Programming Interface ARP Address Resolution Protocol ARPA Advanced Research and Projects Agency AS Autonomous Systems BGP Border Gateway Protocol CIDR Classless Inter-Domain Routing CCN Content-Centric Networking CDN Content Delivery Networks DCN Data Center Networks DHT Distributed Hash Table DPI Deep Packet Inspection DoS Denial-of-Service DNS Domain Name System FQDN Fully Qualified Domain Name iBF in-packet Bloom filter IP Internet Protocol ISP Internet Service Provider LLDP Link Layer Discovery Protocol MAC Media Access Control MPLS Multi Protocol Label Switching NAT Network Address Translation NSFNET National Science Foundation Network OSPF Open Shortest Path First P2P Peer-to-Peer QoS Quality of Service RM Rack Manager SiBF Switching with in-packet Bloom filters SOA Service Oriented Architectures STP Spanning Tree Protocol TCAM Ternary Content Addressable Memory TCP Transmission Control Protocol URL Unified Resource Locator VL2 Virtual Layer 2 VLAN Virtual LAN VM Virtual Machine VPN Virtual Private Network Publications 1. C. Esteve Rothenberg, F. Verdi and M. Magalhães.