qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] idea: non-ethernet paravirtual network device


From: Hannes Reinecke
Subject: Re: [Qemu-devel] idea: non-ethernet paravirtual network device
Date: Tue, 26 Jul 2011 12:23:58 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8

On 07/26/2011 08:04 AM, Stefan Hajnoczi wrote:
On Mon, Jul 25, 2011 at 4:53 PM, Sassan Panahinejad<address@hidden>  wrote:
Here's a thought, could we improve network performance by creating a
paravirtual network device which doesn't emulate ethernet? It shouldn't be
too hard to just whack IP packets pretty much directly over a virtio link.
This should improve performance when using a "user" host connection and we
could introduce a tun host connection instead of tap for this setup.

Does anyone have any thoughts on how worthwhile this would be? Would the
performance improvement justify the effort involved?

My guess is no noticable impact (if you ignore ARP requests).

The Ethernet header is only 14 bytes or so.  We don't calculate any
checksums at that level.  There's probably not much of a win.

Only lots of pain to be had.
Mainframe used to do this. But abandoned it not, thankfully.

Problem is that you need to patch each and every tool looking at the packets to _not_ expecting an Ethernet header.
And patching up DHCP is _not_ trivial.

Cheers,

Hannes
--
Dr. Hannes Reinecke                   zSeries & Storage
address@hidden                        +49 911 74053 688
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: J. Hawn, J. Guild, F. Imendörffer, HRB 16746 (AG Nürnberg)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]