netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Dumazet <dada1@cosmosbay.com>
To: Patrick McManus <mcmanus@ducksong.com>
Cc: Netdev@vger.kernel.org
Subject: Re: RFC [PATCH 0/3] TCP_DEFER_ACCEPT updates
Date: Sat, 01 Mar 2008 11:41:19 +0100	[thread overview]
Message-ID: <47C932CF.70203@cosmosbay.com> (raw)
In-Reply-To: <1204076936.15970.33.camel@tng>

Patrick McManus a écrit :
> Hello,
> 
> I have a few patches to try and improve the TCP_DEFER_ACCEPT
> implementation. The first two are simple, the third is ante for a
> discussion on how this should really be implemented.
> 
> Patch 1 : timeout values could not be less than allowed by the max
> syn-recv queue size algorithms. This was not simply a matter of rounding
> up to the next syn-ack retransmit time, it was enforcing at least 5
> retransmits on a non-loaded machine even if the timeout (expressed by
> the API in seconds) was set to 1.
> 
> Patch 2 : a socket that has completed its handshake but which is waiting
> for the first data packet was retransmitting its syn-ack during that
> period. This patch suppresses that transmission.
> 
> Patch 3 : move the connected (and TCP_DEFER'd) socket to ESTABLISHED
> after the handshake, but defer placing it in the accept queue until some
> data arrives. 
> 
> RFC?
> 

I like your patches Patrick :)


      reply	other threads:[~2008-03-01 10:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-27  1:48 RFC [PATCH 0/3] TCP_DEFER_ACCEPT updates Patrick McManus
2008-03-01 10:41 ` Eric Dumazet [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=47C932CF.70203@cosmosbay.com \
    --to=dada1@cosmosbay.com \
    --cc=Netdev@vger.kernel.org \
    --cc=mcmanus@ducksong.com \
    /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).