9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: jmk@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] how small can you get
Date: Thu,  7 Feb 2002 21:53:52 -0500	[thread overview]
Message-ID: <5db494ec1c50fed106319e1df84858e1@plan9.bell-labs.com> (raw)

On Thu Feb  7 19:23:15 EST 2002, rminnich@lanl.gov wrote:
> just wondering, what's the smallest plan9 kernel seen to date.
> 
> No graphics, just an enet device and an IDE and no network.
> 
> ron

You don't specify when or for which architecture. This is the oldest
x86 kernel I could find in a public place:

o% size /n/bootesdump/1991/1102/386/9safari
162289t + 132096d + 227168b = 521553	/n/bootesdump/1991/1102/386/9safari
o% 

and here are the other kernels from that time:

o% size /n/bootesdump/1991/1102/*/9
125738t + 53604d + 210996b = 390338	/n/bootesdump/1991/1102/68020/9
266448t + 44456d + 516736b = 827640	/n/bootesdump/1991/1102/mips/9
197000t + 45600d + 34536b = 277136	/n/bootesdump/1991/1102/sparc/9
o% 


On Thu Feb  7 20:54:13 EST 2002, schwartz@bio.cse.psu.edu wrote:
> | I just built a stripped down pc kernel --
> | IDE, CGA, no ether, no network, and got 
> | about 361kb.
> 
> I'm surprised it is that big.  Back in the days of 4.2BSD, normal
> kernels were smaller than that.  But maybe the vax had better code
> density than x86.

I don't have easy access to a 4.2BSD kernel, so this will have to do:

o% pwd
/rls/unix/4.3bsd/GENERIC
o% ls -l vmunix
--rwxr-xr-x M 49476 0 10 407552 Jun  6  1986 vmunix
o% xd -s -4d vmunix|sed 2q
0000000  0000000264 0000279844 0000080872 0000100324
0000010  0000025716 2147488504 0000000000 0000000000
o% hoc
279844+80872+100324
461040


             reply	other threads:[~2002-02-08  2:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-08  2:53 jmk [this message]
2002-02-08  5:25 ` Lucio De Re
2002-02-08 15:20 ` Ronald G Minnich
  -- strict thread matches above, loose matches on Subject: below --
2002-02-09 20:52 Russ Cox
2002-02-08 17:14 jmk
2002-02-08 16:19 anothy
2002-02-08 16:42 ` Ronald G Minnich
2002-02-08 17:04   ` Sean Quinlan
2002-02-08 17:16     ` Ronald G Minnich
     [not found] <rsc@plan9.bell-labs.com>
2002-02-08  1:48 ` Russ Cox
2002-02-08  1:52   ` Scott Schwartz
2002-02-08 15:17   ` Ronald G Minnich
2002-02-08  0:19 Ronald G Minnich
2002-02-08 10:08 ` Boyd Roberts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5db494ec1c50fed106319e1df84858e1@plan9.bell-labs.com \
    --to=jmk@plan9.bell-labs.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).