From: "Russ Cox" <rsc@plan9.bell-labs.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] how small can you get
Date: Sat, 9 Feb 2002 15:52:34 -0500 [thread overview]
Message-ID: <85e3d8b346a5382cc4802d736b4cfa8f@plan9.bell-labs.com> (raw)
If you use the kernel config file below along
with bzip2 compression, I think you can fit everything
inside 160kb.
g% strip < 9tiny | bzip2 -9 | wc -c
136003
g% strip < /sys/src/cmd/bzip2/8.bunzip2lite | wc -c
18928
g%
That leaves 5000 bytes to do load-related stuff
like jumping to the right address. If you meant
160*1024 bytes, you've got almost 9000 bytes left.
That and bunzip2lite can be made smaller yet.
It is way too long and ugly to post,
but if you're interested mail me. Basically
I took the bunzip2 code and replaced a bunch
of macros with functions to get the code size
down. There's still plenty of room for improvement.
Russ
dev
root
cons
arch
env
pipe
proc
mnt
srv
dup
rtc
ether netif
sd
ns16552
link
ether82557 pci
misc
archmp mp apic
sdata pci sdscsi
port
int cpuserver = 0;
boot
local
next reply other threads:[~2002-02-09 20:52 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-09 20:52 Russ Cox [this message]
-- strict thread matches above, loose matches on Subject: below --
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
2002-02-08 2:53 jmk
2002-02-08 5:25 ` Lucio De Re
2002-02-08 15:20 ` 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=85e3d8b346a5382cc4802d736b4cfa8f@plan9.bell-labs.com \
--to=rsc@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).