• DocumentCode
    2017474
  • Title

    Transparent acceleration of software packet forwarding using netmap

  • Author

    Rizzo, Luigi ; Carbone, Marta ; Catalli, Gaetano

  • Author_Institution
    Dip. di Ing. dell´´Inf., Univ. di Pisa, Pisa, Italy
  • fYear
    2012
  • fDate
    25-30 March 2012
  • Firstpage
    2471
  • Lastpage
    2479
  • Abstract
    Software packet forwarding has been used for a long time in general purpose operating systems. While interesting for prototyping or on slow links, it is not considered a viable solution at very high packet rates, where various sources of overhead (particularly, the packet I/O mechanisms) get in the way of achieving good performance. Having recently developed a novel framework (called netmap) for packet I/O on general purpose operating systems, we have investigated how our work can improve the performance of software packet processing. The problem is of interest because software switches/routers are widely used, and they are becoming inadequate with the increasing use of 1..10 Gbit/s links. The two case studies (OpenvSwitch and Click userspace) that we report in this paper give very interesting answers and insights. First of all, accelerating the I/O layer has the potential for huge benefits: we improved the performance of OpenvSwitch from 780 Kpps to almost 3 Mpps, and that of Click userspace from 490 Kpps to 3.95 Mpps, by simply replacing the I/O library (libpcap) with our accelerated version. On the other hand, reaching these speedups was not purely mechanical. The original versions of the two systems had other limitations, partly hidden by the slow packet I/O library, which prevented or limited the exploitation of these speed gains. In the paper we make the following contributions: i) present an accelerated version of libpcap which gives significant speedups for many existing packet processing applications; ii) show how we modified two representative applications (in particular, Click userspace), achieving huge performance improvements; iii) prove that existing software packet processing systems can be made adequate for high speed links, provided we are careful in removing other bottlenecks not related to packet I/O1.
  • Keywords
    computer networks; input-output programs; software libraries; software prototyping; telecommunication computing; telecommunication network routing; Click userspace; I/O layer; OpenvSwitch userspace; general purpose operating systems; high packet rates; high speed links; huge benefits; huge performance improvements; libpcap; netmap; packet I/O mechanisms; packet processing applications; prototyping; representative applications; slow packet I/O library; software packet forwarding; software packet processing systems; software routers; software switches; transparent acceleration; Instruction sets; Kernel; Libraries; Linux; Switches;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    INFOCOM, 2012 Proceedings IEEE
  • Conference_Location
    Orlando, FL
  • ISSN
    0743-166X
  • Print_ISBN
    978-1-4673-0773-4
  • Type

    conf

  • DOI
    10.1109/INFCOM.2012.6195638
  • Filename
    6195638