Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: John Hornkvist
Cc: jkheit@cnj.digex.net
Subject: Re: Apple Mach IS NOT a microkernel!!!!!
Date: 1997/02/18	[thread overview]
Message-ID: <5ed74c$k4c@nyheter.chalmers.se> (raw)
In-Reply-To: 5ebg1m$1en@news3.digex.net


In <5ebg1m$1en@news3.digex.net> John Kheit wrote:
>jm041536@fhda.edu (Joaquin Menchaca) wrote:
>> OK,
>>   Let's get it straight guys, for those of you still confused.
>>   The current specified Mach kernel under development (if you
>>   want to call it that) is NOT a microkernel.  OSF Mach 3.0, used
>>   in mkLinux, is an actual microkernel.  Apple's Mach kernel will
>>   have features from Mach 3.0, but will not be the true Mach 3.0.
>>   Some are jokingly calling this 'Mach
>> 2.5++'.
>
>Yes, this has been rehashed several times, at least in the NeXT
>groups.  If I remember correctly, some of the issues, and at least
>some consensus came to this concluse (If I got it wrong, please
>set me straight folks :)
>
>That micro kernels tend to be more buzz word hype than valuable...

Well... Micro kernels do have some nice chracteristics. But, as
with most things, it has become more of something that "we have,
too" than a tool used to provide better operating systems.

>Why, b/c putting things outside the kernel, in general, results in
>some serious performance penalties for no real functional benefit.

Putting things outside the kernel results in performance problems
if you don't move enough out of the kernel. The primary cost is
switching between user and supervisor moder, and if you have too
much functionality in the kernel, you'll be doing a lot of switching.
You can make a micro kernel run fast, just as you can make an
objective C program run fast. You just have to remember where the
problems are.

I'm not sure that Mach is the best place to start if you really
want a good micro kernel, though. The monolithic but message passing
Mach 2.5 is an excellent foundation for an OS, though.

>Thus, Avie, and the folks at NeXT (now apple), who really know a
>thing or two about this stuff, to say the least, opted to keep
>things monolithic for perfromance reasons.  Yet the functionality
>of a monolithic kernel is not reduced by its monolithicness.

It is reduced, but not in a way that will matter on a personal
computer. More modular approaches make sense if you run on MPP
systems, for example. So, I hope Apple redesigns the kernel before
they come out with an OS for systems with more than, say, 64 processors.  :)

>Furthermore, similiar arguments about object oriented kernel design
>were wrung out...  Namely that Mach 4.0 was done in C++, thereby
>making it OOP...  It too might be a situation of more buzzword-checklist
>hype than reasoned implementation.  The kernel being a low level
>layer of the OS, really needs to be tuned as possible, and OO'ness
>doesn't necessarily make much sense or add much functionality to
>that layer/level, and results in more of a performance hit than
>functionality gain.

Micro kernel design is similar to RISC chip design; you try to find
the most commonly used functions, and then speed those up. Less
common things are done by combining simpler operations. 

If you use static binding and inlining, C++ would be good for the
lowest level of an OS, I think. Remember that with C++ object
orientation seems to end as soon as you compile...

By the way, I would think that NEXTSTEP/OPENSTEP stresses the OS
in ways that a normal operating system may not do, and therefore
the kernel has to be optimized differently. That may affect the
choice of kernel; Mach 3 or "the Copland micro kernel" are unlikely
to be optimized for running OPENSTEP. NeXT's Mach is likely to be
highly optimized for that purpose. In addition to that it is
stable, has been ported to many architectures, and is the foundation
for OPENSTEP today.

All in all, there is nothing wrong with cool technology, as long
as it doesn't get away of important matters.
---
John Hornkvist  ---  nhoj at cd dot chalmers dot se
Working on MSc in Computer Engineering, and 
           MSc in Industrial Engineering and Management of Technology
Does anyone need a NEXTSTEP/OPENSTEP savvy programmer for the summer of '97? 

Sorry for not leaving my address in the header, but I get too many spam mails
already... If you want to reach me, try nhoj at cd dot chalmers dot se





  reply	other threads:[~1997-02-18  5:00 UTC|newest]

Thread overview: 60+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-02-18  5:00 Apple Mach IS NOT a microkernel!!!!! Joaquin Menchaca
1997-02-17  5:00 ` Pohl Longsine
1997-02-18  5:00 ` stephen farrell
1997-02-18  5:00   ` Nathan M. Urban
1997-02-18  5:00   ` sschaper
1997-02-18  5:00 ` Ray Offiah
1997-02-18  5:00 ` John Kheit
1997-02-18  5:00   ` John [this message]
1997-02-18  5:00   ` Ken Lui
1997-02-18  5:00   ` Dan Hildebrand
1997-02-18  5:00   ` Scott Hess
1997-02-18  5:00     ` Christian Kuhtz
1997-02-19  5:00     ` Michael Hunter
1997-02-19  5:00       ` Lawson English
1997-02-19  5:00         ` JC Vollmer
1997-02-19  5:00     ` Dan Hildebrand
1997-02-18  5:00   ` Charles William Swiger
1997-02-19  5:00   ` John C. Randolph
1997-02-20  5:00     ` John Kheit
1997-02-20  5:00       ` Lawson English
1997-02-20  5:00         ` John C. Randolph
1997-02-20  5:00           ` Lawson English
1997-02-21  5:00             ` John C. Randolph
1997-02-21  5:00         ` John Kheit
1997-02-21  5:00           ` Lawson English
1997-02-24  5:00             ` John Kheit
1997-02-20  5:00       ` Pohl Longsine
1997-02-19  5:00   ` Robert Cassidy
1997-02-19  5:00     ` Pohl Longsine
1997-02-20  5:00       ` John Kheit
1997-02-19  5:00   ` Terje A. Bergesen
1997-02-20  5:00   ` Scott Hess
1997-02-21  5:00     ` Joaquin Menchaca
1997-02-22  5:00       ` Pohl Longsine
1997-02-21  5:00   ` Ryan Tokarek
1997-02-23  5:00     ` Gary W. Longsine
1997-02-22  5:00   ` Gary W. Longsine
1997-02-22  5:00   ` Gary W. Longsine
1997-02-21  5:00     ` Lawson English
1997-02-22  5:00       ` Gary W. Longsine
1997-02-21  5:00     ` Mark Eaton
1997-02-21  5:00     ` John Norstad
1997-02-22  5:00   ` Gary W. Longsine
1997-02-23  5:00     ` Alex Kac
1997-02-25  5:00     ` Garance A Drosehn
1997-02-22  5:00   ` Ryan Tokarek
     [not found]     ` <5eodgh$ors@lynx.dac.neu.edu>
1997-02-22  5:00       ` Ryan Tokarek
1997-02-24  5:00         ` Doug Santry
1997-02-22  5:00   ` Scott Hess
1997-02-23  5:00   ` Gary W. Longsine
1997-02-23  5:00     ` Boshon Sprague
1997-02-23  5:00     ` Mark Eaton
1997-02-23  5:00     ` John Norstad
1997-02-23  5:00   ` Gary W. Longsine
1997-02-23  5:00   ` Jonathan Hendry
1997-02-24  5:00   ` Gary W. Longsine
1997-02-24  5:00     ` Maury Markowitz
1997-02-19  5:00 ` Fred Trottelhauer
1997-02-19  5:00   ` Jeffrey M. Vickery
1997-02-22  5:00 ` Shimpei Yamashita
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox