public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: David Miller <davem@davemloft.net>
Cc: cristiklein@gmail.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tcp: add setsockopt to disable slow start after idle
Date: Sun, 11 Apr 2010 22:48:19 +0200	[thread overview]
Message-ID: <87hbnhbtrg.fsf@basil.nowhere.org> (raw)
In-Reply-To: <20100409.221307.246951787.davem@davemloft.net> (David Miller's message of "Fri, 09 Apr 2010 22:13:07 -0700 (PDT)")

David Miller <davem@davemloft.net> writes:
>
> It is a very dangerous option to enable, and depends deeply
> upon the characteristics of your network and the paths by
> which remote hosts are reached.
>
> Therefore, only the system administrator can determine whether it is
> safe to enable this, and that's why it can only be changed via sysctl.
> Lettting arbitrary applications change this aspect of TCP is beyond
> dangerous.
>
> I will not be applying this patch.

It should be safe as long as you don't have any packet loss (which
means the network can take it). Or I am missing something?

So perhaps allow it, but force disable it on the first retransmit?

There could be still some over subscription in the first window,
but hopefully not too bad.

Ok it could be still gamed by opening lots of sockets, but that
problem is there anyways.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.

  parent reply	other threads:[~2010-04-11 20:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-10  1:30 [PATCH] tcp: add setsockopt to disable slow start after idle Cristian KLEIN
2010-04-10  5:13 ` David Miller
2010-04-10  5:15   ` David Miller
2010-04-10 12:09   ` Cristian KLEIN
2010-04-10 22:47     ` David Miller
2010-04-11 18:45       ` Cristian KLEIN
2010-04-11 20:18         ` David Miller
2010-04-11 20:48   ` Andi Kleen [this message]
2010-04-11 21:41     ` David Miller

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=87hbnhbtrg.fsf@basil.nowhere.org \
    --to=andi@firstfloor.org \
    --cc=cristiklein@gmail.com \
    --cc=davem@davemloft.net \
    --cc=linux-kernel@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