From owner-freebsd-questions Sat Jan 1 18:38: 9 2000 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id DB5E814BCC for ; Sat, 1 Jan 2000 18:38:01 -0800 (PST) (envelope-from marc@oldserver.demon.nl) Received: from [212.238.105.241] (helo=propro) by post.mail.nl.demon.net with esmtp (Exim 2.12 #1) id 124au3-000L3k-00; Sun, 2 Jan 2000 02:37:55 +0000 Date: Sun, 2 Jan 2000 03:37:54 +0100 (CET) From: Marc Schneiders To: Andrew MacIntyre Cc: Greg Lehey , freebsd-questions@FreeBSD.ORG Subject: Re: 4 MB RAM? (long) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 31 Dec 1999, Andrew MacIntyre wrote: > On Thu, 30 Dec 1999, Marc Schneiders wrote: > > > There is 24 MB of swap. I have looked at top a number of times and > > there was only little of it used. Maybe the daily checks take a lot of > > it? I will throw them out first and see what happens. > > I think you mention that this machine has 2 drives - if so, it might be > worth the pain to rearrange your partitioning so that the swap is spread > equally over both drives, as I understand that FreeBSD interleaves access > to swap (probably works better with SCSI than IDE though...). > The machine I am testing this on has two drives, because one was too small :-) The laptop has just one drive, big enough though. > You mention that your current kernel is ~1.5M - just for reference I have > a 2.2.6R server (486) with a ~1.15M kernel (2.2.6R GENERIC is ~1.5M) and a > 3.2R SMP workstation (C300Ax2) with a ~1.75M kernel (3.2R GENERIC is > ~2.3M). Both boxes have a trimmed config, though the 3.2 box has sound and > a couple of other "extras". My SMP desktop runs CURRENT. Kernel is now 1.69M (no sound). I would love to have a list of what parts take up space and what don't. I could make one myself of course :-) I am going to try it on the laptop with CURRENT after all, as it will be a bit of a problem to set up a box with 3.X sources on it to compile a new kernel. I've changed to 4.0 some time ago, because someone advised me to in relation with SMP matters. For those who are interested: It *is* possible to run a http-server on 4 MB. Not apache (not that I tried it), but boa, which is in the ports. It is small (under 1M). It doesn't fork, except for CGI, which I did not try. I ran a webcam (refresh 30 secs) on it and the box was able to serve 4 machines simultaneously on my LAN for hours. No problems at all on 4 MB on a 486 DX 66 with 4.0 CURRENT of beginning of december 1999. I have changed just one thing about the config of the box: done away with the daily (etc) checks. These froze it, as I mentioned earlier. -- Marc Schneiders marc@venster.nl marc@oldserver.demon.nl propro 3:22am up 2 days, 5:11, load average: 2.09 2.05 2.02 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message