From: ebiederm@xmission.com (Eric W. Biederman)
To: Matt Mackall <mpm@selenic.com>
Cc: linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.1-rc1-tiny1 tree for small systems
Date: 04 Jan 2004 09:02:28 -0700 [thread overview]
Message-ID: <m1y8snhfcb.fsf@ebiederm.dsl.xmission.com> (raw)
In-Reply-To: <20040104084005.GU18208@waste.org>
Matt Mackall <mpm@selenic.com> writes:
> On Sun, Jan 04, 2004 at 12:42:43AM -0700, Eric W. Biederman wrote:
> > Matt Mackall <mpm@selenic.com> writes:
> >
> > > Contributions and suggestions are encouraged. In particular, it would
> > > be helpful if people with non-x86 hardware could take a stab at
> > > extending some of the stuff that's currently only been done for X86 to
> > > other architectures.
> >
> > I just tried a kernel build with as much as possible turned off. This
> > uncovered a couple of bugs, which I fixed with the attached diff. But
> > it looks like there finally is a light at the end of the rainbow.
>
> Thanks. I actually cleaned up all this stuff earlier today, will
> probably do another release shortly.
>
> > 220K compressed and 371K uncompressed. This is a serious reduction from
> > previous versions. There is still a huge amount of code I can't compile
> > out but this is certainly progress. Thank you.
>
> Suggestions? I'm rapidly exhausting a lot of the obvious candidates.
> My target build at the moment is ide + ext2 + proc + ipv4 + console, and
> that's currently at around 800K uncompressed, booting in a little less
> than 2.5MB. Hoping to get that under 2.
Nice. I have a 386 I really should try this out on.
Of note IPv4 is about 90K compressed. And I know you can do a minimal
IPv4 stack in about 8K compressed.
My target is a minimal kernel that can be used as a bootloader. But
what I am looking for at first is to be able to turn as many things
off as possible so that we can test to see how much individual pieces
add.
If you look at ELKS or one of the old unix like kernels you can get
those down to 64K and still be usable.
I'm currently looking at removing the buffer cache, since I most
of the time I don't care about disks. This is complicated by the fact
that many of the default paths in the kernel when they don't have a
better implementation use buffer cache methods. But I'm making
headway.
Proc is one of things that frequently has loads of crap that are
not needed in a minimal setup.
Until I find more candidates to turn off I can't see any low hanging
fruit for shrinking in size.
Eric
next prev parent reply other threads:[~2004-01-04 16:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-03 3:08 Matt Mackall
2004-01-04 7:42 ` Eric W. Biederman
2004-01-04 8:40 ` Matt Mackall
2004-01-04 16:02 ` Eric W. Biederman [this message]
2004-01-05 0:00 ` Eric W. Biederman
2004-01-05 0:34 ` viro
2004-01-05 4:34 ` Eric W. Biederman
[not found] ` <20040105170938.GY18208@waste.org>
2004-01-08 19:22 ` Eric W. Biederman
2004-01-09 20:15 ` Arnaldo Carvalho de Melo
2004-01-10 21:49 ` Matt Mackall
2004-01-08 21:04 ` bill davidsen
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=m1y8snhfcb.fsf@ebiederm.dsl.xmission.com \
--to=ebiederm@xmission.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mpm@selenic.com \
/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
all inboxes | Powered by JetHome®