All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Ahern <dsahern@gmail.com>
To: Jesper Dangaard Brouer <brouer@redhat.com>,
	"xdp-newbies@vger.kernel.org" <xdp-newbies@vger.kernel.org>
Cc: David Ahern <dsahern@kernel.org>, Anton Protopopov <aspsk2@gmail.com>
Subject: Re: Using XDP for Cloud VMs by David Ahern
Date: Fri, 21 Aug 2020 17:37:40 -0600	[thread overview]
Message-ID: <20e8f763-e88c-a65d-50de-486609454acd@gmail.com> (raw)
In-Reply-To: <20200821115614.40fa7eb0@carbon>

On 8/21/20 3:56 AM, Jesper Dangaard Brouer wrote:
> Hi XDP-newbies and cloud-providers,
> 
> I want to promote the recent excellent work by David Ahern (maintainer of
> several kernel networking components). Ahern explains in detail how to use
> XDP for lowering CPU usage (and increasing performance) on the host machine
> running the Cloud VMs.  Making it more efficient for a cloud provider.
> 
> Ahern is explaining and calling for collaboration at many levels. (Note
> [xxx] brackets indicate link below). His [Talk#1] at NetDevConf have not
> been released on [YouTube] yet, but [Slides] are available. In [Blogpost#2]
> you can see the results for XDP vs OVS, and to understand how CPU-overhead
> is measured read [Blogpost#1]. He have even released the [Code] on GitHub,
> and encourage people to reproduce his results.
> 
> I encourage other cloud providers to collaborate with Ahern. XDP is a core
> kernel building block, but we need to create FOSS projects that explore
> different use-case (e.g xdp-cloud-provider). XDP is still early days, and as
> Ahern already discovered, trying out this Cloud-VMs use-case have identified
> several gotchas and missing XDP features that we should work on
> adding/fixing in upstream kernels.
> 

Hi Jesper:

Thanks for bringing this to xdp-newbies. I would definitely welcome
others to get involved. I had high hopes that this use case would fall
out of zabiplane work, but that project died.

Right now the code is integrated into in my repo for my convenience as I
move between hosts and VMs. If / when others get involved, I am open to
moving the code for the cloud host use case to another repo (under
xdp-project/xdp-cloud-provider?) and setting up lists similar to what
you have for xdp-project as a whole. I also have other code in a private
repository that I can pull over as well — e.g., handling decap of vxlan
packets to get the inner packet to do the forwarding lookup. It is best
used with hardware hints which can mark vxlan packets to limit the overhead.

We really need to get the hardware hints code committed it is key to
making this use case a reality.

  reply	other threads:[~2020-08-21 23:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-21  9:56 Using XDP for Cloud VMs by David Ahern Jesper Dangaard Brouer
2020-08-21 23:37 ` David Ahern [this message]
2020-08-25  0:14 ` Stephen Hemminger
2020-08-25  0:34   ` David Ahern

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=20e8f763-e88c-a65d-50de-486609454acd@gmail.com \
    --to=dsahern@gmail.com \
    --cc=aspsk2@gmail.com \
    --cc=brouer@redhat.com \
    --cc=dsahern@kernel.org \
    --cc=xdp-newbies@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 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.