All of lore.kernel.org
 help / color / mirror / Atom feed
From: Karim Yaghmour <karim@domain.hid>
To: Girish Wadhwani <gwadh@domain.hid>
Cc: adeos-main@gna.org
Subject: Re: [Adeos-main] Re: RTOS over Adeos document
Date: Mon, 04 Nov 2002 10:20:23 -0500	[thread overview]
Message-ID: <3DC69037.5A9A1577@domain.hid> (raw)
In-Reply-To: 20021104100720.78382.qmail@domain.hid

Girish Wadhwani wrote:
>  But look,
> > you have just
> > doubled the weekly traffic! ;o)
> 
> Let me triple it then:-)

Fantastic, let's have fun then ;)

> I was wondering about Adeos's roadmap. Right now I see
> three uses of Adeos:
> 1, Real time capabilities for Linux
> 2, Clustering for Linux and
> 3, Running multiple instances of Linux on the same
> machine.

Indeed.

> Which of these is the project working towards? I there
> an explicit roadmap towards any?  I particular I am
> interested in 3 and ways to possibly achieve it. I
> think this would be useful to a lot of people.

Agreed. If nothing else, you could try new drivers and not care about
a second Linux dying.

> One approach would be to have a VMM and virtualize all
> resources. This would involve the overhead of "world
> switches" to the host OS and virtualization (with the
> VMM running as an application on the host OS). You
> would land up with something like VMWare and plex86
> which would have little value.

No really interesting, we might as well just extend plex86 if we're
going down this road ...

> The other approach would be the one mentioned in the
> clustering paper i.e. make Linux aware of Adeos. This
> brings up the question of how to get two or more
> instances share resources and co-operate. A major
> problem would be devices. Without virtualization, it
> would invlove a huge number of changes  to drivers,
> making it difficult to develop and maintain, if one
> were to support all the devices that Linux currently
> does.

No, you don't need to do that. As I explain in the clustering paper,
all you need is to modify that PCI allocation code to first ask
Adeos about the components it should be seeing. There is no need to
change any of the drivers. We do need to make sure, nevertheless,
that any extra copies of Linux that boots don't reinitialize any
available ISA hardware, but I don't see this as much of a problem.

Of course, this involves that no two instances of Linux share the
same hardware. Which is just fine for what Adeos is supposed to
do. If you need to share hardware devices among OS instances, then
you certainly need somethine like VMWare or plex86. Sharing
hardware devices isn't part of Adeos' mandate.

> In this case the purpose of Adeos would be to
> multiplex access between multiple instances, which
> would be aware of each other and avoid stepping on eac
> others toes. The upside would be that you would have
> significant performance advantages over the VMM
> method.

We don't need to do this. Since any extra Linux doesn't even see the
PCI hardware it isn't supposed to use, there is no need to make sure
that the various Linux don't step on each other. The only possible
problem is if you have a Linux making random physical memory accesses,
but if that's the case then it's a bug and it has to be fixed.

As for how the various Linux instances are supposed to communicate
with a single Adeos instance, I first thought that soft ints could
be used, but these may turn out to be expensive. Instead, I think
we could reserve a MB or two in physical memory where we would place
the Adeos code and data. All Linux instances would map this instance
into their virtual address space and call upon it as they would
any other code.

> Any thoughts on this? Or am I completely off the mark?
> The information I found on the Adeos papers did not go
> into much detail as to how things would be implemented

The papers are really meant to be "food for thought". For sure they
can't explain every corner case. If that were true then I might have
just as well written the thing to start with ;)

Karim

===================================================
                 Karim Yaghmour
               karim@domain.hid
      Embedded and Real-Time Linux Expert
===================================================



  reply	other threads:[~2002-11-04 15:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-29  8:26 [Adeos-main] RTOS over Adeos document Girish Wadhwani
2002-10-29  9:44 ` [Adeos-main] " Philippe Gerum
2002-11-04 10:07   ` Girish Wadhwani
2002-11-04 15:20     ` Karim Yaghmour [this message]
2002-11-04 15:41       ` Jacob Gorm Hansen
2002-11-04 17:05         ` Karim Yaghmour
2002-11-04 17:27           ` Jacob Gorm Hansen
2002-11-04 18:39             ` Karim Yaghmour
2002-11-06 10:45               ` Jacob Gorm Hansen
2002-11-05  9:08             ` Girish Wadhwani
2002-11-05 10:21               ` Jacob Gorm Hansen
2002-11-05 23:24       ` Girish Wadhwani
2002-11-05 23:55         ` Karim Yaghmour
2002-11-04 17:27     ` Philippe Gerum

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=3DC69037.5A9A1577@domain.hid \
    --to=karim@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=gwadh@domain.hid \
    /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.