All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Tom Herbert <therbert@google.com>
Cc: David Miller <davem@davemloft.net>,
	Linux Netdev List <netdev@vger.kernel.org>
Subject: Re: [PATCH net-next 1/2] udp: UDP Fast Port
Date: Wed, 06 Aug 2014 17:41:03 +0200	[thread overview]
Message-ID: <1407339663.11943.15.camel@edumazet-glaptop2.roam.corp.google.com> (raw)
In-Reply-To: <CA+mtBx_kXTU8Dyn-bR8W2EnrZqU8Rp-2MeP2R2nv3L67aoh==Q@mail.gmail.com>

On Tue, 2014-07-29 at 16:21 -0700, Tom Herbert wrote:

> We still need a context to do the decap though. If we were able to use
> the socket only with rcu and without taking a reference we could just
> call encap_rcv directly from the lookup. I suppose it might be
> plausible to have socket point to another context data structure which
> could be accessed with just rcu protection...

I'll work on UDP stack to get rid of SLAB_DESTROY_BY_RCU, to avoid
refcount atomic ops, and make receiver side faster.

1) UDP sockets are way smaller than TCP ones.

2) Applications wanting fast UDP communications do not
allocate/deallocate sockets for short amount of time.

(netperf has -t TCP_CRR , but no UDP_CRR for example)

      reply	other threads:[~2014-08-06 15:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-26 22:29 [PATCH net-next 1/2] udp: UDP Fast Port Tom Herbert
2014-07-28 14:20 ` Eric Dumazet
2014-07-29 22:29   ` David Miller
2014-07-29 23:21     ` Tom Herbert
2014-08-06 15:41       ` Eric Dumazet [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=1407339663.11943.15.camel@edumazet-glaptop2.roam.corp.google.com \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    --cc=therbert@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.