From: Steve Ofsthun <sofsthun@virtualiron.com>
To: Chris Wright <chrisw@sous-sol.org>
Cc: xen-devel <xen-devel@lists.xensource.com>,
Hollis Blanchard <hollisb@us.ibm.com>,
xen-ppc-devel <xen-ppc-devel@lists.xensource.com>
Subject: Re: [rfc] [patch] more 'long' in the hypervisor interface
Date: Thu, 29 Jun 2006 13:55:51 -0400 [thread overview]
Message-ID: <44A41427.2020904@virtualiron.com> (raw)
In-Reply-To: <20060629170203.GU11588@sequoia.sous-sol.org>
Chris Wright wrote:
> * Steve Ofsthun (sofsthun@virtualiron.com) wrote:
>
>>For HVM guests, the ABI is less established. I'm not sure anyone but us
>>(Virtual Iron), is doing much with hypercalls from HVM guests. We are
>>currently running paravirtualized drivers in HVM guests. As the code
>>matures, we will be posting these patches.
>
>
> Look forward to seeing that.
So am I! ;)
>>We have had to deal with issues separate from the mechanical ABI issues.
>>For example, grant table transfers (used by the standard netfront/netback)
>>don't play well with QEMU's one time direct map of the entire HVM guest
>>address space.
>
>
> What did you do here? Specifically, how much does the PV driver in HVM
> guest diverge from normal PV guest? This will effect merging this code
> into Linux which is why I care.
We changed the netfront/netback to stop using grant table transfers. As
an alternative, we preallocate receive buffers in netfront and pass them
as grant references to netback. As netback receives new packets, the
preallocated pool of buffers are dynamically mapped and data is copied in.
This additional data copy is probably unacceptable for PV guests. We
are just starting to analyze the performance impact.
Two alternatives to this approach are available in the longer term. One
is to create a new high performance device model in QEMU that reduces the
per packet cost of the emulated NIC. There has been discussion about this,
but I am not aware of any actual work in progress. Another approach is
to retain the existing PV network driver and fix the inconsistencies between
QEMU guest mappings and grant table transfer operations.
Steve
--
Steve Ofsthun - Virtual Iron Software, Inc.
next prev parent reply other threads:[~2006-06-29 17:55 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-28 21:03 [rfc] [patch] more 'long' in the hypervisor interface Hollis Blanchard
2006-06-28 21:02 ` Keir Fraser
2006-06-28 21:19 ` Hollis Blanchard
2006-06-28 21:09 ` Chris Wright
2006-06-28 21:21 ` Hollis Blanchard
2006-06-28 21:36 ` Chris Wright
2006-06-28 21:58 ` Hollis Blanchard
2006-06-28 22:42 ` [RFC] Erratic mouse in HVM guest Ross Maxfield
2006-06-28 23:05 ` [rfc] [patch] more 'long' in the hypervisor interface Chris Wright
2006-06-29 14:37 ` Steve Ofsthun
2006-06-29 17:02 ` Chris Wright
2006-06-29 17:55 ` Steve Ofsthun [this message]
2006-06-29 18:14 ` Hollis Blanchard
2006-06-29 21:04 ` Steve Ofsthun
2006-06-28 21:10 ` Hollis Blanchard
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=44A41427.2020904@virtualiron.com \
--to=sofsthun@virtualiron.com \
--cc=chrisw@sous-sol.org \
--cc=hollisb@us.ibm.com \
--cc=xen-devel@lists.xensource.com \
--cc=xen-ppc-devel@lists.xensource.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.