Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 1998 12:09:52 +0100 (CET)
From:      Andrzej Bialecki <abial@nask.pl>
To:        Mike Smith <mike@smith.net.au>
Cc:        Andrzej Bialecki <abial@nask.pl>, Terry Lambert <tlambert@primenet.com>, freebsd-current@FreeBSD.ORG, jkh@FreeBSD.ORG
Subject:   Re: Custom init(8) (and some ideas) 
Message-ID:  <Pine.NEB.3.95.980209120004.16915A-100000@korin.warman.org.pl>
In-Reply-To: <199802070332.TAA03469@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 6 Feb 1998, Mike Smith wrote:

> > A bit of background, if you're interested: I'm working on the next version
> > of PicoBSD, and after some shuffling with the layout and adding new
> > features I found that I can no longer fit into 8MB RAM... I.e. it fits,
> > but I can't start enough processes to make a dialup connection.
> 
> What does the process listing look like?  (use ddb and the 'ps' command 
> rather than try to squeeze 'ps' into the crunch image).

I didn't have ddb in kernel - I thought it would take more space than
mount_procfs and ls-like proggy (which I include anyway). But I'll try
this. I have also sysctl(8) on the floppy, but I noticed that the most
interesting thing for me (i.e. vmmeter) is unimplemented (I already sent
PR on this, because this is actually vmtotal, not vmmeter).

> Have you shrunk the kernel as much as possible?

Yes. :-)) I even fiddled with NBUF and NMBCLUSTERS to save on buffer
space. maxusers is 1, so that the various system tables become minimal.

> For non-gzip binaries, execution starts by mmapping the entire text 
> section, and jumping to it.  Nothing is "loaded" in any case.
> 
> What you're suggesting really is "execute-in-place", which is quite a 
> tough thing to implement.

I suppose that's what I was thinking about :-). The whole issue is a bit
beyond my knowledge, but I'm learning...

Andrzej Bialecki

---------------------+---------------------------------------------------------
abial@warman.org.pl  | if(halt_per_mth > 0) { fetch("http://www.freebsd.org") }
Research & Academic  | "Be open-minded, but don't let your brains to fall out."
Network in Poland    | All of the above (and more) is just my personal opinion.
---------------------+---------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.95.980209120004.16915A-100000>