From owner-freebsd-current Tue Jul 7 05:00:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA15017 for freebsd-current-outgoing; Tue, 7 Jul 1998 05:00:32 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from fw.tue.le (pC19F83DB.dip.t-online.de [193.159.131.219]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA14982 for ; Tue, 7 Jul 1998 05:00:26 -0700 (PDT) (envelope-from thz@Lennartz-Electronic.DE) Received: from mezcal.tue.le (mezcal.tue.le [192.168.201.20]) by fw.tue.le (8.8.8/8.8.8) with ESMTP id NAA00381; Tue, 7 Jul 1998 13:58:47 +0200 (CEST) (envelope-from thz@mezcal.tue.le) Received: (from thz@localhost) by mezcal.tue.le (8.8.8/8.8.8) id NAA02688; Tue, 7 Jul 1998 13:58:47 +0200 (MET DST) (envelope-from thz) Message-ID: <19980707135847.61797@tue.le> Date: Tue, 7 Jul 1998 13:58:47 +0200 From: Thomas Zenker To: Andrzej Bialecki Cc: freebsd-current@FreeBSD.ORG Subject: Re: FreeBSD in less than 4MB RAM Mail-Followup-To: Andrzej Bialecki , freebsd-current@freebsd.org References: <199807070702.AAA01156@rah.star-gate.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: ; from Andrzej Bialecki on Tue, Jul 07, 1998 at 10:15:14AM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, Jul 07, 1998 at 10:15:14AM +0200, Andrzej Bialecki wrote: > On Tue, 7 Jul 1998, Amancio Hasty wrote: > >> > > > First issue is: what would it take to squeeze any useful combination of >> > > > kernel, init plus two-three (small) user programs in 4MB? Which >> > > >> > > You don't want to run any inetd processes? As well as other such things >> > > which use memory. >> > >> >> I would start by first knowing how much memory is needed to run >> a kernel, init plus two or three (small) user programs with the >> current system. > >Not much - my experiments show it's somewhere around 6MB (if you start 2-3 >different programs, so that they can't share their pages). A couple of years back it was easily possible to have kernel and a couple of user processes in 4 MB. I had such a thing running with BSD/386 0.9 - 1.1, then they got fat. Up to V1.1 it was possible to have a kernel size of about 360K with the same "needed" functionality as we got later with a 800K V 2.0 kernel. The same with FBSD, I can not get a kernel smaller than about 800K now. Probably it would be possible to get a better modularity, but that's very difficult. For those which say "put in more memory/disk": This doesn't help if you have to run out of batteries w/ solar-panels on very remote localities, only access by radio-telemetry. You need very low power equipment there. So the question is not $ but watts. -- Thomas Zenker at work thz@lennartz-electronic.de private thz@tuebingen.netsurf.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message