From: David Miller <davem@davemloft.net>
To: fw@strlen.de
Cc: netdev@vger.kernel.org
Subject: Re: [net-next 0/6] tcp: remove prequeue and header prediction
Date: Mon, 31 Jul 2017 14:38:07 -0700 (PDT) [thread overview]
Message-ID: <20170731.143807.1921676369334873438.davem@davemloft.net> (raw)
In-Reply-To: <20170730015723.25587-1-fw@strlen.de>
From: Florian Westphal <fw@strlen.de>
Date: Sun, 30 Jul 2017 03:57:17 +0200
> During a hallway discussion with Eric Dumazet at Netdev 1.2 in
> Tokyo some maybe-not-so-useful-anymore TCP stack features came up,
> among these header prediction and prequeueing.
>
> In brief, TCP prequeue assumes a single-process-blocking-read design,
> which is not that common anymore. The most frequently used high-performance
> networking program that is an excellent fit for these features is netperf.
>
> The idea behind prequeueing is to move part of tcp processing, including
> retransmit queue cleaning, to process context.
>
> With (e)poll designs, prequeue is always skipped, so for such programs
> this is dead-code removal.
>
> Header prediction is also less useful nowadays.
> For packet trains, GRO will do packet aggregation so we do not get the
> per-packet benefit that this had before GRO anymore.
>
> Because of SACK, header prediction also will be ineffective once
> a connection suffers even light packet losses.
>
> code removal aside, after this change processing always occurs in BH
> context, this allows to experiment e.g. with doing bulk freeing of
> skb heads when incoming ACKs clean packets from the retransmit queue.
>
> There are no changes since the RFC, except in last patch (i missed
> another no-longer-used mib counter). I also edited a few commit messages.
Series applied, thanks a lot for doing this.
prev parent reply other threads:[~2017-07-31 21:38 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-30 1:57 [net-next 0/6] tcp: remove prequeue and header prediction Florian Westphal
2017-07-30 1:57 ` [PATCH net-next 1/6] tcp: remove prequeue support Florian Westphal
2017-07-30 1:57 ` [PATCH net-next 2/6] tcp: reindent two spots after prequeue removal Florian Westphal
2017-07-30 1:57 ` [PATCH net-next 3/6] tcp: remove low_latency sysctl Florian Westphal
2017-07-30 1:57 ` [PATCH net-next 4/6] tcp: remove header prediction Florian Westphal
2017-08-01 17:23 ` Neal Cardwell
2017-07-30 1:57 ` [PATCH net-next 5/6] tcp: remove CA_ACK_SLOWPATH Florian Westphal
2017-07-30 1:57 ` [PATCH net-next 6/6] tcp: remove unused mib counters Florian Westphal
2017-07-31 21:38 ` 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=20170731.143807.1921676369334873438.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=fw@strlen.de \
--cc=netdev@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;
as well as URLs for NNTP newsgroup(s).