RE: Question regarding TCP behavior

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Thursday, May 29, 2008 - 12:56 pm

> Greetings.

If the TCP connection was idle and there is no unacknowledged data in either
direction, the answer is neither.

Acknowledging the data immediately is wasteful. There's a very good chance
another packet is right behind this one and delaying the acknowledgement
would save a packet.

Waiting for upper layers is disastrous, it could result in the other end
timing out and retransmitting and would limit the end of slow start based on
user-space speeds.

Google "delayed ACK".
http://www.freesoft.org/CIE/RFC/1122/110.htm

DS


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Question regarding TCP behavior, Adayadil Thomas, (Thu May 29, 11:29 am)
RE: Question regarding TCP behavior, David Schwartz, (Thu May 29, 12:56 pm)
RE: Question regarding TCP behavior, Jan Engelhardt, (Sun Jun 1, 2:50 pm)