[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1145/1015467.1015499acmconferencesArticle/Chapter ViewAbstractPublication PagescommConference Proceedingsconference-collections
Article
Free access

Sizing router buffers

Published: 30 August 2004 Publication History

Abstract

All Internet routers contain buffers to hold packets during times of congestion. Today, the size of the buffers is determined by the dynamics of TCP's congestion control algorithm. In particular, the goal is to make sure that when a link is congested, it is busy 100% of the time; which is equivalent to making sure its buffer never goes empty. A widely used rule-of-thumb states that each link needs a buffer of size B = overlineRTT x C, where overlineRTT is the average round-trip time of a flow passing across the link, and C is the data rate of the link. For example, a 10Gb/s router linecard needs approximately 250ms x 10Gb/s = 2.5Gbits of buffers; and the amount of buffering grows linearly with the line-rate. Such large buffers are challenging for router manufacturers, who must use large, slow, off-chip DRAMs. And queueing delays can be long, have high variance, and may destabilize the congestion control algorithms. In this paper we argue that the rule-of-thumb (B = (overlineRTT x C) is now outdated and incorrect for backbone routers. This is because of the large number of flows (TCP connections) multiplexed together on a single backbone link. Using theory, simulation and experiments on a network of real routers, we show that a link with n flows requires no more than B = (overlineRTT x C) √n, for long-lived or short-lived TCP flows. The consequences on router design are enormous: A 2.5Gb/s link carrying 10,000 flows could reduce its buffers by 99% with negligible difference in throughput; and a 10Gb/s link carrying 50,000 flows requires only 10Mbits of buffering, which can easily be implemented using fast, on-chip SRAM.

References

[1]
C. Villamizar and C. Song. High performance tcp in ansnet. ACM Computer Communications Review, 24(5):45--60, 1994 1994.]]
[2]
Cisco line cards. http://www.cisco.com/en/US/products/hw/modules/ps2710/products_data_sheets_list.html.]]
[3]
R. Bush and D. Meyer. RFC 3439: Some internet architectural guidelines and philosophy, December 2003.]]
[4]
C. J. Fraleigh. Provisioning Internet Backbone Networks to Support Latency Sensitive Applications. PhD thesis, Stanford University, Department of Electrical Engineering, June 2002.]]
[5]
D. Ferguson. {e2e} Queue size of routers. Posting to the end-to-end mailing list, January 21, 2003.]]
[6]
S. H. Low, F. Paganini, J. Wang, S. Adlakha, and J. C. Doyle. Dynamics of tcp/red and a scalable control. In Proceedings of IEEE INFOCOM 2002, New York, USA, June 2002.]]
[7]
G. Appenzeller, I. Keslassy, and N. McKeown. Sizing router buffers. Technical Report TR04-HPNG-06-08-00, Stanford University, June 2004. Extended version of the paper published at SIGCOMM 2004.]]
[8]
S. Iyer, R. R. Kompella, and N. McKeown. Analysis of a memory architecture for fast packet buffers. In Proceedings of IEEE High Performance Switching and Routing, Dallas, Texas, May 2001.]]
[9]
C. Dovrolis. {e2e} Queue size of routers. Posting to the end-to-end mailing list, January 17, 2003.]]
[10]
S. Shenker, L. Zhang, and D. Clark. Some observations on the dynamics of a congestion control algorithm. ACM Computer Communications Review, pages 30--39, Oct 1990.]]
[11]
The network simulator - ns-2. http://www.isi.edu/nsnam/ns/.]]
[12]
S. Floyd and V. Jacobson. Random early detection gateways for congestion avoidance. IEEE/ACM Transactions on Networking, 1(4):397--413, 1993.]]
[13]
L. Zhang and D. D. Clark. Oscillating behaviour of network traffic: A case study simulation. Internetworking: Research and Experience, 1:101--112, 1990.]]
[14]
L. Qiu, Y. Zhang, and S. Keshav. Understanding the performance of many tcp flows. Comput. Networks, 37(3-4):277--306, 2001.]]
[15]
G. Iannaccone, M. May, and C. Diot. Aggregate traffic performance with active queue management and drop from tail. SIGCOMM Comput. Commun. Rev., 31(3):4--13, 2001.]]
[16]
V. Paxson and S. Floyd. Wide area traffic: the failure of Poisson modeling. IEEE/ACM Transactions on Networking, 3(3):226--244, 1995.]]
[17]
A. Feldmann, A. C. Gilbert, and W. Willinger. Data networks as cascades: Investigating the multifractal nature of internet WAN traffic. In SIGCOMM, pages 42--55, 1998.]]
[18]
R. W. Wolff. Stochastic Modelling and the Theory of Queues, chapter 8. Prentice Hall, October 1989.]]
[19]
F. P. Kelly. Notes on Effective Bandwidth, pages 141--168. Oxford University Press, 1996.]]
[20]
J. Cao, W. Cleveland, D. Lin, and D. Sun. Internet traffic tends to poisson and independent as the load increases. Technical report, Bell Labs, 2001.]]
[21]
S. Floyd and V. Paxson. Difficulties in simulating the internet. IEEE/ACM Transactions on Networking, February 2001.]]
[22]
R. Morris. Scalable tcp congestion control. In Proceedings of IEEE INFOCOM 2000, Tel Aviv, USA, March 2000.]]
[23]
S. B. Fredj, T. Bonald, A. Proutière, G. Régnié, and J. Roberts. Statistical bandwidth sharing: a study of congestion at flow level. In Proceedings of SIGCOMM 2001, San Diego, USA, August 2001.]]
[24]
Personal communication with stanford networking on characteristics of residential traffic.]]
[25]
Cisco 12000 series routers. http://www.cisco.com/en/US/products/hw/routers/ps167/.]]
[26]
J. Sommers, H. Kim, and P. Barford. Harpoon: A flow-level traffic generator for router and network test. In Proceedings of ACM SIGMETRICS, 2004. (to appear).]]
[27]
I. Cisco~Systems. Netflow services solution guido, July 2001. http://www.cisco.com/.]]
[28]
L. Zhang, S. Shenker, and D. D. Clark. Observations on the dynamics of a congestion control algorithm: The effects of two-way traffic. In Proceedings of ACM SIGCOMM, pages 133--147, September 1991.]]
[29]
Microsoft. Tcp/ip and nbt configuration parameters for windows xp. Microsoft Knowledge Base Article - 314053, November 4, 2003.]]
[30]
K. McCloghrie and M. T. Rose. RFC 1213: Management information base for network management of TCP/IP-based internets:MIB-II, March 1991. Status: STANDARD.]]
[31]
R. Morris. Tcp behavior with many flows. In Proceedings of the IEEE International Conference on Network Protocols, Atlanta, Georgia, October 1997.]]
[32]
K. Avrachenkov, U. Ayesta, E. Altman, P. Nain, and C. Barakat. The effect of router buffer size on the tcp performance. In Proceedings of the LONIIS Workshop on Telecommunication Networks and Teletraffic Theory, pages 116--121, St.Petersburg, Russia, January 2002.]]
[33]
M. Garetto and D. Towsley. Modeling, simulation and measurements of queueing delay under long-tail internet traffic. In Proceedings of SIGMETRICS 2003, San Diego, USA, June 2003.]]

Cited By

View all
  • (2025)Understanding the Modern Internet's Heterogeneous Congestion Control LandscapeACM SIGMETRICS Performance Evaluation Review10.1145/3712170.371217552:3(11-14)Online publication date: 9-Jan-2025
  • (2023)Batch Poissonian Arrival Models of Multiservice Network TrafficProblems of Information Transmission10.1134/S003294602301006459:1(63-70)Online publication date: 28-Aug-2023
  • (2023)P4Tune: Enabling Programmability in Non-Programmable NetworksIEEE Communications Magazine10.1109/MCOM.001.220028761:6(132-138)Online publication date: Jun-2023
  • Show More Cited By

Index Terms

  1. Sizing router buffers

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SIGCOMM '04: Proceedings of the 2004 conference on Applications, technologies, architectures, and protocols for computer communications
    August 2004
    402 pages
    ISBN:1581138628
    DOI:10.1145/1015467
    • cover image ACM SIGCOMM Computer Communication Review
      ACM SIGCOMM Computer Communication Review  Volume 34, Issue 4
      October 2004
      385 pages
      ISSN:0146-4833
      DOI:10.1145/1030194
      Issue’s Table of Contents
    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]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 30 August 2004

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. TCP
    2. bandwidth delay product
    3. buffer size
    4. internet router

    Qualifiers

    • Article

    Conference

    SIGCOMM04
    Sponsor:
    SIGCOMM04: ACM SIGCOMM 2004 Conference
    August 30 - September 3, 2004
    Oregon, Portland, USA

    Acceptance Rates

    Overall Acceptance Rate 462 of 3,389 submissions, 14%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)445
    • Downloads (Last 6 weeks)26
    Reflects downloads up to 27 Jan 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2025)Understanding the Modern Internet's Heterogeneous Congestion Control LandscapeACM SIGMETRICS Performance Evaluation Review10.1145/3712170.371217552:3(11-14)Online publication date: 9-Jan-2025
    • (2023)Batch Poissonian Arrival Models of Multiservice Network TrafficProblems of Information Transmission10.1134/S003294602301006459:1(63-70)Online publication date: 28-Aug-2023
    • (2023)P4Tune: Enabling Programmability in Non-Programmable NetworksIEEE Communications Magazine10.1109/MCOM.001.220028761:6(132-138)Online publication date: Jun-2023
    • (2023)Protean: Adaptive Management of Shared-Memory in Datacenter SwitchesIEEE INFOCOM 2023 - IEEE Conference on Computer Communications10.1109/INFOCOM53939.2023.10229046(1-10)Online publication date: 17-May-2023
    • (2023)Understanding the Performance of TCP BBRv2 Using FABRIC2023 IEEE International Black Sea Conference on Communications and Networking (BlackSeaCom)10.1109/BlackSeaCom58138.2023.10299749(259-264)Online publication date: 4-Jul-2023
    • (2022)A microscopic view of bursts, buffer contention, and loss in data centersProceedings of the 22nd ACM Internet Measurement Conference10.1145/3517745.3561430(567-580)Online publication date: 25-Oct-2022
    • (2022)Are we heading towards a BBR-dominant internet?Proceedings of the 22nd ACM Internet Measurement Conference10.1145/3517745.3561429(538-550)Online publication date: 25-Oct-2022
    • (2022)Congestion Control for Cross-Datacenter NetworksIEEE/ACM Transactions on Networking10.1109/TNET.2022.316158030:5(2074-2089)Online publication date: Oct-2022
    • (2022)Enabling ECN for Datacenter Networks with RTT VariationsIEEE Transactions on Cloud Computing10.1109/TCC.2022.3204988(1-16)Online publication date: 2022
    • (2022)Congestion Control Mechanisms and Techniques in Computer Network: A Review2022 International Conference on Data Science and Intelligent Computing (ICDSIC)10.1109/ICDSIC56987.2022.10076206(46-51)Online publication date: 1-Nov-2022
    • Show More Cited By

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Login options

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media