netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: woodard@redhat.com
Cc: netdev@vger.kernel.org, mgrondona@llnl.gov, behlendorf1@llnl.gov
Subject: Re: [PATCH] Customizable TCP backoff patch
Date: Wed, 27 Sep 2006 16:16:38 -0700 (PDT)	[thread overview]
Message-ID: <20060927.161638.62343616.davem@davemloft.net> (raw)
In-Reply-To: <451AC889.5000407@redhat.com>

From: Ben Woodard <woodard@redhat.com>
Date: Wed, 27 Sep 2006 11:52:57 -0700

> Because these are general utility clusters we run many different 
> programs and so trying to fix this problem in the application is not 
> possible since there are literally hundreds if not thousands of them.

Then why add a socket option setting as your patch does? :-)

I also object to the socket option setting being allowed for
any user because this can have awful effects if allowed by
arbitrary users on arbitrary networks.

> We're more than willing to consider other approaches to handling this
> particular workload better.  We've even considered that TCP isn't at all 
> the right protocol but this affects several protocols including NFS and 
> the benefits of running NFS over TCP are too great.
> 
> The original patch was prepared by Brian Behlendorf. He asked me to 
> adapt it for current kernels keep it up to date and send upstream.
> 
> This may also help people like Andrew Athan which reported a similar 
> problem a couple of days ago on the linux-net mailing list: 
> http://www.uwsg.iu.edu/hypermail/linux/net/0609.3/0005.html I suspect 
> that it is more common a case than is widely recognized.
> 
> Signed-off-by: Ben Woodard <woodard@redhat.com>
> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>

Other issues:

1) 2 "u32" in the tcp_sock is a lot of space to devote to this
   new state.  If it can fit in 2 "u16"'s or even less space,
   please use that.

2) the expression "(tp->foo ? : sysctl_foo)" is repeated many times
   in the patch, please encapsulate it into an inline function
   or similar

I'm still torn on the fundamental issues of this patch.  I think
random backoff is a better generic solution to this kind of problem.
If it works for ethernet, it might just work for TCP too :-)

Thanks.

  reply	other threads:[~2006-09-27 23:16 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-27 18:52 [PATCH] Customizable TCP backoff patch Ben Woodard
2006-09-27 23:16 ` David Miller [this message]
2006-09-27 23:00   ` Stephen Hemminger
2006-09-28  2:06     ` David Miller
2006-10-03 18:14   ` Ben Woodard
2006-10-04  7:07     ` David Miller
2006-10-04  8:56       ` Ingo Oeser
2006-10-04  9:08         ` David Miller
2006-10-04 17:17       ` Stephen Hemminger
2006-10-11  1:46       ` Ben Woodard
2006-10-11  1:59         ` YOSHIFUJI Hideaki / 吉藤英明
2006-10-11  2:53         ` David Miller
2006-10-11  2:54         ` David Miller
2006-10-11 14:01         ` Vlad Yasevich
2006-10-12  0:51           ` Ben Woodard
2006-10-12  1:06             ` YOSHIFUJI Hideaki / 吉藤英明
2006-10-12 15:49               ` Ben Woodard

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=20060927.161638.62343616.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=behlendorf1@llnl.gov \
    --cc=mgrondona@llnl.gov \
    --cc=netdev@vger.kernel.org \
    --cc=woodard@redhat.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).