From: Tristan Gingold <tgingold@free.fr>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: tgingold@free.fr, xen-devel@lists.xensource.com,
Mark Williamson <mark.williamson@cl.cam.ac.uk>
Subject: Re: Re: Improving hvm IO performance by using self IO emulator (YA io-emu?)
Date: Sat, 24 Feb 2007 07:17:47 +0100 [thread overview]
Message-ID: <20070224061747.GC2508@saphi> (raw)
In-Reply-To: <45DE0C21.20605@us.ibm.com>
On Thu, Feb 22, 2007 at 03:33:21PM -0600, Anthony Liguori wrote:
> Mark Williamson wrote:
[...]
> >Mmmm. It's not like the guest can break security if it tampers with the
> >device models in its own memory space.
> >
> >Question: how does this compare with using a "stub domain" to run the
> >device models? The previous proposed approach was to automatically switch
> >to the stub domain on trapping an IO by the HVM guest, and have that stub
> >domain run the device models, etc.
> >
>
> Reflecting is a bit more expensive than doing a stub domain. There is
> no way to wire up the VMEXITs to go directly into the guest so you're
> always going to have to pay the cost of going from guest => host =>
> guest => host => guest for every PIO. The guest is incapable of
> reenabling PG on its own hence the extra host => guest transition.
>
> Compare to stub domain where, if done correctly, you can go from guest
> => host/0 => host/3 => host/0 => guest. The question would be, is
> host/0 => host/3 => host/0 fundamentally faster than host => guest => host.
>
> I know that guest => host => guest typically costs *at least* 1000 nsecs
> on SVM. A null sysenter syscall (that's host/3 => host/0 => host/3) is
> roughly 75 nsecs.
>
> So my expectation is that stub domain can actually be made to be faster
> than reflecting.
Ok. Unfortunatly I don't have the figures for ia64.
With the firmware approach strictly speaking we don't need to reenter into the
guest mode during the reflection. That would be very like stub-domain.
[I really have to look on stub-domain implementation if there is such one].
Tristan.
next prev parent reply other threads:[~2007-02-24 6:17 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-22 5:23 Improving hvm IO performance by using self IO emulator (YA io-emu?) Tristan Gingold
2007-02-22 7:59 ` Keir Fraser
2007-02-22 9:33 ` tgingold
2007-02-22 10:23 ` Keir Fraser
2007-02-22 10:34 ` Improving hvm IO performance by using self IO emulator(YA io-emu?) Guy Zana
2007-02-22 16:06 ` Improving hvm IO performance by using self IO emulator (YA io-emu?) Anthony Liguori
2007-02-22 20:58 ` tgingold
2007-02-22 21:23 ` Anthony Liguori
2007-02-22 21:41 ` Mark Williamson
2007-02-24 6:19 ` Tristan Gingold
2007-02-24 6:07 ` Tristan Gingold
2007-02-22 21:24 ` Mark Williamson
2007-02-22 21:33 ` Anthony Liguori
2007-02-23 0:15 ` Mark Williamson
2007-02-23 0:26 ` Alan
2007-02-23 0:12 ` Anthony Liguori
2007-02-23 12:57 ` Alan
2007-02-23 18:56 ` Anthony Liguori
2007-02-24 6:17 ` Tristan Gingold [this message]
2007-02-23 0:32 ` Alan
2007-02-24 6:12 ` Tristan Gingold
2007-02-27 12:14 ` Mark Williamson
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=20070224061747.GC2508@saphi \
--to=tgingold@free.fr \
--cc=aliguori@us.ibm.com \
--cc=mark.williamson@cl.cam.ac.uk \
--cc=xen-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.