Two-way TCP Connections: Old Problem, New Insight - Archive ouverte HAL Access content directly
Journal Articles Computer Communication Review Year : 2011

Two-way TCP Connections: Old Problem, New Insight

Martin Heusse
Sears A. Merritt
  • Function : Author
  • PersonId : 951618
Timothy X. Brown
  • Function : Author
  • PersonId : 951619
Andrzej Duda


Many papers explain the drop of download performance when two TCP connections in opposite directions share a common bottleneck link by ACK compression, the phenomenon in which download ACKs arrive in bursts so that TCP self clocking breaks. Efficient mechanisms to cope with the performance problem exist and we do not consider proposing yet another solution. We rather thoroughly analyze the interactions between connections and show that actually ACK compression only arises in a perfectly symmetrical setup and it has little impact on performance. We provide a different explanation of the interactions---data pendulum, a core phenomenon that we analyze in this paper. In the data pendulum effect, data and ACK segments alternately fill only one of the link buffers (on the upload or download side) at a time, but almost never both of them. We analyze the effect in the case in which buffers are structured as arrays of bytes and derive an expression for the ratio between the download and upload throughput. Simulation results and measurements confirm our analysis and show how appropriate buffer sizing alleviates performance degradation. We also consider the case of buffers structured as arrays of packets and show that it amplifies the effects of data pendulum.


No file

Dates and versions

hal-00930963 , version 1 (27-01-2014)



Martin Heusse, Sears A. Merritt, Timothy X. Brown, Andrzej Duda. Two-way TCP Connections: Old Problem, New Insight. Computer Communication Review, 2011, 41 (2), pp.6-15. ⟨10.1145/1971162.1971164⟩. ⟨hal-00930963⟩
77 View
0 Download



Gmail Facebook X LinkedIn More