[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
article

On-line analysis of the TCP acknowledgment delay problem

Published: 01 March 2001 Publication History

Abstract

We study an on-line problem that is motivated by the networking problem of dynamically adjusting of acknowledgments in the Transmission Control Protocol (TCP). We provide a theoretical model for this problem in which the goal is to send acks at a time that minimize a linear combination of the cost for the number of acknowledgments sent and the cost for the additional latency introduced by delaying acknowledgments. To study the usefulness of applying packet arrival time prediction to this problem, we assume there is an oracle that provides the algorithm with the times of the next L arrivals, for some L ≥ 0.
We give two different objective functions for measuring the cost of a solution, each with its own measure of latency cost. For each objective function we first give an O(n2)-time dynamic programming algorithm for optimally solving the off-line problem. Then we describe an on-line algorithm that greedily acknowledges exactly when the cost for an acknowledgment is less than the latency cost incurred by not acknowledging. We show that for this algorithm there is a sequence of n packet arrivals for which it is Ω (***)-competitive for the first objective function, 2-competitive for the second function for L = 0, and 1-competitivefor the second function for L = 1. Next we present a second on-line algorithm which is a slight modification of the first, and we prove that it is 2-competitive for both objective functions for all L. We also give lower bounds on the competitive ratio for any deterministic on-line algorithm. These results show that for each objective function, at least one of our algorithms is optimal.
Finally, we give some initial empirical results using arrival sequences from real network traffic where we compare the two methods used in TCP for acknowledgment delay with our two on-line algorithms. In all cases we examine performance with L = 0 and L = 1.

References

[1]
BELLMAN, R. 1957. Dynamic Programming. Princeton University Press, Princeton, N.J.]]
[2]
BEN-DAVID, S., AND BORODIN, A. 1994. A new measure for the study of on-line algorithms. Algorithmica 11, 73-91.]]
[3]
BORODIN, A., LINIAL, N., AND SAKS, M. 1992. An optimal online algorithm for metrical task systems. Commun. ACM 39, 4 (Apr.) 745-763.]]
[4]
BRADEN, R. 1989. Requirements for Internet hosts-communication layers. Internet Request for Comments 1122. http://www.cis.ohio-state.edu/htbin/rfc/rfc1122.html.]]
[5]
CLARK, D. 1982. Window and acknowledgment strategy in TCP. Internet Request for Comments 813. http://www.cis.ohio-state.edu/htbin/rfc/rfc813.html.]]
[6]
CORMEN,T.H.,LEISERSON,C.E.,AND RIVEST, R. L. 1990. Introduction to Algorithms. MIT Press, Cambridge, Mass.]]
[7]
COSTELLO, A., AND VARGHESE, G. 1998. Redesigning the BSD callout and timer facilities. Softw. Prac. Exp. 28, 8, 883-896.]]
[8]
GROVE, E. F. 1995. Online bin packing with lookahead. In Proceedings of the 6th Annual ACM-SIAM Symposium on Discrete Algorithms (San Francisco, Calif., Jan. 22-24). ACM, New York, pp. 430-436.]]
[9]
KARLIN,A.R.,MANASSE,M.S.,MCGEOCH,L.A.,AND OWICKI, S. 1994. Competitive randomized algorithms for non-uniform problems. Algorithmica 11, 542-571.]]
[10]
KARLIN,A.R.,MANASSE,M.S.,RUDOLPH, L., AND SLEATOR, D. D. 1988. Competitive snoopy caching. Algorithmica 3, 1, 79-119.]]
[11]
KRISHNAN, P., LONG,P.M.,AND VITTER, J. S. 1999. Adaptive disk spindown via optimal rent-to-buy in probabilistic environments. Algorithmica 23, 1, 31-56.]]
[12]
PAXSON, V. 1997. Measurements and analysis of end-to-end internet dynamics. Ph.D. dissertation. University of California, Berkeley, Calif.]]
[13]
PAXSON, V., AND FLOYD, S. 1995. Wide-area traffic: The failure of Poisson modeling. IEEE/ACM Trans. Netw. 3, 3 (June), 226-244.]]
[14]
SLEATOR, D., AND TARJAN, R. 1985. Amortized efficiency of list update and paging rules. Commun. ACM 28, 2 (Feb.), 202-208.]]
[15]
STEVENS, W. R. 1994. TCP/IP Illustrated, Vol. 1: The Protocols. Addison-Wesley, Reading, Mass.]]
[16]
SUTTON,R.S.,AND BARTO, A. G. 1998. Reinforcement Learning: An Introduction. MIT Press, Cambridge, Mass.]]
[17]
TANENBAUM, A. S. 1996. Computer Networks (Third ed.). Prentice-Hall, Englewood Cliffs, N.J.]]
[18]
UCB/LBNL. 2000. Network simulator-ns. http://www-mash.cs.berkeley.edu/ns/.]]
[19]
WRIGHT,G.R.,AND STEVENS, W. R. 1995. TCP/IP Illustrated, Vol. 2: The Implementation. Addison-Wesley, Reading, Mass.]]
[20]
YEH, T.-H., KUO, C.-M., LEI, C.-L., AND YEN, H.-C. 1998. Competitive analysis of on-line disk scheduling. Theory Comput. Syst. 31, 5, 491-506.]]

Cited By

View all
  • (2025)MPMD on Two Sources with LookaheadComputing and Combinatorics10.1007/978-981-96-1090-7_15(178-189)Online publication date: 5-Mar-2025
  • (2024)Multi-level Aggregation with Delays and Stochastic ArrivalsProceedings of the 23rd International Conference on Autonomous Agents and Multiagent Systems10.5555/3635637.3663166(2378-2380)Online publication date: 6-May-2024
  • (2024)Reverse Engineering Approach to Validate the Implementation of Network Protocols in Operating Systems2024 23rd RoEduNet Conference: Networking in Education and Research (RoEduNet)10.1109/RoEduNet64292.2024.10722254(1-6)Online publication date: 19-Sep-2024
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Journal of the ACM
Journal of the ACM  Volume 48, Issue 2
March 2001
201 pages
ISSN:0004-5411
EISSN:1557-735X
DOI:10.1145/375827
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]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 March 2001
Published in JACM Volume 48, Issue 2

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Internet traffic simulations
  2. Transmission Control Protocol (TCP)
  3. acknowledgment delay problem
  4. competitive analysis
  5. lookahead

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)42
  • Downloads (Last 6 weeks)2
Reflects downloads up to 02 Mar 2025

Other Metrics

Citations

Cited By

View all
  • (2025)MPMD on Two Sources with LookaheadComputing and Combinatorics10.1007/978-981-96-1090-7_15(178-189)Online publication date: 5-Mar-2025
  • (2024)Multi-level Aggregation with Delays and Stochastic ArrivalsProceedings of the 23rd International Conference on Autonomous Agents and Multiagent Systems10.5555/3635637.3663166(2378-2380)Online publication date: 6-May-2024
  • (2024)Reverse Engineering Approach to Validate the Implementation of Network Protocols in Operating Systems2024 23rd RoEduNet Conference: Networking in Education and Research (RoEduNet)10.1109/RoEduNet64292.2024.10722254(1-6)Online publication date: 19-Sep-2024
  • (2022)Approximate counting of standard set-valued tableauxTheoretical Computer Science10.1016/j.tcs.2022.08.010934:C(7-20)Online publication date: 23-Oct-2022
  • (2021)Online Service with DelayACM Transactions on Algorithms10.1145/345992517:3(1-31)Online publication date: 15-Jul-2021
  • (2021)New results on multi-level aggregationTheoretical Computer Science10.1016/j.tcs.2021.02.016861(133-143)Online publication date: Mar-2021
  • (2021)On bin packing with clustering and bin packing with delaysDiscrete Optimization10.1016/j.disopt.2021.10064741:COnline publication date: 1-Aug-2021
  • (2020)Online Algorithms for Multilevel AggregationOperations Research10.1287/opre.2019.184768:1(214-232)Online publication date: 1-Jan-2020
  • (2018)Online Energy Management in IoT ApplicationsIEEE INFOCOM 2018 - IEEE Conference on Computer Communications10.1109/INFOCOM.2018.8486421(1286-1294)Online publication date: Apr-2018
  • (2018)A Match in Time Saves Nine: Deterministic Online Matching with DelaysApproximation and Online Algorithms10.1007/978-3-319-89441-6_11(132-146)Online publication date: 31-Mar-2018
  • Show More Cited By

View Options

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media