• DocumentCode
    182190
  • Title

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

  • Author

    Korosi, Attila ; Tapolcai, Janos ; Mihalka, Bence ; Meszaros, Gabor ; Retvari, Gabor

  • Author_Institution
    MTA-BME Inf. Syst. Res. Group, Budapest Univ. of Technol. & Econ., Budapest, Hungary
  • fYear
    2014
  • fDate
    21-24 Oct. 2014
  • Firstpage
    332
  • Lastpage
    343
  • Abstract
    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.
  • Keywords
    IP networks; Internet; computational complexity; data compression; heuristic programming; optimisation; table lookup; telecommunication network routing; IP forwarding table entropy bound; IP packet forwarding table compression; Internet router; Internet routing ecosystem; NP-complete optimization problem; complex queries; data plane; fast lookup; information-theoretical size bound; information-theoretical space bound; lightweight heuristic algorithm; memory access; memory footprint reduction; Data structures; Decision trees; Entropy; IP networks; Internet; Routing; Scalability; IP forwarding; data compression; prefix trees;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Network Protocols (ICNP), 2014 IEEE 22nd International Conference on
  • Conference_Location
    Raleigh, NC
  • Print_ISBN
    978-1-4799-6203-7
  • Type

    conf

  • DOI
    10.1109/ICNP.2014.55
  • Filename
    6980394