From: Arnd Bergmann <arnd@arndb.de>
To: virtualization@lists.linux-foundation.org
Cc: Leonid Grossman <Leonid.Grossman@neterion.com>, qemu-devel@nongnu.org
Subject: Re: Guest bridge setup variations
Date: Wed, 16 Dec 2009 15:15:32 +0100 [thread overview]
Message-ID: <200912161515.32820.arnd@arndb.de> (raw)
In-Reply-To: <78C9135A3D2ECE4B8162EBDCE82CAD7705FDEEDA@nekter>
On Wednesday 16 December 2009, Leonid Grossman wrote:
> > > 3. Doing the bridging in the NIC using macvlan in passthrough
> > > mode. This lowers the CPU utilization further compared to 2,
> > > at the expense of limiting throughput by the performance of
> > > the PCIe interconnect to the adapter. Whether or not this
> > > is a win is workload dependent.
>
> This is certainly true today for pci-e 1.1 and 2.0 devices, but
> as NICs move to pci-e 3.0 (while remaining almost exclusively dual port
> 10GbE for a long while),
> EVB internal bandwidth will significantly exceed external bandwidth.
> So, #3 can become a win for most inter-guest workloads.
Right, it's also hardware dependent, but it usually comes down
to whether it's cheaper to spend CPU cycles or to spend IO bandwidth.
I would be surprised if all future machines with PCIe 3.0 suddenly have
a huge surplus of bandwidth but no CPU to keep up with that.
> > > Access controls now happen
> > > in the NIC. Currently, this is not supported yet, due to lack of
> > > device drivers, but it will be an important scenario in the future
> > > according to some people.
>
> Actually, x3100 10GbE drivers support this today via sysfs interface to
> the host driver
> that can choose to control VEB tables (and therefore MAC addresses, vlan
> memberships, etc. for all passthru interfaces behind the VEB).
Ok, I didn't know about that.
> OF course a more generic vendor-independent interface will be important
> in the future.
Right. I hope we can come up with something soon. I'll have a look at
what your driver does and see if that can be abstracted in some way.
I expect that if we can find an interface between the kernel and device
driver for two or three NIC implementations that it will be good enough
to adapt to everyone else as well.
Arnd
next prev parent reply other threads:[~2009-12-16 14:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <78C9135A3D2ECE4B8162EBDCE82CAD7705FDEDCF@nekter>
2009-12-16 0:55 ` Guest bridge setup variations Leonid Grossman
2009-12-16 14:15 ` Arnd Bergmann [this message]
2009-12-17 6:18 ` Leonid Grossman
2009-12-08 16:07 Arnd Bergmann
2009-12-10 12:26 ` Fischer, Anna
2009-12-10 14:18 ` Arnd Bergmann
2009-12-10 19:14 ` Alexander Graf
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=200912161515.32820.arnd@arndb.de \
--to=arnd@arndb.de \
--cc=Leonid.Grossman@neterion.com \
--cc=qemu-devel@nongnu.org \
--cc=virtualization@lists.linux-foundation.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).