lkml.org 
[lkml]   [2000]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Korbit-cvs] Re: ANNOUNCE: Linux Kernel ORB: kORBit

> > There is a large perception of CORBA being slow, but for the most part it
> > is unjustified. I believe that the act of _designing_ a completely new

> CORBA is slow compared to some of the other solutions. The question I was
> trying to ask is whether you should put something smaller and faster into the
> kernel space and leave CORBA in userland.

What I'm trying to show is that CORBA itself is not slow. CORBA can be
thought of as an IDEA, and the current implementations are
suboptimal. For example, no CORBA implementation has been tweaked to run
well in-kernel. Because of this, people will say that CORBA sucks and is
slow, but that's not true.

I will agree that IIOP (the standardized corba communication mechanism) is
much slower and more complex than we would want for a generalized
user->kernel communication mechanism. The nice thing about CORBA is that
you can design your own transport to optimize things. Thus 99% of the
time you could use a heavily optimized, very simple transport that doesn't
do much. This is what you are asking for, and it make perfect
sense. What CORBA buys you is the ability to use this streamlined
interface without giving up full generality...

> It's complex, it has security
> implications surely it belongs talking something simple and fast to the kernel.

First off, there are a lot of complex systems in the kernel. :)
Second, there are not security implications above and beyond any normal
kernel hacking. The reason that kORBit has security implications right
now is that there _IS NO SECURITY_. Imagine implementing sys_read with
no checks of what uid is running, and you get the idea.

Actually security in CORBA can be done BETTER in kernel space than in user
space, but I digress...

> If you look at microkernels they talk a much simpler faster rpc protocol.

Yes but for the most part they lose all of the advantages of CORBA as
well. For example, every microkernel that I'm aware of can only talk to
remote servers/clients that are running the same microkernel on the remote
machine. There are no provisions for byte swapping if the endianness is
incorrect or for having structured bytestreams (so that you can tell
things about the raw bytes coming over the line without understanding them
all).

-Chris

http://www.nondot.org/~sabre/os/
http://www.nondot.org/MagicStats/
http://korbit.sourceforge.net/


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.106 / U:1.712 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site