Date: Sun, 2 Jan 2000 03:37:54 +0100 (CET) From: Marc Schneiders <marc@oldserver.demon.nl> To: Andrew MacIntyre <andymac@bullseye.apana.org.au> Cc: Greg Lehey <grog@lemis.com>, freebsd-questions@FreeBSD.ORG Subject: Re: 4 MB RAM? (long) Message-ID: <Pine.BSF.4.10.10001020322200.69746-100000@propro.oldserver.demon.nl> In-Reply-To: <Pine.OS2.3.95.991231185008.407A-100000@CENTRAL>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10001020322200.69746-100000>