From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cbb9,affa3c18af33ae87 X-Google-Attributes: gid10cbb9,public X-Google-Thread: 106bff,affa3c18af33ae87 X-Google-Attributes: gid106bff,public X-Google-Thread: 10f7da,affa3c18af33ae87 X-Google-Attributes: gid10f7da,public X-Google-Thread: fed41,affa3c18af33ae87 X-Google-Attributes: gidfed41,public X-Google-Thread: 1035b6,affa3c18af33ae87 X-Google-Attributes: gid1035b6,public X-Google-Thread: f678f,affa3c18af33ae87 X-Google-Attributes: gidf678f,public X-Google-Thread: f7d63,affa3c18af33ae87 X-Google-Attributes: gidf7d63,public X-Google-Thread: f9256,affa3c18af33ae87 X-Google-Attributes: gidf9256,public From: shess@one.net (Scott Hess) Subject: Re: Apple Mach IS NOT a microkernel!!!!! Date: 1997/02/20 Message-ID: #1/1 X-Deja-AN: 220180163 References: <5ebg1m$1en@news3.digex.net> Organization: Is a sign of weakness Newsgroups: comp.sys.mac.advocacy,comp.sys.mac.programmer.misc,comp.sys.powerpc.advocacy,comp.sys.next.advocacy,comp.sys.next.programmer,comp.sys.next.misc,comp.unix.machten,comp.unix.osf.misc,comp.os.mach,comp.os.ms-windows.nt.advocacy In article <5eeu62$76s@qnx.com> danh@qnx.com (Dan Hildebrand) writes: In article , Scott Hess wrote: >On a system like a NeXTstation, where the CPU, memory, and I/O are >relatively balanced, a monolithic kernel can be easily more >efficient. Easily? Can you back this up? While some monolithic kernels are faster than some microkernels, this is not universally true. I was not asserting that all monolithic kernels are more efficient than all microkernels for any machine. I was asserting that for a given system, a monolithic kernel written with the same close attention to detail and overall design as a microkernel for the same system should be more efficient because it can optimize away many operations. It might just take 30 times as long to write the monolithic kernel version. Unless I've _greatly_ misread a variety of papers, microkernels are coming into their own because we are asking entirely too much of our monolithic kernels. The amount of effort it takes to add something new to your monolithic kernel is often so great that you never get around to it - and thus a microkernel can be more efficient in the end. In essence, using a microkernel lets you get to a better design for the system faster than a monolithic kernel, so it wins in the end. This is similar to the differences between object programming and structured programming. Any given system _can_ be written in either. And if you write a given system using the same design in either, the structured version will generally be more efficient, because it doesn't have the object version's overhead. The fly in the ointment is that the structured version generally will never be written that way, though, because it doesn't help you manage complexity well enough. Object languages win in the end because though they might not be faster for a given design, they let you modify the design more easily. Later, -- scott hess (606) 578-0412 http://w3.one.net/~shess/