netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: eric.dumazet@gmail.com
Cc: netdev@vger.kernel.org, daniel@iogearbox.net, fw@strlen.de,
	glenn.judd@morganstanley.com, nanditad@google.com,
	ncardwell@google.com, ycheng@google.com
Subject: Re: [PATCH net-next] codel: add ce_threshold attribute
Date: Sun, 10 May 2015 19:50:57 -0400 (EDT)	[thread overview]
Message-ID: <20150510.195057.467500128068846566.davem@davemloft.net> (raw)
In-Reply-To: <1431122712.22756.43.camel@edumazet-glaptop2.roam.corp.google.com>

From: Eric Dumazet <eric.dumazet@gmail.com>
Date: Fri, 08 May 2015 15:05:12 -0700

> From: Eric Dumazet <edumazet@google.com>
> 
> For DCTCP or similar ECN based deployments on fabrics with shallow
> buffers, hosts are responsible for a good part of the buffering.
> 
> This patch adds an optional ce_threshold to codel & fq_codel qdiscs,
> so that DCTCP can have feedback from queuing in the host.
> 
> A DCTCP enabled egress port simply have a queue occupancy threshold
> above which ECT packets get CE mark.
> 
> In codel language this translates to a sojourn time, so that one doesn't
> have to worry about bytes or bandwidth but delays.
> 
> This makes the host an active participant in the health of the whole
> network.
> 
> This also helps experimenting DCTCP in a setup without DCTCP compliant
> fabric.
> 
> On following example, ce_threshold is set to 1ms, and we can see from
> 'ldelay xxx us' that TCP is not trying to go around the 5ms codel
> target.
> 
> Queue has more capacity to absorb inelastic bursts (say from UDP
> traffic), as queues are maintained to an optimal level.
 ...
> Signed-off-by: Eric Dumazet <edumazet@google.com>

Applied, thanks a lot Eric.

      parent reply	other threads:[~2015-05-10 23:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-08 22:05 [PATCH net-next] codel: add ce_threshold attribute Eric Dumazet
2015-05-09 21:21 ` Daniel Borkmann
2015-05-10  0:23 ` Neal Cardwell
2015-05-10 23:50 ` David Miller [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=20150510.195057.467500128068846566.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=daniel@iogearbox.net \
    --cc=eric.dumazet@gmail.com \
    --cc=fw@strlen.de \
    --cc=glenn.judd@morganstanley.com \
    --cc=nanditad@google.com \
    --cc=ncardwell@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=ycheng@google.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).