skip to main content
10.1145/285237.285292acmconferencesArticle/Chapter ViewAbstractPublication PagescommConference Proceedingsconference-collections
Article
Free Access

Automatic TCP buffer tuning

Published:01 October 1998Publication History

ABSTRACT

With the growth of high performance networking, a single host may have simultaneous connections that vary in bandwidth by as many as six orders of magnitude. We identify requirements for an automatically-tuning TCP to achieve maximum throughput across all connections simultaneously within the resource limits of the sender. Our auto-tuning TCP implementation makes use of several existing technologies and adds dynamically adjusting socket buffers to achieve maximum transfer rates on each connection without manual configuration.Our implementation involved slight modifications to a BSD-based socket interface and TCP stack. With these modifications, we achieved drastic improvements in performance over large bandwidth delay paths compared to the default system configuration, and significant reductions in memory usage compared to hand-tuned connections, allowing servers to support at least twice as many simultaneous connections.

References

  1. Cra92.Nettest, 1992. Network performance analysis tool~ Cray Research Inco]]Google ScholarGoogle Scholar
  2. FF96.Kevin Fall and Sally Floyd~ Simulations-based comparisons of tahoe~ reno and SACK TCPo Computer Communications Review, 26(3)9 July 1996~]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Jac88.Van Jacobson~ Congestion avoidance and control~ Proceedings of A CM SIGCOMM '88, August 1988.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Mah96.Jamshid Mahdavi. Enabling high performance data transfers on hosts~ (notes for users and system administrators), November 1996~ Obtain via: http://www.psc.edu/networking/perf_tune.html.]]Google ScholarGoogle Scholar
  5. MBKQ96.Marshall Kirk McKusick, Keith Bostic, Michael J. Karels, and John S. Quarterman. The Design and Implementation of the ,~.~ BSD Operating System. Addison-Wesley, Reading MA, 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Min97.March 1997. Private conversation between Greg Minshall and the authors.]]Google ScholarGoogle Scholar
  7. MM96.Matthew Mathis and Jamshid Mahdavi. Forward Acknowledgment: Refining TCP congestion control. Proceedings of A CM SIGCOMM '96, August 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. MSMO97.Matthew Mathis, Jeffrey Semke, Jamshid Mahdavi, and Teunis Ott. The macroscopic behavior of the TCP Congestion Avoidance algorithm. Computer Communications Review, 27(3), July 1997o]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. MSZ96.Qingming Ma, Peter Steenkiste, and Hui Zhango Routing high-bandwidth traffic in max-min fair share networks. Proceedings of ACM SIG- COMM '96, August 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. MTW98.Gregory J~ Miller, Kevin Thompson, and Rick Wilder~ Performance measurement on the vBNS~ In Interop'98 Engineering Conference, 1998.]]Google ScholarGoogle Scholar
  11. Net96.NetBSD 1.2 operating system, 1996. Based upon 4.4BSD Lite, it is the result of a collective volunteer effort. See http://www.netbsd.org~]]Google ScholarGoogle Scholar
  12. RFC793.J. Postel~ Transmission control protocol, Request for Comments 793, September 1981.]]Google ScholarGoogle Scholar
  13. RFC1191.Jeffrey Mogul and Steve Deering. Path MTU discovery, Request for Comments 1191, October 1991.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. RFC1323.Van Jacobson, Robert Braden, and Dave Borman. TCP extensions for high performance, Request for Comments 1323, May 1992.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. RFC2001.W. Richard Stevens. TCP slow start, congestion avoidance, fast retransmit, and fast recovery algorithms, Request for Comments 2001, March 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. RFC2018.Matthew Mathis, J amshid Mahdavi, Sally Floyd, and Allyn Romanow. TCP Selective Acknowledgement options, Request for Comments 2018, October 1996.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. SAC98.Experimental TCP selective acknowledgment implementations, 1998. Obtain via: http://www.psc.edu/networking/tcp.html.]]Google ScholarGoogle Scholar
  18. Ste94.W. Richard Stevens. TCP//IP Illustrated, volume 1. Addison-Wesley, Reading MA, 1994.]]Google ScholarGoogle Scholar
  19. VS94.Curtis Villamizar and Cheng Song. High performance TCP in the ANSNET. ACM SIGCOMM Computer Communication Review, 24(5), October 1994.]] Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Wel96.Von Welch~ A user's guide to TCP windows, 1996. Obtain via: http://www.ncsa.uiuc.edu/People/vwelch/net_perf/tcp-windows.html.]]Google ScholarGoogle Scholar
  21. WS95.Gary R. Wright and W. Richard Stevens. TCP//IP Illustrated, volume 2. Addison-Wesley, Reading MA, 1995.]]Google ScholarGoogle Scholar

Index Terms

  1. Automatic TCP buffer tuning

    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
    • Published in

      cover image ACM Conferences
      SIGCOMM '98: Proceedings of the ACM SIGCOMM '98 conference on Applications, technologies, architectures, and protocols for computer communication
      October 1998
      328 pages
      ISBN:1581130031
      DOI:10.1145/285237

      Copyright © 1998 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 1 October 1998

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      SIGCOMM '98 Paper Acceptance Rate26of247submissions,11%Overall Acceptance Rate554of3,547submissions,16%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader