9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "Eric Van Hensbergen" <ericvh@gmail.com>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] Re: what about microkernel?
Date: Mon,  8 Oct 2007 10:58:18 -0500	[thread overview]
Message-ID: <a4e6962a0710080858k4f4974d1h6564f28dff6e6697@mail.gmail.com> (raw)
In-Reply-To: <546ad2649cbc93791073f5b40499e60e@coraid.com>

On 10/8/07, erik quanstrom <quanstro@coraid.com> wrote:
> > His original Kernel, L3, was written in pure assembly for x86, using every
> > trick possible.
> >
>
> there's nothing wrong with assembly per ce, but i don't follow this logic.
> generally speaking, compilers are better than humans at doing instruction
> scrabble.

Depends on the compiler ;)

Ignoring the C++ (or all-assembly) nonsense, the general point of
L3/L4 seemed to be "do IPC really, really well on whatever platform we
are running on and then build a microkernel around it".  That's an
oversimplification, and perhaps at that level of abstraction -- that
was the goal of every microkernel (its just many/any didn't succeed at
that goal).

I've been thinking a lot about this, particularly as we've been diving
deep into tracing performance of our network paths as part of the Blue
Gene work.  As of our preliminary results, it would seem that Plan 9
attempts to take the most general approach to things with an emphasis
on keeping everything simple.  Unfortunately we end up paying a heavy
price in raw performance (at least in the networking case).  It may
well be that "benchmark" performance is irrelevant, but I think its at
least worth reviewing other-OS research from the last 20 years to see
what we can learn.  It may be the case that we have cut our
abstractions too high to take advantage of some architectural features
present in modern microprocessors -- it may be that we want to allow
for optimized locking and IPC/queues on particular architectures.

I've heard mention the idea of turning the Plan 9 kernel into a a pure
9p mux and building the system around that -- one wonders how
different we would look from a microkernel environment like L4 then.
I know the Japanese folks talked about their efforts of "porting" Plan
9 on top of L4 at last years IWP9 -- I wonder if they've made any
further progress...

        -eric


  reply	other threads:[~2007-10-08 15:58 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-06 13:25 [9fans] " Andrew Wingorodov
2007-10-06 16:07 ` Lorenzo Fernando Bivens de la Fuente
2007-10-06 16:08 ` johnny
2007-10-06 16:26 ` Charles Forsyth
2007-10-06 20:24   ` [9fans] " Andrew Wingorodov
2007-10-06 20:50     ` Charles Forsyth
2007-10-07 16:18       ` David Leimbach
2007-10-07 16:30         ` ron minnich
2007-10-07 18:05           ` erik quanstrom
2007-10-07 20:28           ` David Leimbach
2007-10-07 20:49             ` Francisco J Ballesteros
2007-10-08 13:20               ` LiteStar numnums
2007-10-08 13:27                 ` Charles Forsyth
2007-10-08 14:50                 ` erik quanstrom
2007-10-08 15:58                   ` Eric Van Hensbergen [this message]
2007-10-08 16:01                     ` Francisco J Ballesteros
2007-10-08 17:16                     ` erik quanstrom
2007-10-08 19:14                       ` Eric Van Hensbergen
2007-10-08 19:53                         ` Charles Forsyth
2007-10-08 20:18                           ` Eric Van Hensbergen
2007-10-10 18:26                             ` David Leimbach
2007-10-10 20:42                               ` ron minnich
2007-10-10 21:38                                 ` David Leimbach
2007-10-08 17:46                     ` Charles Forsyth
2007-10-08 18:39                       ` David Leimbach
2007-10-08 19:11                       ` Eric Van Hensbergen
2007-10-08 18:34                     ` David Leimbach
2007-10-07 16:31         ` LiteStar numnums
2007-10-07 18:36         ` Andrew Wingorodov
2007-10-07 18:54           ` LiteStar numnums
2007-10-07 20:20           ` David Leimbach
2007-10-13  7:08 ` Andrew Wingorodov

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=a4e6962a0710080858k4f4974d1h6564f28dff6e6697@mail.gmail.com \
    --to=ericvh@gmail.com \
    --cc=9fans@cse.psu.edu \
    /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).