netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: raj ravi <mekaviraj@gmail.com>
To: netdev@vger.kernel.org
Cc: "Ilpo Järvinen" <ilpo.jarvinen@helsinki.fi>
Subject: Re: tcp_reordering as 0 possible?
Date: Wed, 17 Mar 2010 17:53:43 +0530	[thread overview]
Message-ID: <de0a9dcb1003170523v104ec57bs6ab31161c75131f1@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1003171333250.19416@melkinpaasi.cs.helsinki.fi>

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

      reply	other threads:[~2010-03-17 12:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=de0a9dcb1003170523v104ec57bs6ab31161c75131f1@mail.gmail.com \
    --to=mekaviraj@gmail.com \
    --cc=ilpo.jarvinen@helsinki.fi \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).