From: Jacob Gorm Hansen <jacobg@diku.dk>
To: Steven Hand <Steven.Hand@cl.cam.ac.uk>
Cc: Xen-devel@lists.sourceforge.net
Subject: Re: Xen as a kernel module
Date: Wed, 26 Jan 2005 15:19:26 -0800 [thread overview]
Message-ID: <41F8257E.608@diku.dk> (raw)
In-Reply-To: <E1Ctijw-0004J6-00@mta1.cl.cam.ac.uk>
Steven Hand wrote:
> Maybe - I guess it depends on what you mean. If you have:
>
> [ VM1 ] [ VM2 ] .... [ VMN ]
>
> [ new type II version of Xen ]
>
> [ linux kernel ]
>
> [ hardware ]
Sorry if this came out sounding as a bit of a troll, anyway, my
suggested setup would look like this:
[ VM1 ] [ VM2 ] .... [ VMN ]
[ Xen + linux kernel ]
[ hardware ]
> then you require a way for VMx to communicate the new Xen thing,
> which then needs to syscall into the linux kernel. I'm not sure
> what VMx<->Xen comms would look like, or how it would perform. If
> you retain safety it seems like you might end up with the performance
> of UML, which if you go for 'high performance' then you may need to
> turn off the safety catch.
Right now Xen is mapped somewhere in top of memory, I am not sure how
domains are kept out of there, but I suppose it has to do with segments.
The good thing about that is that hypercalls are cheap, and in Xen1.x
I/O was cheap as well.
My suggestion/question was a) why don't we just put a full Linux up
there, including drivers, and b) can we provide the Xen hypercall
interface on top of other OSes as well?
> How did you see this working?
For Linux, I would relocate it to the top X megs of memory, and I would
merge the Xen and Linux syscall handlers, essentially supporting two
process models under the same OS. I would not map all of memory to
Linux, just the pages it needs for its own stuff. For a driver OS, this
would be fine, if you want to run applications as well there would be a
tradeoff between how much you map to Linux and how much to Xen domains.
> What aspects of performance under Xen are you finding unacceptable?
I generally find performance acceptable, but as I said there are cases
where there appears to be some friction against the goals of Xen (driver
isolation) and the goals of the application (throughput, low latency).
> Well isolation (both security and performance) are two explicit
> design goals of Xen. If you want to have the illusion of multiple
> kernels without these properties, you can use linux vservers or
> BSD jail.
I would argue that you could get the same level of isolation (except
from driver isolation) if you merge the two, while achieving the same IO
performance as the monolithic model, and still be able to reuse existing
driver code.
>>I imagine this could be done in a way that would also work under other
>>host-OSes, like *BSD or Windows.
>
>
> Again, I'm not sure how much code-base similarity there would be with
> either current Xen or the type-II variant that you propose above.
It would still be interesting to reuse existing Xen guestOS ports on top
of different hypervisor implementations.
Jacob
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
next prev parent reply other threads:[~2005-01-26 23:19 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-26 1:24 Xen as a kernel module Jacob Gorm Hansen
2005-01-26 1:32 ` Kip Macy
2005-01-26 1:59 ` Jacob Gorm Hansen
2005-01-26 4:30 ` Ronald G. Minnich
2005-01-26 8:41 ` Steven Hand
2005-01-26 23:19 ` Jacob Gorm Hansen [this message]
2005-01-27 15:05 ` Tobias Hunger
2005-01-28 18:32 ` Mark Williamson
2005-01-28 20:09 ` Jacob Gorm Hansen
2005-01-27 13:30 ` Mark Williamson
-- strict thread matches above, loose matches on Subject: below --
2005-01-26 2:34 Neugebauer, Rolf
2005-01-26 3:12 ` Jacob Gorm Hansen
2005-01-26 7:55 ` Keir Fraser
2005-01-27 13:24 ` Mark Williamson
2005-01-28 20:59 ` Ronald G. Minnich
2005-01-28 23:16 ` Jacob Gorm Hansen
2005-01-28 23:26 ` Ronald G. Minnich
2005-01-28 23:29 ` Jacob Gorm Hansen
2005-01-29 2:15 ` Adam Sulmicki
2005-01-26 3:57 ` Ronald G. Minnich
2005-01-26 11:41 Ian Pratt
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=41F8257E.608@diku.dk \
--to=jacobg@diku.dk \
--cc=Steven.Hand@cl.cam.ac.uk \
--cc=Xen-devel@lists.sourceforge.net \
/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.