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: f9256,affa3c18af33ae87 X-Google-Attributes: gidf9256,public X-Google-Thread: fed41,affa3c18af33ae87 X-Google-Attributes: gidfed41,public X-Google-Thread: f7d63,affa3c18af33ae87 X-Google-Attributes: gidf7d63,public X-Google-Thread: f678f,affa3c18af33ae87 X-Google-Attributes: gidf678f,public X-Google-Thread: 1035b6,affa3c18af33ae87 X-Google-Attributes: gid1035b6,public X-Google-Thread: 10f7da,affa3c18af33ae87 X-Google-Attributes: gid10f7da,public From: danh@qnx.com (Dan Hildebrand) Subject: Re: Apple Mach IS NOT a microkernel!!!!! Date: 1997/02/19 Message-ID: <5eeu62$76s@qnx.com>#1/1 X-Deja-AN: 219837132 References: <5ebg1m$1en@news3.digex.net> Organization: QNX Software Systems 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 , Scott Hess wrote: >In article <5ebg1m$1en@news3.digex.net>, > > That micro kernels tend to be more buzz word hype than valuable... > Why, b/c putting things outside the kernel, in general, results in > some serious performance penalties for no real functional benefit. > 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. > >Umm, well, hmm. This is a rapidly evolving area, not only because >there are people working on the problem of making microkernels more >efficient, but because CPU speeds are outrunning I/O speeds, and main >memory sizes are growing quickly (though not really getting faster). >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. >Beyond that, on personal computers you tend to have a few processes >using significant resources, but not necessarily doing very many >kernel calls per unit of CPU time used. [Excepting web browsers, I >supposed :-).] In fact, perhaps the single biggest amount of kernel >activity on many systems, after virtual memory activity, is probably >the context switching between apps and their windowserver. >Microkernels must by nature be very focussed on context switch time as >it applies to messaging, so if a microkernel were somewhat quicker >there, it would probably cancel out the increase in context switches >for many users. Exactly - and with so many applications these days being structured as clients and servers (either local or network remote from each other), the speed with which you can do IPC (which implies context switching as part of the IPC), the faster the client/server transactions can occur. A microkernel works to simplify the kernel, with the goal being to then incur the complexity of making that simple kernel perform its operations as efficiently and quickly as possible. -- Dan Hildebrand (danh@qnx.com) QNX Software Systems, Ltd. http://www.qnx.com/~danh 175 Terence Matthews phone: +1 (613) 591-0931 Kanata, Ontario, Canada fax: +1 (613) 591-3579 K2M 1W8