linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lawrence Brakmo <brakmo@fb.com>
To: "Tilmans,
	Olivier (Nokia - BE/Antwerp)" 
	<olivier.tilmans@nokia-bell-labs.com>,
	David Miller <davem@davemloft.net>
Cc: "De Schepper,
	Koen (Nokia - BE/Antwerp)" 
	<koen.de_schepper@nokia-bell-labs.com>,
	"research@bobbriscoe.net" <research@bobbriscoe.net>,
	"fw@strlen.de" <fw@strlen.de>,
	"borkmann@iogearbox.net" <borkmann@iogearbox.net>,
	"ycheng@google.com" <ycheng@google.com>,
	"ncardwell@google.com" <ncardwell@google.com>,
	"edumazet@google.com" <edumazet@google.com>,
	"agshew@gmail.com" <agshew@gmail.com>,
	"glenn.judd@morganstanley.com" <glenn.judd@morganstanley.com>,
	"kuznet@ms2.inr.ac.ru" <kuznet@ms2.inr.ac.ru>,
	"yoshfuji@linux-ipv6.org" <yoshfuji@linux-ipv6.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH net-next v2] tcp: Ensure DCTCP reacts to losses
Date: Thu, 4 Apr 2019 18:55:18 +0000	[thread overview]
Message-ID: <75CDFF88-5632-4A44-A2BF-5725CDDE7DCA@fb.com> (raw)
In-Reply-To: <AM6PR07MB4821BB64AF86A1A650C95000E0500@AM6PR07MB4821.eurprd07.prod.outlook.com>


On 4/4/19, 11:39 AM, "Tilmans, Olivier (Nokia - BE/Antwerp)" <olivier.tilmans@nokia-bell-labs.com> wrote:

    > DCTCP is meant to be used in environments where the switches/routers do
    > ECN marking, so it is not surprising that it performs badly when used in
    > environments where it was not meant to be used. Has anyone measured the
    > effect of this changed when DCTCP is used in environments where all the
    > switches/routers do ECN marking? My concern is that we could end up
    > hurting performance when DCTCP is used how it was meant to be used in
    > order to protect incorrect uses of DCTCP.
    
    The results reported are indeed from a non-optimal setting, and mostly to
    show that it was ignoring losses. In practice, we only use DCTCP on 
    ECN-enabled AQMs, and rarely see the loss reaction (e.g., a burst of new flows
    IW that congest the ToR switch, in which case I'd argue the behavior is
    beneficial). I cannot estimate the impact on FB's workloads though.
    
In some of our environments we do see packet losses at high workloads with DCTCP.
My concern is that I have no idea whether this change will be beneficial or
harmful in those environments.

    I had originally put a module parameter to make this loss reaction behavior
    optional, mostly to enable people to check first whether it was safe to use 
    with their configuration. In hindsight, I should have waited a bit more
    before submitting the v2 with its removal as requested.
    
The module parameter, even if enabled by default, would have been
preferable since it would support environments where this feature
turned out to be sub-optimal.
    
    Olivier
    


  reply	other threads:[~2019-04-04 18:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-04 12:24 [PATCH net-next v2] tcp: Ensure DCTCP reacts to losses Tilmans, Olivier (Nokia - BE/Antwerp)
2019-04-04 13:17 ` Florian Westphal
2019-04-04 13:48 ` Neal Cardwell
2019-04-04 13:55   ` Neal Cardwell
2019-04-04 13:59     ` Daniel Borkmann
2019-04-04 17:52 ` David Miller
2019-04-04 18:10   ` Lawrence Brakmo
2019-04-04 18:39     ` Tilmans, Olivier (Nokia - BE/Antwerp)
2019-04-04 18:55       ` Lawrence Brakmo [this message]
2019-04-05  9:23         ` Eric Dumazet

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=75CDFF88-5632-4A44-A2BF-5725CDDE7DCA@fb.com \
    --to=brakmo@fb.com \
    --cc=agshew@gmail.com \
    --cc=borkmann@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=fw@strlen.de \
    --cc=glenn.judd@morganstanley.com \
    --cc=koen.de_schepper@nokia-bell-labs.com \
    --cc=kuznet@ms2.inr.ac.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ncardwell@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=olivier.tilmans@nokia-bell-labs.com \
    --cc=research@bobbriscoe.net \
    --cc=ycheng@google.com \
    --cc=yoshfuji@linux-ipv6.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).