Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!mintaka!mit-eddie!bbn.com!fkittred From: fkittred@bbn.com (Fletcher Kittredge) Newsgroups: comp.os.mach Subject: Re: Bytes in Mach 3.0? Message-ID: <62753@bbn.BBN.COM> Date: 15 Feb 91 13:49:24 GMT References: <2981@fai.UUCP> <1991Feb13.170901@ibmpa.awdpa.ibm.com> <1991Feb14.220240.26795@ico.isc.com> Sender: news@bbn.com Reply-To: fkittred@spca.bbn.com (Fletcher Kittredge) Organization: Bolt Beranek and Newman Inc., Cambridge MA Lines: 57 In article <1991Feb14.220240.26795@ico.isc.com> rcd@ico.isc.com (Dick Dunn) writes: >webb@ibmpa.awdpa.ibm.com (Bill Webb) writes: >> champlin@decwrl.dec.com (Virgil Champlin) writes: >> |> I too would like to see some basic numbers for executable images of >> |> the micro kernel... >... >> Here's some numbers for a 386 MACH 3.0 kernel (your mileage may vary): >... >> text data bss dec hex >> 245728 31572 86728 364028 58dfc > >Either there's something here that deceives a typical, UNIXoid, naive under- >standing of "size" output, or there's something very wrong. Does the text >size somehow include non-kernel code? Is "size" getting fooled by some- >thing? My confusion stems from the understanding that the Mach 3.0 kernel >is supposed to be the "micro-kernel" version, and the belief that a 240 Kb >kernel cannot reasonably be labeled "micro". > >Explanation/clarification, please? Sure, how familar are you with modern operating systems? 245K of text with 31k of data is *VERY* small for a UNIXoid kernel. For example, here is the size of the Unix kernel on Sun, DEC and HP systems: VAX Ultrix 4.1 -rwxr-xr-x 1 root.wheel 848896 Feb 2 10:45 /vmunix* text data bss dec hex 655912 107008 817076 1579996 181bdc DECStation Ultrix 4.1 -rwxr-xr-x 1 root.wheel 2767956 Sep 24 09:42 /nfs/spcds1/root/vmunix* text data bss dec hex 1115968 119904 260256 1496128 16d440 Sun 3 O/S 4.1 -rwxr-xr-x 1 root 733407 Feb 14 11:39 /vmunix* text data bss dec hex 542064 93072 144488 779624 be568 Sun SPARCStation O/S 4.1 -rwxr-xr-x 1 root 1027466 May 26 1989 /vmunix* text data bss dec hex 802816 113952 103744 1020512 f9260 HP 9000s700 HP-UX 8.0 (PreRelease) -rwxr-xr-x 1 root 2 2093056 Jan 11 13:50 /hp-ux* 1401920 + 311276 + 335560 = 2048756 >-- >Dick Dunn rcd@ico.isc.com -or- ico!rcd Boulder, CO (303)449-2870 > ...But is it art? Fletcher Kittredge Platforms and Tools Group, BBN Software Products 10 Fawcett Street, Cambridge, MA. 02138 617-873-3465 / fkittred@bbn.com / fkittred@das.harvard.edu