Skip to main content

Analyzing and Optimizing the Linux Networking Stack

  • Conference paper

Part of the book series: Signals and Communication Technology ((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.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   169.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   219.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   219.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  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. 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, 2005

    Google Scholar 

  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. 2005

    Chapter  Google Scholar 

  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. 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. 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. Building Open Router Architectures based on Router Aggregation (BORA BORA) project, website at http://www.telematica.polito.it/projects/borabora/

  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. Oprofile, website at http://oprofile.sourceforge.net/news/

  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. The Agilent N2X Router Tester, http://advanced.comms.agilent.com/n2x/products/ index.htm

  12. Skb recycling patch, ftp://robur.slu.se/pub/Linux/net-development/skb_recycling/

    Google Scholar 

  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 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer Science+Business Media, LLC

About this paper

Cite this paper

Bolla, R., Bruschi, R., Ranieri, A., Traverso, G. (2009). Analyzing and Optimizing the Linux Networking Stack. In: Davoli, F., Meyer, N., Pugliese, R., Zappatore, S. (eds) Grid Enabled Remote Instrumentation. Signals and Communication Technology. Springer, New York, NY. https://doi.org/10.1007/978-0-387-09663-6_12

Download citation

  • DOI: https://doi.org/10.1007/978-0-387-09663-6_12

  • Publisher Name: Springer, New York, NY

  • Print ISBN: 978-0-387-09662-9

  • Online ISBN: 978-0-387-09663-6

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics