[comp.unix.sysv386] Kernel Sizes

gary@sci34hub.sci.com (Gary Heston) (04/29/91)

In article <545@jahangir.UUCP> marc@jahangir.UUCP (Marc Rossner) writes:
>In article <204@mnopltd.UUCP>, neal@mnopltd.UUCP writes:
>> I noticed that the Xenix 2.3.2 kernel is about 1000K.   The SCO Unix
>> kernel is about 2000K.   

>I thought that the advantage of Xenix was that it was supposed to be tiny.
>I also thought that I had a rather massive kernel on my ISC 2.2.  My
>kernel is 750K.  Are you sure you have your numbers right?

My ISC 1.0.6 MultiBus kernel is 573K. Sounds like it's growing
by leaps and bounds....

Has anyone surveyed kernel sizes, or graphed the size since UNIX 
was released? Might me some interesting data in there....

Gary

-- 
Gary Heston   System Mismanager and technoflunky   uunet!sci34hub!gary or
My opinions, not theirs.    SCI Systems, Inc.       gary@sci34hub.sci.com
I support drug testing. I believe every public official should be given a
shot of sodium pentathol and ask "Which laws have you broken this week?".

rcd@ico.isc.com (Dick Dunn) (04/30/91)

gary@sci34hub.sci.com (Gary Heston) writes:
> In article <545@jahangir.UUCP> marc@jahangir.UUCP (Marc Rossner) writes:
> >I also thought that I had a rather massive kernel on my ISC 2.2.  My
> >kernel is 750K.  Are you sure you have your numbers right?

> My ISC 1.0.6 MultiBus kernel is 573K. Sounds like it's growing
> by leaps and bounds....

Be careful to compare kernels providing the same facilities!  Add a few
device drivers, particularly if they're not well-written, and kernel size
goes through the roof.

> Has anyone surveyed kernel sizes, or graphed the size since UNIX 
> was released? Might me some interesting data in there....

It's all over the map.  Neglecting older kernels that are still running,
in order to get a look at where things are "today"...probably the
smallest "modern" kernel is 10th Edition, in Bell Labs.  (Imagine that! 
The folks who did the original UNIX work still have their act together!)
My guess for the next step up would be BSD kernels with little additional
adornment, in the couple-hundred-Kb range.  The V.3 kernels in 386-land run
1/2-3/4 Mb code, typically around a meg total.  There are some really out-
rageous multi-megabyte kernels for a couple of larger workstation-type
machines.  The trend is definitely to larger kernels, but the range of
sizes has spread a lot:  Within Bell Labs, there's been about a factor of
two increase in the last decade; the other extreme is probably...hmmm...
pushing a factor of a hundred in a decade.  (yuk...what a disgusting
thought...i'm going home)
-- 
Dick Dunn     rcd@ico.isc.com -or- ico!rcd       Boulder, CO   (303)449-2870
   ...If you plant ice, you're gonna harvest wind.

src@scuzzy.in-berlin.de (Heiko Blume) (05/01/91)

gary@sci34hub.sci.com (Gary Heston) writes:
>My ISC 1.0.6 MultiBus kernel is 573K. Sounds like it's growing
>by leaps and bounds....

>Has anyone surveyed kernel sizes, or graphed the size since UNIX 
>was released? Might me some interesting data in there....

wait 'till you see s5r4 kernels, at CeBIT faire i saw kernels
between 1.1 and 1.6MB (ugh) code size.
-- 
   Heiko Blume <-+-> src@scuzzy.in-berlin.de <-+-> (+49 30) 691 88 93 [voice!]
                  public UNIX source archive [HST V.42bis]:
        scuzzy Any ACU,f 38400 6919520 gin:--gin: nuucp sword: nuucp
                     uucp scuzzy!/src/README /your/home

neal@mnopltd.UUCP (05/01/91)

->In article <545@jahangir.UUCP> marc@jahangir.UUCP (Marc Rossner) writes:
->>In article <204@mnopltd.UUCP>, neal@mnopltd.UUCP writes:
->>> I noticed that the Xenix 2.3.2 kernel is about 1000K.   The SCO Unix
->>> kernel is about 2000K.   
->
->>I thought that the advantage of Xenix was that it was supposed to be tiny.
->>I also thought that I had a rather massive kernel on my ISC 2.2.  My
->>kernel is 750K.  Are you sure you have your numbers right?
->
->My ISC 1.0.6 MultiBus kernel is 573K. Sounds like it's growing
->by leaps and bounds....
->
->Has anyone surveyed kernel sizes, or graphed the size since UNIX 
->was released? Might me some interesting data in there....
->
->Gary
->
Original poster back here again......

Whoaha!  Lets try to calibrate our terms here.  When I said 1000k, I meant
that was how much memory it took loaded.   (from log in /usr/adm/messages)
The actual kernel FILE is 408k.   If you do a "size xenix"  you get:

261902 + 112720 + 29520 = 404142 = 0x62aae

The 1000k is once it loads and mallocs and otherwise settles itself into
operation.   Now which number were you specifying for ISC?

------------------------------------------------------------------------------
Neal Rhodes                       MNOP Ltd                     (404)- 972-5430
President                Lilburn (atlanta) GA 30247             Fax:  978-4741
                             emory!mnopltd!neal 
------------------------------------------------------------------------------