* tcp_reordering as 0 possible?
@ 2010-03-15 14:25 raj ravi
2010-03-17 11:38 ` Ilpo Järvinen
0 siblings, 1 reply; 3+ messages in thread
From: raj ravi @ 2010-03-15 14:25 UTC (permalink / raw)
To: netdev
Hi,
what is the behaviour in TCP stack if I set tcp_reordering as 0.
So , sender will start retransmission without waiting for any duplicate ACK ?
/proc/sys/net/ipv4/tcp_reordering - Please clarify.
The default value is 3 which means it waits until 3 duplicate ack's
arrive and then start retransmission.
"The TCP sender should use the fast retransmit algorithm to detect and
repair loss based on incoming duplicate ACKs. After the arrival of 3
duplicate ACKs (4 identical ACKs without the arrival of any other
intervening packet), TCP performs a retransmission of what appears to
be the missing segment, without waiting for the retransmission timer
to expire."
Thanks!
Kavi
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tcp_reordering as 0 possible?
2010-03-15 14:25 tcp_reordering as 0 possible? raj ravi
@ 2010-03-17 11:38 ` Ilpo Järvinen
2010-03-17 12:23 ` raj ravi
0 siblings, 1 reply; 3+ messages in thread
From: Ilpo Järvinen @ 2010-03-17 11:38 UTC (permalink / raw)
To: raj ravi; +Cc: netdev
On Mon, 15 Mar 2010, raj ravi wrote:
> what is the behaviour in TCP stack if I set tcp_reordering as 0.
> So , sender will start retransmission without waiting for any duplicate ACK ?
> /proc/sys/net/ipv4/tcp_reordering - Please clarify.
> The default value is 3 which means it waits until 3 duplicate ack's
> arrive and then start retransmission.
>
> "The TCP sender should use the fast retransmit algorithm to detect and
> repair loss based on incoming duplicate ACKs. After the arrival of 3
> duplicate ACKs (4 identical ACKs without the arrival of any other
> intervening packet), TCP performs a retransmission of what appears to
> be the missing segment, without waiting for the retransmission timer
> to expire."
Depends on other things quite much but for a typical transfer you'd still
need one duplicate ACK to trigger actual recovery. However, in general
root is not (always) forbidden to set non-sensical values for sysctls.
--
i.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: tcp_reordering as 0 possible?
2010-03-17 11:38 ` Ilpo Järvinen
@ 2010-03-17 12:23 ` raj ravi
0 siblings, 0 replies; 3+ messages in thread
From: raj ravi @ 2010-03-17 12:23 UTC (permalink / raw)
To: netdev; +Cc: Ilpo Järvinen
On Wed, Mar 17, 2010 at 5:08 PM, Ilpo Järvinen
<ilpo.jarvinen@helsinki.fi> wrote:
> On Mon, 15 Mar 2010, raj ravi wrote:
>
>> what is the behaviour in TCP stack if I set tcp_reordering as 0.
>> So , sender will start retransmission without waiting for any duplicate ACK ?
>> /proc/sys/net/ipv4/tcp_reordering - Please clarify.
>> The default value is 3 which means it waits until 3 duplicate ack's
>> arrive and then start retransmission.
>>
>> "The TCP sender should use the fast retransmit algorithm to detect and
>> repair loss based on incoming duplicate ACKs. After the arrival of 3
>> duplicate ACKs (4 identical ACKs without the arrival of any other
>> intervening packet), TCP performs a retransmission of what appears to
>> be the missing segment, without waiting for the retransmission timer
>> to expire."
>
> Depends on other things quite much but for a typical transfer you'd still
> need one duplicate ACK to trigger actual recovery. However, in general
> root is not (always) forbidden to set non-sensical values for sysctls.
>
> --
> i.
>
Hmm....Is that mean setting the value as 0 is non-sensical ?
OR
After setting the value as 0, TCP Stack doesn't expect any drops to
occur, so that there won't be any recovery required and if any drops
occur it leads to chaos from application point of view as it expects
all the packets ...correct?
Actually I set the value as 0 and tried running firefox with few URLs
...but my machine Crashed !
I think this is expected as This lead to chaos in the stack...
But If the same value is tried between two machines connected
together directly running iperf , There wont be any issues.
Thx,
Kavi
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-17 12:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 14:25 tcp_reordering as 0 possible? raj ravi
2010-03-17 11:38 ` Ilpo Järvinen
2010-03-17 12:23 ` raj ravi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).