9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] I/O load crashes Qemu
Date: Fri, 13 Jun 2008 19:52:22 -0400	[thread overview]
Message-ID: <d614a29f3bddcce459fb02541e361093@quanstro.net> (raw)
In-Reply-To: <fb4c8d190806131358q766f6a50l5ad2d41157b9f846@mail.gmail.com>

> Any good recommended lecture to learn about good virtualization?

i think this is an interesting approach.  note that some code runs faster
under the vx32 than natively, though the title seems to hint that there
are varying definitions of virtualization.

http://swtch.com/~rsc/papers/vx32-usenix2008.pdf

> I imagine that the biggest issue is to avoid a racing condition
> between the two(or 'n') running kernels.

two different kernels can't race as they share no resources.
in the hypervisor, races can be taken care of with the same techniques
that work on any other multithreaded program.

so, if performance is not an issue, a single threaded hypervisor could
schedule any number of guests.  then there are no locking problems at all.

> Then... Would it be very hard to build an fs that allows to share real
> hardware with another kernel running alongside plan 9? I imagine that
> the so called hypervisors are kind of a "(exo-)scheduler"

this is already possible.  any number of plan 9 cpu servers may share
a single fileserver.  no virtualization needed.

> You don't need this sort of code in a virtualizable processor.
> See for example
>   http://en.wikipedia.org/wiki/Popek_and_Goldberg_virtualization_requirements

i'm not convinced that the illusion that the virtualized environment
is in every way equivalent to the bare iron is always useful or worth
the effort.  why should a virtualized operating system need to worry
about what nic the machine has?

for example vmware doesn't provide this sort of virtualized environment.
it provides the same virtual network card interface regardless of
what hardware the machine has.

- erik




  reply	other threads:[~2008-06-13 23:52 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-13  1:54 Venkatesh Srinivas
2008-06-13  2:01 ` Pietro Gagliardi
2008-06-13  3:38   ` Lorenzo Fernando Bivens de la Fuente
2008-06-13  3:38     ` Lorenzo Fernando Bivens de la Fuente
2008-06-13  4:00     ` Venkatesh Srinivas
2008-06-13  8:08       ` sqweek
2008-06-13 10:41         ` Bruce Ellis
2008-06-13 11:47           ` Rodolfo kix García 
2008-06-13 19:05           ` Bakul Shah
2008-06-13 20:03             ` Lorenzo Fernando Bivens de la Fuente
2008-06-13 20:33               ` Charles Forsyth
2008-06-13 20:30                 ` erik quanstrom
2008-06-13 20:58                   ` Lorenzo Fernando Bivens de la Fuente
2008-06-13 23:52                     ` erik quanstrom [this message]
2008-06-14  0:40                       ` Bakul Shah
2008-06-13 20:35                 ` Charles Forsyth
2008-06-13 23:01                 ` Bakul Shah
2008-06-13 23:26                   ` Pietro Gagliardi
2008-06-13 23:36                     ` Bakul Shah
2008-06-13 23:42                     ` Lorenzo Fernando Bivens de la Fuente
2008-06-13 23:52                       ` Uriel
2008-06-17 10:51             ` matt
2008-06-13 12:57   ` stefanha
2008-06-13 12:22 ` Fazlul Shahriar
2008-06-14  0:39 erik quanstrom
2008-06-14  1:24 ` Bakul Shah
2008-06-14  4:58   ` Bruce Ellis
2008-06-14  5:30     ` Iruata Souza
2008-06-14 12:53     ` erik quanstrom
2008-06-14 15:14       ` Iruata Souza
2008-06-14 14:15   ` erik quanstrom
2008-06-15  0:01     ` Bakul Shah

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=d614a29f3bddcce459fb02541e361093@quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.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 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).