skip to main content
research-article

Rekindling network protocol innovation with user-level stacks

Published:08 April 2014Publication History
Skip Abstract Section

Abstract

Recent studies show that more than 86% of Internet paths allow well-designed TCP extensions, meaning that it is still possible to deploy transport layer improvements despite the existence of middleboxes in the network. Hence, the blame for the slow evolution of protocols (with extensions taking many years to nbecome widely used) should be placed on end systems.

In this paper, we revisit the case for moving protocols stacks up into user space in order to ease the deployment of new protocols, extensions, or performance optimizations. We present MultiStack, operating system support for user-level protocol stacks. MultiStack runs within commodity operating systems, can concurrently host a large number of isolated stacks, has a fall-back path to the legacy host stack, and is able to process packets at rates of 10Gb/s.

We validate our design by showing that our mux/demux layer can validate and switch packets at line rate (up to 14.88 Mpps) on a 10 Gbit port using 1-2 cores, and that a proof-of-concept HTTP server running over a basic userspace TCP outperforms by 18-90% both the same server and nginx running over the kernel's stack.

References

  1. M. Allman. Comments on buffer bloat. ACM CCR, 43:31--37, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. A. Bittau, M. Hamburg, M. Handley, D. Mazieres, and D. Boneh. The case for ubiquitous transport-level encryption. In Proc. USENIX Security Symposium, Aug 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. K. Cho, K. Mitsuya, and A. Kato. Traffic data repository at the WIDE project. USENIX ATC, 2000. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. P. Druschel and G. Banga. Lazy receiver processing (lrp): A network subsystem architecture for server systems. In Proc. USENIX OSDI, Oct. 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. T. Eicken, A. Basu, V. Buch, and W. Vogels. U-Net: A User-Level Network Interface for Parallel and Distributed Computing. In Proc. ACM SOSP, pages 40--53, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. F. Fusco and L. Deri. High speed network traffic analysis with commodity multi-core systems. In Proc. ACM IMC, pages 218--224, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. G. Ganger, D. Engler, M. Kaashoek, H. Briceno, R. Hunt, and T. Pinckney. Fast and flexible application-level networking on exokernel systems. ACM ToCS, 20(1):49--83, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. GitHub. Modern HTTP benchmarking tool. https://github.com/wg/wrk, July 2013.Google ScholarGoogle Scholar
  9. S. Han, S. Marshall, B. Chun, and S. Ratnasamy. Megapipe: A new programming interface for scalable network i/o. In Proc. USENIX OSDI, Oct. 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. M. Honda, Y. Nishida, C. Raiciu, A. Greenhalgh, M. Handley, and H. Tokuda. Is it Still Possible to Extend TCP? In Proc. ACM IMC, pages 181--192, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Intel Open Source Technology Center. Intel DPDK vSwitch. https://01.org/packet-processing/intelo-ovdk, 2014.Google ScholarGoogle Scholar
  12. V. Jacobson, R. Braden, and D. Borman. TCP Extensions for High Performance. RFC 1323, May. 1992. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. A. Kantee. Environmental Independence: BSD Kernel TCP/IP in Userspace. AsiaBSDCon, 2009.Google ScholarGoogle Scholar
  14. C. Maeda and B. Bershad. Networking performance for microkernels. In Proc. IEEE WOS, pages 154--159, 1992.Google ScholarGoogle ScholarCross RefCross Ref
  15. C. Maeda and B. Bershad. Protocol service decomposition for high-performance networking. In Proc. ACM SOSP, pages244--255, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. M. Mathis, J. Mahdavi, S. Floyd, and A. Romanow. TCP Selective Acknowledgment Options. RFC 2018, Oct. 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. B. Penoff, A. Wagner, M. Tuxen, and I. Rungeler. Portable and Performant Userspace SCTP Stack. In Proc. IEEE ICCCN, pages 1--9, 2012.Google ScholarGoogle ScholarCross RefCross Ref
  18. D. Porter, S. Boyd-Wickizer, J. Howell, R. Olinsky, and G. Hunt. Rethinking the library os from the top down. In Proc. ACM ASPLOS, Mar. 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. S. Radhakrishnan, Y. Cheng, J. Chu, A. Jain, and B. Raghavan. Tcp fast open. In Proc. ACM CoNEXT, December 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. C. Raiciu, C. Paasch, S. Barre, A. Ford, M. Honda, F. Duchene, O. Bonaventure, and M. Handley. How Hard Can It Be? Designing and Implementing a Deployable Multipath TCP. In Proc. USENIX NSDI, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. I. Rhee and L. Xu. Cubic: A new tcp-friendly high-speed tcp variant. Proc. PFLDNeT, 2005.Google ScholarGoogle Scholar
  22. L. Rizzo. netmap: a novel framework for fast packet I/O. In Proc. USENIX ATC, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. L. Rizzo and G. Lettieri. Vale: a switched ethernet for virtual machines. In Proc. ACM CoNEXT, December 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. SolarFlare. OpenOnLoad. http://www.openonload.org, 2013.Google ScholarGoogle Scholar
  25. K. Tan, J. Song, Q. Zhang, and M. Sridharan. A compound tcp approach for high-speed and long distance networks. In Proc. IEEE INFOCOM, pages 1--12, 2006.Google ScholarGoogle ScholarCross RefCross Ref
  26. C. Thekkath, T. Nguyen, E. Moy, and E. Lazowska. Implementing network protocols at user level. IEEE/ACM ToN, 1(5):554--565, 1993. Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. Wikipedia. QUIC. http://en.wikipedia.org/wiki/QUIC, 2014.Google ScholarGoogle Scholar
  28. D. Wischik, C. Raiciu, A. Greenhalgh, and M. Handley. Design, implementation and evaluation of congestion control for multipath TCP. In Proc. USENIX NSDI, 2011. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Rekindling network protocol innovation with user-level stacks

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in

      Full Access

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader