Analyzing and Optimizing the Linux Networking Stack

  • R. Bolla
  • R. Bruschi
  • A. Ranieri
  • G. Traverso
Conference paper
Part of the Signals and Communication Technology book series (SCT)

Abstract

It is well known that the Linux Operating System provides a complete and effective support to networking functionalities, to be widely used in many advanced fields, like software routers and Grid architectures, among others. Notwithstanding the rising popularity and the continuous development of the Linux Operating System, there is no clear indication about the maximum networking performance level that it can achieve and no information about the computational weight required by packet processing operations. Our main aim in this work is to analyze and to optimize the Linux networking stack performance, trying to evaluate the impact of networking functionalities on the whole system. To this purpose, to better characterize the performance bottlenecks, we have performed both external and internal measurements, benchmarking both a standard Linux kernel and an optimized version.

Keywords

Packet Size Hardware Architecture Packet Processing Network Interface Card Computational Weight 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. [1]
    A. Barczyk, A. Carbone, J.P. Dufey, D. Galli, B. Jost, U. Marconi, N. Neufeld, G. Peco, V. Vagnoni, “Reliability of datagram transmission on Gigabit Ethernet at full link load”, LHCb Technical Note, LHCB 2004-030 DAQ, Mar. 2004.Google Scholar
  2. [2]
    A. Bianco, R. Birke, D. Bolognesi, J. M. Finochietto, G. Galante, M. Mellia, M.L.N.P.P. Prashant, F. Neri, “Click vs. Linux: two efficient open-source IP network stacks for software routers”, HPSR 2005 (IEEE Workshop on High Performance Switching and Routing), Hong Kong, May 12–14, 2005Google Scholar
  3. [3]
    A. Bianco, J. M. Finochietto, G. Galante, M. Mellia, F. Neri, “Open-source PC-based software routers: a viable approach to high-performance packet switching”, Third International Workshop on QoS in Multiservice IP Networks, Catania, Italy, Feb. 2005CrossRefGoogle Scholar
  4. [4]
    R. Bolla, R. Bruschi, “A high-end Linux based open router for IP QoS networks: tuning and performance analysis with internal (profiling) and external measurement tools of the packet forwarding capabilities”, Proc. of the 3rd International Workshop on Internet Performance, Simulation, Monitoring and Measurements (IPS MoMe 2005), Warsaw, Poland, Mar. 2005, pp.203–214.Google Scholar
  5. [5]
    R. Bolla, R. Bruschi, “IP forwarding performance analysis in presence of control plane functionalities in a PC-based open router”, Proc. of the 2005 Tyrrhenian International Workshop on Digital Communications (TIWDC 2005), Sorrento, Italy, Jun. 2005; in F. Davoli, S. Palazzo, S. Zappatore, Eds., “Distributed Cooperative Laboratories: Networking, Instrumentation, and Measurements”, Springer, New York, NY, 2006, pp.143–158.Google Scholar
  6. [6]
    R. Bolla, R. Bruschi, “RFC 2544 performance evaluation and internal measurements for a Linux based open router”, Proc. of IEEE 2006 Workshop on High Performance Switching and Routing (HPSR 2006), Poznan, Poland, Jun. 2006, pp.9–14.Google Scholar
  7. [7]
    Building Open Router Architectures based on Router Aggregation (BORA BORA) project, website at http://www.telematica.polito.it/projects/borabora/
  8. [8]
    P. Gray, A. Betz, “Performance evaluation of copper-based Gigabit Ethernet interfaces”, 27th Annual IEEE Conference on Local Computer Networks (LCN’02), Tampa, FL, Nov. 2002, pp.679–690.Google Scholar
  9. [9]
  10. [10]
    J. H. Salim, R. Olsson, A. Kuznetsov, “Beyond Softnet”, Proc. of the 5th annual Linux Showcase & Conference, Oakland, CA, USA, Nov. 2001.Google Scholar
  11. [11]
    The Agilent N2X Router Tester, http://advanced.comms.agilent.com/n2x/products/ index.htm
  12. [12]
    Skb recycling patch, ftp://robur.slu.se/pub/Linux/net-development/skb_recycling/Google Scholar
  13. [13]
    K. Wehrle, F. Pählke, H. Ritter, D. Möller, M. Bechler, “The Linux Networking Architecture: Design and Implementation of Network Protocols in the Linux Kernel”, Pearson Prentice Hall, Upper Saddle River, NJ , USA, 2004.Google Scholar

Copyright information

© Springer Science+Business Media, LLC 2009

Authors and Affiliations

  • R. Bolla
    • 1
  • R. Bruschi
    • 1
  • A. Ranieri
    • 1
  • G. Traverso
    • 2
  1. 1.Department of CommunicationsComputer and Systems Science (DIST)Italy
  2. 2.InfoCom GenovaItaly

Personalised recommendations